Script started on Fri Nov 7 13:12:37 2003 debian:/usr/src/asterisk# asterisk -r Asterisk CVS-11/06/03-20:41:49, Copyright (C) 1999-2001 Linux Support Services, Inc. Written by Mark Spencer ========================================================================= Connected to Asterisk CVS-11/06/03-20:41:49 currently running on debian (pid = 6097) debian*CLI> sip debug debian*CLI> SIP Debugging Enabled ^Ddebian*CLI> Sip read: 0 headers, 0 lines ^Ddebian*CLI> Sip read: INVITE sip:9@198.70.xx.xxx SIP/2.0 Via: SIP/2.0/UDP 192.168.0.100:3784 From: ;tag=79e18753-fc30-3c47-a078-a50d244c909e To: Contact: Call-ID: d406ea90-5b5d-732a-d171-5de287532a66@192.168.0.100 CSeq: 59077 INVITE User-Agent: Grandstream SIP UA 1.0.3.81 Warning: detected firewall/NAT type is symmetric NAT Max-Forwards: 70 Allow: INVITE, ACK, CANCEL, BYE, NOTIFY, REFER, OPTIONS, INFO, SUBSCRIBE Content-Type: application/sdp Content-Length: 267 v=0 o=17476691035 0 0 IN IP4 192.168.0.100 s=- c=IN IP4 192.168.0.100 t=0 0 m=audio 43060 RTP/AVP 0 4 18 8 15 2 a=ptime:20 a=rtpmap:0 PCMU/8000 a=rtpmap:4 G723/8000 a=rtpmap:18 G729/8000 a=rtpmap:8 PCMA/8000 a=rtpmap:15 G728/8000 a=rtpmap:2 G726-32/8000 13 headers, 13 lines Using latest request as basis request Sending to 192.168.0.100 : 3784 (non-NAT) Found audio format UNKN Found audio format ULAW Found audio format UNKN Found audio format ALAW Found audio format UNKN Found audio format GSM Found description format PCMU Found description format G723 Found description format G729 Found description format PCMA Found description format G728 Found description format G726-32 Capabilities: us - 524302, them - 285/0, combined - 12 Non-codec capabilities: us - 1, them - 0, combined - 0 Reliably Transmitting (NAT): SIP/2.0 407 Proxy Authentication Required Via: SIP/2.0/UDP 192.168.0.100:3784;received=12.210.107.234 From: ;tag=79e18753-fc30-3c47-a078-a50d244c909e To: ;tag=as0aca4f0a Call-ID: d406ea90-5b5d-732a-d171-5de287532a66@192.168.0.100 CSeq: 59077 INVITE User-Agent: Asterisk PBX Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER Contact: Proxy-Authenticate: Digest realm="asterisk", nonce="1c5a072b" Content-Length: 0 to 12.210.107.234:46813 ^Ddebian*CLI> Sip read: ACK sip:9@198.70.xx.xxx SIP/2.0 Via: SIP/2.0/UDP 192.168.0.100:3784 From: ;tag=79e18753-fc30-3c47-a078-a50d244c909e To: ;tag=as0aca4f0a Contact: Call-ID: d406ea90-5b5d-732a-d171-5de287532a66@192.168.0.100 CSeq: 59077 ACK User-Agent: Grandstream SIP UA 1.0.3.81 Warning: detected firewall/NAT type is symmetric NAT Max-Forwards: 70 Allow: INVITE, ACK, CANCEL, BYE, NOTIFY, REFER, OPTIONS, INFO, SUBSCRIBE Content-Length: 0 12 headers, 0 lines ^Ddebian*CLI> Sip read: INVITE sip:9@198.70.xx.xxx SIP/2.0 Via: SIP/2.0/UDP 192.168.0.100:3784 From: ;tag=b365925e-ea50-763a-4037-cd69edb35b7d To: Contact: Proxy-Authorization: DIGEST username="17476691035", realm="asterisk", algorithm=MD5, uri="sip:9@198.70.xx.xxx", nonce="1c5a072b", response="1a8aa5662884572d1d687d05658e6451" Call-ID: d406ea90-5b5d-732a-d171-5de287532a66@192.168.0.100 CSeq: 59078 INVITE User-Agent: Grandstream SIP UA 1.0.3.81 Warning: detected firewall/NAT type is symmetric NAT Max-Forwards: 70 Allow: INVITE, ACK, CANCEL, BYE, NOTIFY, REFER, OPTIONS, INFO, SUBSCRIBE Content-Type: application/sdp Content-Length: 267 v=0 o=17476691035 0 0 IN IP4 192.168.0.100 s=- c=IN IP4 192.168.0.100 t=0 0 m=audio 43060 RTP/AVP 0 4 18 8 15 2 a=ptime:20 a=rtpmap:0 PCMU/8000 a=rtpmap:4 G723/8000 a=rtpmap:18 G729/8000 a=rtpmap:8 PCMA/8000 a=rtpmap:15 G728/8000 a=rtpmap:2 G726-32/8000 14 headers, 13 lines Using latest request as basis request Sending to 192.168.0.100 : 3784 (NAT) Found audio format UNKN Found audio format ULAW Found audio format UNKN Found audio format ALAW Found audio format UNKN Found audio format GSM Found description format PCMU Found description format G723 Found description format G729 Found description format PCMA Found description format G728 Found description format G726-32 Capabilities: us - 524302, them - 285/0, combined - 12 Non-codec capabilities: us - 1, them - 0, combined - 0 Looking for 9 in default list_route: hop: Transmitting (NAT): SIP/2.0 100 Trying Via: SIP/2.0/UDP 192.168.0.100:3784;received=12.210.107.234 From: ;tag=b365925e-ea50-763a-4037-cd69edb35b7d To: ;tag=as6e000233 Call-ID: d406ea90-5b5d-732a-d171-5de287532a66@192.168.0.100 CSeq: 59078 INVITE User-Agent: Asterisk PBX Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER Contact: Content-Length: 0 to 12.210.107.234:46813 ^Ddebian*CLI> We're at 198.70.xx.xxx port 22912 Answering with capability 2 Answering with capability 4 Answering with capability 8 Reliably Transmitting (NAT): SIP/2.0 200 OK Via: SIP/2.0/UDP 192.168.0.100:3784;received=12.210.107.234 From: ;tag=b365925e-ea50-763a-4037-cd69edb35b7d To: ;tag=as6e000233 Call-ID: d406ea90-5b5d-732a-d171-5de287532a66@192.168.0.100 CSeq: 59078 INVITE User-Agent: Asterisk PBX Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER Contact: Content-Type: application/sdp Content-Length: 180 v=0 o=root 6115 6115 IN IP4 198.70.xx.xxx s=session c=IN IP4 198.70.xx.xxx t=0 0 m=audio 22912 RTP/AVP 3 0 8 a=rtpmap:3 GSM/8000 a=rtpmap:0 PCMU/8000 a=rtpmap:8 PCMA/8000 to 12.210.107.234:46813 ^Ddebian*CLI> Retransmitting #1 (NAT): SIP/2.0 200 OK Via: SIP/2.0/UDP 192.168.0.100:3784;received=12.210.107.234 From: ;tag=b365925e-ea50-763a-4037-cd69edb35b7d To: ;tag=as6e000233 Call-ID: d406ea90-5b5d-732a-d171-5de287532a66@192.168.0.100 CSeq: 59078 INVITE User-Agent: Asterisk PBX Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER Contact: Content-Type: application/sdp Content-Length: 180 v=0 o=root 6115 6115 IN IP4 198.70.xx.xxx s^Ddebian*CLI> =session c=IN IP4 198.70.xx.xxx t=0 0 m=audio 22912 RTP/AVP 3 0 8 a=rtpmap:3 GSM/8000 a=rtpmap:0 PCMU/8000 a=rtpmap:8 PCMA/8000 to 12.210.107.234:46813 ^Ddebian*CLI> Retransmitting #2 (NAT): SIP/2.0 200 OK Via: SIP/2.0/UDP 192.168.0.100:3784;received=12.210.107.234 From: ;tag=b365925e-ea50-763a-4037-cd69edb35b7d To: ;tag=as6e000233 Call-ID: d406ea90-5b5d-732a-d171-5de287532a66@192.168.0.100 CSeq: 59078 INVITE User-Agent: Asterisk PBX Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER Contact: Content-Type: application/sdp Content-Length: 180 v=0 o=root 6115 6115 IN IP4 198.70.xx.xxx s^Ddebian*CLI> =session c=IN IP4 198.70.xx.xxx t=0 0 m=audio 22912 RTP/AVP 3 0 8 a=rtpmap:3 GSM/8000 a=rtpmap:0 PCMU/8000 a=rtpmap:8 PCMA/8000 to 12.210.107.234:46813 ^Ddebian*CLI> Retransmitting #3 (NAT): SIP/2.0 200 OK Via: SIP/2.0/UDP 192.168.0.100:3784;received=12.210.107.234 From: ;tag=b365925e-ea50-763a-4037-cd69edb35b7d To: ;tag=as6e000233 Call-ID: d406ea90-5b5d-732a-d171-5de287532a66@192.168.0.100 CSeq: 59078 INVITE User-Agent: Asterisk PBX Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER Contact: Content-Type: application/sdp Content-Length: 180 v=0 o=root 6115 6115 IN IP4 198.70.xx.xxx s^Ddebian*CLI> =session c=IN IP4 198.70.xx.xxx t=0 0 m=audio 22912 RTP/AVP 3 0 8 a=rtpmap:3 GSM/8000 a=rtpmap:0 PCMU/8000 a=rtpmap:8 PCMA/8000 to 12.210.107.234:46813 ^Ddebian*CLI> Retransmitting #4 (NAT): SIP/2.0 200 OK Via: SIP/2.0/UDP 192.168.0.100:3784;received=12.210.107.234 From: ;tag=b365925e-ea50-763a-4037-cd69edb35b7d To: ;tag=as6e000233 Call-ID: d406ea90-5b5d-732a-d171-5de287532a66@192.168.0.100 CSeq: 59078 INVITE User-Agent: Asterisk PBX Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER Contact: Content-Type: application/sdp Content-Length: 180 v=0 o=root 6115 6115 IN IP4 198.70.xx.xxx s^Ddebian*CLI> =session c=IN IP4 198.70.xx.xxx t=0 0 m=audio 22912 RTP/AVP 3 0 8 a=rtpmap:3 GSM/8000 a=rtpmap:0 PCMU/8000 a=rtpmap:8 PCMA/8000 to 12.210.107.234:46813 ^Ddebian*CLI> Retransmitting #5 (NAT): SIP/2.0 200 OK Via: SIP/2.0/UDP 192.168.0.100:3784;received=12.210.107.234 From: ;tag=b365925e-ea50-763a-4037-cd69edb35b7d To: ;tag=as6e000233 Call-ID: d406ea90-5b5d-732a-d171-5de287532a66@192.168.0.100 CSeq: 59078 INVITE User-Agent: Asterisk PBX Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER Contact: Content-Type: application/sdp Content-Length: 180 v=0 o=root 6115 6115 IN IP4 198.70.xx.xxx s^Ddebian*CLI> =session c=IN IP4 198.70.xx.xxx t=0 0 m=audio 22912 RTP/AVP 3 0 8 a=rtpmap:3 GSM/8000 a=rtpmap:0 PCMU/8000 a=rtpmap:8 PCMA/8000 to 12.210.107.234:46813 ^Ddebian*CLI> set_destination: Parsing for address/port to send to set_destination: set destination to 192.168.0.100, port 3784 Reliably Transmitting: BYE sip:17476691035@192.168.0.100:3784 SIP/2.0 Via: SIP/2.0/UDP 198.70.xx.xxx:5060;branch=z9hG4bK45c862da From: ;tag=as6e000233 To: ;tag=b365925e-ea50-763a-4037-cd69edb35b7d Contact: Call-ID: d406ea90-5b5d-732a-d171-5de287532a66@192.168.0.100 CSeq: 102 BYE User-Agent: Asterisk PBX Content-Length: 0 (NAT) to 12.210.107.234:46813 ^Ddebian*CLI> Sip read: SIP/2.0 200 OK Via: SIP/2.0/UDP 198.70.xx.xxx:5060;branch=z9hG4bK45c862da From: ;tag=as6e000233 To: ;tag=b365925e-ea50-763a-4037-cd69edb35b7d Call-ID: d406ea90-5b5d-732a-d171-5de287532a66@192.168.0.100 CSeq: 102 BYE User-Agent: Grandstream SIP UA 1.0.3.81 Contact: Allow: INVITE, ACK, CANCEL, BYE, NOTIFY, REFER, OPTIONS, INFO, SUBSCRIBE Content-Length: 0 10 headers, 0 lines Message is BYE ^Ddebian*CLI> Sip read: CANCEL sip:9@198.70.xx.xxx SIP/2.0 Via: SIP/2.0/UDP 192.168.0.100:3784 From: ;tag=f57ee4b0-cc51-0d24-96b8-b1f8e5573b0e To: Contact: Proxy-Authorization: DIGEST username="17476691035", realm="asterisk", algorithm=MD5, uri="sip:9@198.70.xx.xxx", nonce="666a5abd", response="b00c8432e4ac1f492a815a29ebc4394f" Call-ID: fc0ceff2-6786-eb9f-44b2-919e068c99d0@192.168.0.100 CSeq: 12978 CANCEL User-Agent: Grandstream SIP UA 1.0.3.81 Warning: detected firewall/NAT type is symmetric NAT Max-Forwards: 70 Allow: INVITE, ACK, CANCEL, BYE, NOTIFY, REFER, OPTIONS, INFO, SUBSCRIBE Content-Length: 0 13 headers, 0 lines Sending to 192.168.0.100 : 3784 (non-NAT) Transmitting (no NAT): SIP/2.0 200 OK Via: SIP/2.0/UDP 192.168.0.100:3784 From: ;tag=f57ee4b0-cc51-0d24-96b8-b1f8e5573b0e To: ;tag=as36b475c1 Call-ID: fc0ceff2-6786-eb9f-44b2-919e068c99d0@192.168.0.100 CSeq: 12978 CANCEL User-Agent: Asterisk PBX Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER Contact: Content-Length: 0 to 192.168.0.100:3784 ^Ddebian*CLI> Sip read: 0 headers, 0 lines ^Ddebian*CLI> sip no debug debian*CLI> SIP Debugging Disabled ^Ddebian*CLI> quit debian:/usr/src/asterisk# exit Script done on Fri Nov 7 13:13:23 2003