I need your help. I am a beginner with SIP. I have been struggling this issue for more than two days 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. All I have tried all kinds of setting combinations includes my router setting.
I am using X-lite 4.0 for mac
Asterisk 188.8.131.52 on a Linux box with a static IP.
My router is NETGEAR WNR2000
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 WARNING12552: chan_sip.c:3527 retrans_pkt: Retransmission timeout reached on transmission MjJjZDQyNmJjYzc2YWMxNWQ3OWVhZTY0NjM5MjMyYmM. for seqno 2 (Critical Response) — See wiki.asterisk.org/wiki/display/ … nsmissions
Packet timed out after 32000ms with no response
Aug 2 15:28:15 WARNING12552: chan_sip.c:3556 retrans_pkt: Hanging up call MjJjZDQyNmJjYzc2YWMxNWQ3OWVhZTY0NjM5MjMyYmM. - no reply to our critical packet (see wiki.asterisk.org/wiki/display/ … nsmissions).
== 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@example.com:34586 for address/port to send to
set_destination: set destination to 184.108.40.206:34586
Reliably Transmitting (NAT) to 220.127.116.11:34586:
BYE sip:firstname.lastname@example.org:34586 SIP/2.0