Charles Wang
2007-May-16 22:47 UTC
[asterisk-users] NO ANSWER, When openser make an oubound SIP call to my asterisk
Hi all, I try to make a call from my Openser(SIP Proxy) to the asterisk in different machine. I use my asterisk as a trunking gateway. I can make a call from my openser to some trunking gateway such as my cisco 5300 or welltech 5250. In the same method, I try to make a call to asterisk ( sip listen on udp 5060 ) I use ngrep on my asterisk machine and list as below. But I can't find any sip debug in my asterisk CLI. Does anybody kind to help me to solve it or give me some tips please? Best regards, Charles ################# my asterisk CLI ######################## [root@asterisk ~]# asterisk -rvvvvvvvvvvvvvv == Parsing '/etc/asterisk/asterisk.conf': Found == Parsing '/etc/asterisk/extconfig.conf': Found == Binding iaxusers to mysql/asterisk/iaxfriends == Binding iaxpeers to mysql/asterisk/iaxfriends == Binding queues to mysql/asterisk/queue_table == Binding queue_members to mysql/asterisk/queue_member_table Asterisk 1.2.16, Copyright (C) 1999 - 2006 Digium, Inc. and others. Created by Mark Spencer <markster@digium.com> Asterisk comes with ABSOLUTELY NO WARRANTY; type 'show warranty' for details. This is free software, with components licensed under the GNU General Public License version 2 and other licenses; you are welcome to redistribute it under certain conditions. Type 'show license' for details. ========================================================================Connected to Asterisk 1.2.16 currently running on asterisk (pid = 26311) Verbosity is at least 14 -- Remote UNIX connection asterisk*CLI> sip debug SIP Debugging re-enabled asterisk*CLI> ######### my command running on asterisk machine: "ngrep -t -W byline -d any port 5060" #################### interface: any filter: (ip) and ( port 5060 ) # U 2007/05/17 13:31:35.908163 my.openser.ip.addr:5060 -> my.asterisk.ip.addr :5060 INVITE sip:03939749001@my.asterisk.ip.addr:5060;transport=udp SIP/2.0. Record-Route: <sip:my.openser.ip.addr;lr;ftag=3840196923;nat=yes>. Via: SIP/2.0/UDP my.openser.ip.addr;branch=z9hG4bKab01.ae06a6e5.0. Via: SIP/2.0/UDP 192.168.11.9:57536;received=61.217.xxx.xxx ;rport=57536;branch=z9hG4bK834BA777F3C7439EBBC7C4DAECC52FD4. From: 101 <sip:101@my.openser.domain.name>;tag=3840196923. To: <sip:0028863939749001@my.openser.domain.name>. Contact: <sip:101@61.217.xxx.xxx:57536>. Call-ID: 18875244-8D15-416B-92B7-DD24DA4630E2@192.168.11.9. CSeq: 4807 INVITE. Max-Forwards: 69. Content-Type: application/sdp. User-Agent: X-LITE build 1082. Content-Length: 321. . v=0. o=101 45727796 45727796 IN IP4 192.168.11.9. s=X-LITE. c=IN IP4 my.openser.ip.addr. t=0 0. m=audio 35066 RTP/AVP 0 8 3 18 98 97 101. a=rtpmap:0 pcmu/8000. a=rtpmap:8 pcma/8000. a=rtpmap:3 gsm/8000. a=rtpmap:18 G729/8000. a=rtpmap:98 iLBC/8000. a=rtpmap:97 speex/8000. a=rtpmap:101 telephone-event/8000. a=fmtp:101 0-15. # U 2007/05/17 13:31:36.325713 my.openser.ip.addr:5060 -> my.asterisk.ip.addr :5060 INVITE sip:03939749001@my.asterisk.ip.addr:5060;transport=udp SIP/2.0. Record-Route: <sip:my.openser.ip.addr;lr;ftag=3840196923;nat=yes>. Via: SIP/2.0/UDP my.openser.ip.addr;branch=z9hG4bKab01.ae06a6e5.0. Via: SIP/2.0/UDP 192.168.11.9:57536;received=61.217.xxx.xxx ;rport=57536;branch=z9hG4bK834BA777F3C7439EBBC7C4DAECC52FD4. From: 101 <sip:101@my.openser.domain.name>;tag=3840196923. To: <sip:0028863939749001@my.openser.domain.name>. Contact: <sip:101@61.217.xxx.xxx:57536>. Call-ID: 18875244-8D15-416B-92B7-DD24DA4630E2@192.168.11.9. CSeq: 4807 INVITE. Max-Forwards: 69. Content-Type: application/sdp. User-Agent: X-LITE build 1082. Content-Length: 321. . v=0. o=101 45727796 45727796 IN IP4 192.168.11.9. s=X-LITE. c=IN IP4 my.openser.ip.addr. t=0 0. m=audio 35066 RTP/AVP 0 8 3 18 98 97 101. a=rtpmap:0 pcmu/8000. a=rtpmap:8 pcma/8000. a=rtpmap:3 gsm/8000. a=rtpmap:18 G729/8000. a=rtpmap:98 iLBC/8000. a=rtpmap:97 speex/8000. a=rtpmap:101 telephone-event/8000. a=fmtp:101 0-15. # U 2007/05/17 13:31:37.325722 my.openser.ip.addr:5060 -> my.asterisk.ip.addr :5060 INVITE sip:03939749001@my.asterisk.ip.addr:5060;transport=udp SIP/2.0. Record-Route: <sip:my.openser.ip.addr;lr;ftag=3840196923;nat=yes>. Via: SIP/2.0/UDP my.openser.ip.addr;branch=z9hG4bKab01.ae06a6e5.0. Via: SIP/2.0/UDP 192.168.11.9:57536;received=61.217.xxx.xxx ;rport=57536;branch=z9hG4bK834BA777F3C7439EBBC7C4DAECC52FD4. From: 101 <sip:101@my.openser.domain.name>;tag=3840196923. To: <sip:0028863939749001@my.openser.domain.name>. Contact: <sip:101@61.217.xxx.xxx:57536>. Call-ID: 18875244-8D15-416B-92B7-DD24DA4630E2@192.168.11.9. CSeq: 4807 INVITE. Max-Forwards: 69. Content-Type: application/sdp. User-Agent: X-LITE build 1082. Content-Length: 321. . v=0. o=101 45727796 45727796 IN IP4 192.168.11.9. s=X-LITE. c=IN IP4 my.openser.ip.addr. t=0 0. m=audio 35066 RTP/AVP 0 8 3 18 98 97 101. a=rtpmap:0 pcmu/8000. a=rtpmap:8 pcma/8000. a=rtpmap:3 gsm/8000. a=rtpmap:18 G729/8000. a=rtpmap:98 iLBC/8000. a=rtpmap:97 speex/8000. a=rtpmap:101 telephone-event/8000. a=fmtp:101 0-15. # U 2007/05/17 13:31:39.325425 my.openser.ip.addr:5060 -> my.asterisk.ip.addr :5060 INVITE sip:03939749001@my.asterisk.ip.addr:5060;transport=udp SIP/2.0. Record-Route: <sip:my.openser.ip.addr;lr;ftag=3840196923;nat=yes>. Via: SIP/2.0/UDP my.openser.ip.addr;branch=z9hG4bKab01.ae06a6e5.0. Via: SIP/2.0/UDP 192.168.11.9:57536;received=61.217.xxx.xxx ;rport=57536;branch=z9hG4bK834BA777F3C7439EBBC7C4DAECC52FD4. From: 101 <sip:101@my.openser.domain.name>;tag=3840196923. To: <sip:0028863939749001@my.openser.domain.name>. Contact: <sip:101@61.217.xxx.xxx:57536>. Call-ID: 18875244-8D15-416B-92B7-DD24DA4630E2@192.168.11.9. CSeq: 4807 INVITE. Max-Forwards: 69. Content-Type: application/sdp. User-Agent: X-LITE build 1082. Content-Length: 321. . v=0. o=101 45727796 45727796 IN IP4 192.168.11.9. s=X-LITE. c=IN IP4 my.openser.ip.addr. t=0 0. m=audio 35066 RTP/AVP 0 8 3 18 98 97 101. a=rtpmap:0 pcmu/8000. a=rtpmap:8 pcma/8000. a=rtpmap:3 gsm/8000. a=rtpmap:18 G729/8000. a=rtpmap:98 iLBC/8000. a=rtpmap:97 speex/8000. a=rtpmap:101 telephone-event/8000. a=fmtp:101 0-15. -- Best Regards Charles -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20070516/954bc1a8/attachment.htm