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