echotest with Asterisk + x-lite

phone999
Joined: Tue 02 of Aug, 2011

echotest with Asterisk + x-lite

Posted:Tue 02 of Aug, 2011 (19:46 UTC)
Hello everybody

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 1.8.5.0 on a Linux box with a static IP.

Please help

Thanks
-Joe


Here is my Asterisk setting
==sip.conf==
[6787392656]
type=friend
username=6787392656
secret=994
nat=yes
dtmfmode=rfc2833
callerid="" <9990002>
host=dynamic
canreinvite=no
context=test_connection


==extensions.conf=
[test_connection]
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
Domain: 74.50.105.133
Password:994
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[12552]: 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[12552]: 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:6787392656@69.114.155.43:34586> for address/port to send to
set_destination: set destination to 69.114.155.43:34586
Reliably Transmitting (NAT) to 69.114.155.43:34586:
BYE sip:6787392656@69.114.155.43:34586 SIP/2.0