I need your help. I am a beginner with SIP. I have been struggling this issue for more than a day and still could not solve it.
What I am doing is very simple to get echotest work with x-lite and asterisk. My x-lite can connect to asterisk server and I can hear the echo. But after about 32 seconds, the connection got disconnected. And I got a warning message said "no reply to our critical packet", please see below.
It seems to me there is some wrong with my config. But I just couldn't figure it out.
I am using X-lite 4.0 for mac
Asterisk 220.127.116.11 on a Linux box with a static IP.
Here is my Asterisk setting
exten => _X.,1,Answer()
exten => _X.,n,Playback(demo-echotest)
exten => _X.,n,Echo()
exten => _X.,n,Playback(demo-echodone)
exten => _X.,n,Hangup()
I am using x-lite 4.0 for mac.
=setting of x-lite
User ID: 6787392656
Display Name: phone999
Authorization name:(leave blank)
Register with domain and receive calls – checked
Domain – selected
Everything else uses default value
===Some message from asterisk -r command
[Aug 2 15:28:15] WARNING: chan_sip.c:3527 retrans_pkt: Retransmission timeout reached on transmission MjJjZDQyNmJjYzc2YWMxNWQ3OWVhZTY0NjM5MjMyYmM. for seqno 2 (Critical Response) -- See https://wiki.asterisk.org/wiki/display/AST/SIP+Retransmissions
Packet timed out after 32000ms with no response
[Aug 2 15:28:15] WARNING: chan_sip.c:3556 retrans_pkt: Hanging up call MjJjZDQyNmJjYzc2YWMxNWQ3OWVhZTY0NjM5MjMyYmM. - no reply to our critical packet (see https://wiki.asterisk.org/wiki/display/AST/SIP+Retransmissions).
== Spawn extension (test_connection, 1234, 3) exited non-zero on 'SIP/6787392656-0000039b'
Scheduling destruction of SIP dialog 'MjJjZDQyNmJjYzc2YWMxNWQ3OWVhZTY0NjM5MjMyYmM.' in 32000 ms (Method: INVITE)
set_destination: Parsing <sip:[email protected]:34586> for address/port to send to
set_destination: set destination to 18.104.22.168:34586
Reliably Transmitting (NAT) to 22.214.171.124:34586:
BYE sip:[email protected]:34586 SIP/2.0