Hi all, I try to make a call from my Openser 1.2.0 (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. In the message on my openser, I can see as below: openser[16801]: route[11] Base Outbound - M=INVITE RURI= sip:[EMAIL PROTECTED]:5060;transport=udp F= sip:[EMAIL PROTECTED] T=sip:[EMAIL PROTECTED] IP= 61.217.xxx.xxx [EMAIL PROTECTED] But the To URI is still [EMAIL PROTECTED] not [EMAIL PROTECTED] Is it correct? Does anybody kind to help me to solve it or give me some tips please? Best regards, Charles ##################### message on my Openser ################################# openser[16802]: New request - M=INVITE RURI= sip:[EMAIL PROTECTED] F=sip:[EMAIL PROTECTED] T= sip:[EMAIL PROTECTED] IP=61.217.xxx.xxx [EMAIL PROTECTED] openser[16802]: route[12] Base Route Invite - M=INVITE RURI= sip:[EMAIL PROTECTED] F=sip:[EMAIL PROTECTED] T= sip:[EMAIL PROTECTED] IP=61.217.xxx.xxx [EMAIL PROTECTED] openser[16802]: Proxy authentication failed - M=INVITE RURI= sip:[EMAIL PROTECTED] F=sip:[EMAIL PROTECTED] T= sip:[EMAIL PROTECTED] IP=61.217.xxx.xxx [EMAIL PROTECTED] openser[16801]: New request - M=INVITE RURI= sip:[EMAIL PROTECTED] F=sip:[EMAIL PROTECTED] T= sip:[EMAIL PROTECTED] IP=61.217.xxx.xxx [EMAIL PROTECTED] openser[16801]: route[12] Base Route Invite - M=INVITE RURI= sip:[EMAIL PROTECTED] F=sip:[EMAIL PROTECTED] T= sip:[EMAIL PROTECTED] IP=61.217.xxx.xxx [EMAIL PROTECTED] openser[16801]: route[3] Usr Preferences Caller - M=INVITE RURI= sip:[EMAIL PROTECTED] F=sip:[EMAIL PROTECTED] T= sip:[EMAIL PROTECTED] IP=61.217.xxx.xxx [EMAIL PROTECTED] openser[16801]: route[1] Clear Usr Preferences Caller - M=INVITE RURI= sip:[EMAIL PROTECTED] F=sip:[EMAIL PROTECTED] T= sip:[EMAIL PROTECTED] IP=61.217.xxx.xxx [EMAIL PROTECTED] openser[16801]: Clear caller preferences - M=INVITE RURI= sip:[EMAIL PROTECTED] F=sip:[EMAIL PROTECTED] T= sip:[EMAIL PROTECTED] IP=61.217.xxx.xxx [EMAIL PROTECTED] openser[16801]: Load caller preferences for uuid '1' - M=INVITE RURI= sip:[EMAIL PROTECTED] F=sip:[EMAIL PROTECTED] T= sip:[EMAIL PROTECTED] IP=61.217.xxx.xxx [EMAIL PROTECTED] openser[16801]: route[13] Invite Find Callee - M=INVITE RURI= sip:[EMAIL PROTECTED] F=sip:[EMAIL PROTECTED] T= sip:[EMAIL PROTECTED] IP=61.217.xxx.xxx [EMAIL PROTECTED] openser[16801]: route[2] Clear Usr Preferences Callee - M=INVITE RURI= sip:[EMAIL PROTECTED] F=sip:[EMAIL PROTECTED] T= sip:[EMAIL PROTECTED] IP=61.217.xxx.xxx [EMAIL PROTECTED] openser[16801]: Clear callee preferences - M=INVITE RURI= sip:[EMAIL PROTECTED] F=sip:[EMAIL PROTECTED] T= sip:[EMAIL PROTECTED] IP=61.217.xxx.xxx [EMAIL PROTECTED] openser[16801]: Callee is not local - M=INVITE RURI= sip:[EMAIL PROTECTED] F=sip:[EMAIL PROTECTED] T= sip:[EMAIL PROTECTED] IP=61.217.xxx.xxx [EMAIL PROTECTED] openser[16801]: route[15] Invite To External - M=INVITE RURI= sip:[EMAIL PROTECTED] F=sip:[EMAIL PROTECTED] T= sip:[EMAIL PROTECTED] IP=61.217.xxx.xxx [EMAIL PROTECTED] openser[16801]: Loading PSTN gateways - M=INVITE RURI= sip:[EMAIL PROTECTED] F=sip:[EMAIL PROTECTED] T= sip:[EMAIL PROTECTED] IP=61.217.xxx.xxx [EMAIL PROTECTED] openser[16801]: route[11] Base Outbound - M=INVITE RURI= sip:[EMAIL PROTECTED]:5060;transport=udp F= sip:[EMAIL PROTECTED] T=sip:[EMAIL PROTECTED] IP= 61.217.xxx.xxx [EMAIL PROTECTED] openser[16801]: route[8] Clir - M=INVITE RURI= sip:[EMAIL PROTECTED]:5060;transport=udp F= sip:[EMAIL PROTECTED] T=sip:[EMAIL PROTECTED] IP= 61.217.xxx.xxx [EMAIL PROTECTED] localhost mediaproxy[1905]: command request [EMAIL PROTECTED] 192.168.11.9:57538:audio 61.217.xxx.xxx openser.domain.name local asterisk.ip.addr remote X-PRO=20build=201082 info=from:[EMAIL PROTECTED], to:[EMAIL PROTECTED],fromtag:1111281943,totag: localhost mediaproxy[1905]: session [EMAIL PROTECTED]: started. listening on 60.250.132.204:35076 localhost mediaproxy[1905]: command execution time: 3.04 ms openser[16801]: Request leaving server - M=INVITE RURI= sip:[EMAIL PROTECTED]:5060;transport=udp F= sip:[EMAIL PROTECTED] T=sip:[EMAIL PROTECTED] IP= 61.217.xxx.xxx [EMAIL PROTECTED] ################# my asterisk CLI ######################## [EMAIL PROTECTED] ~]# 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 <[EMAIL PROTECTED]> 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:[EMAIL PROTECTED]: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:[EMAIL PROTECTED]>;tag=3840196923. To: < sip:[EMAIL PROTECTED]>. Contact: <sip:[EMAIL PROTECTED]:57536>. Call-ID: [EMAIL PROTECTED] . 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:[EMAIL PROTECTED]: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:[EMAIL PROTECTED]>;tag=3840196923. To: <sip:[EMAIL PROTECTED] >. Contact: <sip:[EMAIL PROTECTED]:57536>. Call-ID: [EMAIL PROTECTED] 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:[EMAIL PROTECTED]: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:[EMAIL PROTECTED]>;tag=3840196923. To: <sip:[EMAIL PROTECTED] >. Contact: <sip:[EMAIL PROTECTED]:57536>. Call-ID: [EMAIL PROTECTED] 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:[EMAIL PROTECTED]: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:[EMAIL PROTECTED]>;tag=3840196923. To: <sip:[EMAIL PROTECTED] >. Contact: <sip:[EMAIL PROTECTED]:57536>. Call-ID: [EMAIL PROTECTED] 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 -- Best Regards Charles
_______________________________________________ Users mailing list [email protected] http://openser.org/cgi-bin/mailman/listinfo/users
