Dear All,<br><br>Platform:<br>- Opensip 1.4.5<br>- RTPPROXY: 1.2.0<br>- MySQL: 5.0<br>- Asterisk 1.4.24<br><br>Asterisk acts as a VoiceMail system when Users on Opensips Do Not answer or Busy, so call will route to Asterisk to leave Voicemail.<br>
Voicemail system works properly.<br><br>The problem is: "When call route out of Opensips Server to Asterisk, Request URI use IP of Opensips to request Asterisk". <br><br>So, Asterisk will return to wrong IP of UA Client, and of course, no voice from Asterisk to UA Client.<br>
<br>Expected Results:1. "I want to use 1000@IP_OF_UACLient to request Asterisk for leave voicemail?" or "If it uses 1000@IP_OF_OPENSIPS to request Asterisk for Voicemail, UA Client should hear Voice".<br>
<br>Bellow is my Configuration Files and Log File of OpenSIPs.<br><br>Thanks and Regards,<br>-LN<br><br>===========CONFIGURATION============<br>#04072009<br>#tm timeout for voicemail params<br>modparam("tm", "fr_timer", 3)<br>
modparam("tm", "fr_inv_timer", 20)<br><br>####### Routing Logic ########<br>#Follow: <a href="http://www.mail-archive.com/users@openser.org/msg01991.html">http://www.mail-archive.com/users@openser.org/msg01991.html</a> && ser.cfg<br>
route {<br> log(1, "----------------------------------------------------------------------------------");<br> log(1, "HTK: ENTER MAIN LOOP\n");<br> log(1, "----------------------------------------------------------------------------------");<br>
#---------<br> #Sanity Check<br> #-------------<br> if (!mf_process_maxfwd_header("10")) {<br> sl_send_reply("483","Too Many Hops");<br> exit;<br> };<br> if ( msg:len >= max_len ) {<br>
sl_send_reply("513", "Message too big");<br> exit;<br> }<br> <br> #--------------------------------------<br> #Record-Route all messages <br> #-- to make sure subsequent messages will go through our proxy<br>
#--------------------------------------<br> if (method!="REGISTER") {<br> record_route();<br> }<br> #-------------------------------<br> # Loose-Route<br> #-------------------------------<br>
if (loose_route()) {<br> append_hf("P-hint: HTK: rr-enforced\r\n");<br> route(1);<br> exit;<br> }<br> #--------------------------------<br> # uri != myself<br> #--------------------------------------<br>
if (uri!=myself) {<br> append_hf("P-hint: HTK: Outbound\r\n");<br> route(1); #NATHELPER<br> exit;<br> }<br> #----------------------------------<br> # uri==myself<br> #--------------------------------<br>
if (uri==myself) {<br> if (method=="REGISTER") {<br> if (nat_uac_test("19")) {<br> setbflag(6);<br> force_rport();<br> fix_nated_register();<br>
<br> }<br> sl_send_reply("100", "HTK: Trying\r\n");<br> #AUTHENTICATE<br> if(!www_authorize("OPENSIPSIP", "subscriber")) {<br>
www_challenge("OPENSIPSIP", "0");<br> exit;<br> }<br> consume_credentials();<br> <br> save("location");<br> exit;<br>
<br> }<br> lookup("aliases");<br> #if (is_user_in("Request-URI", "voicemail")) {<br> # log(1, "HTK: callee user is in Voicemail Group ...\r\n");<br>
# setbflag(4);<br> #}<br><br> if (!lookup("location")) { <br> # if(isflagset(2)) {<br> # # route to Asterisk Media Server<br> # rewritehostport("ASTERISKIP:5060");<br>
# route(1);<br> # } <br> route(2);<br> exit;<br> }<br> <br> } #End uri==myself<br> <br> #<br> #<br> #<br> if (method=="INVITE") {<br>
t_on_failure("1");<br> } else if (method=="BYE" || method=="CANCEL") {<br> unforce_rtp_proxy();<br> }<br> <br> #---------------------------------------------------------------------<br>
# LOOSE_ROUTE - INVITE - FORCE_RTP_PROXY<br> #-----------------------------------------------------------------------<br> if (loose_route()) {<br> if (method=="INVITE" || method=="ACK") {<br>
append_hf("P-hint: HTK - LOOSE ROUTE - Relay re-INVITE + FORCE_RTP_PROXY\r\n");<br> force_rtp_proxy();<br> }<br> # t-relay()<br> t_relay();<br> exit;<br> }<br>
<br> #-----------------------------------------------------------------------<br> #NAT - fix_nated_contact()<br> #------------------------------------------------------------------------<br> if (nat_uac_test("19") && !search("^Record-Route:")) {<br>
append_hf("P-hint: HTK: Fix nated contact\r\n");<br> force_rport();<br> fix_nated_contact();<br> }<br> <br> if (method=="INVITE") {<br> append_hf("P-hint: HTK: INVITE go to on_reply_route[1]\r\n");<br>
t_on_reply("1");<br> }<br> <br> if (method=="INVITE" || method=="ACK") {<br> append_hf("P-hint: INVITE||ACK + FORCE_RTP_PROXY\r\n");<br> force_rtp_proxy();<br>
}<br> <br> if (!t_relay()) {<br> append_hf("P-hint: INVITE||ACK - UNFORCE_RTP_PROXY\r\n");<br> if (method=="INVITE" || method=="ACK") {<br> unforce_rtp_proxy();<br>
}<br> sl_reply_error();<br> }<br> <br> #04072009<br> #if(is_method("INVITE") && !has_totag() && uri=~"sip:\*9") {<br> # append_hf("P-hint: HTK: Dial to listening to VM ... \r\n"); <br>
# route(2);<br> # exit;<br> #}<br> #End 04072009<br> <br><br> append_hf("P-hint: HTK: usrloc applied\r\n");<br> <br><br>}<br><br>route[1] {<br> append_hf("P-hint: Route[1] Processing\r\n");<br>
<br> #04082009<br> if (method=="INVITE") {<br> t_on_failure("1");<br> }<br> #04082009<br> <br> if (!t_relay()) {<br> sl_reply_error();<br> }<br>}<br><br>onreply_route[1] {<br>
append_hf("P-hint: HTK: On_reply_route[1] processing\r\n");<br> if (status=~"(180)|(183)|2[0-9][0-9]") {<br> if (nat_uac_test("1")) {<br> fix_nated_contact();<br> }<br>
force_rtp_proxy();<br> }<br>}<br><br>#-------------------------------<br># Route 2 use to handle Unavailable user<br>#------------------------------<br>route[2] {<br> if (!isbflagset(4) && method!="OPTIONS" && method!="ACK" && method!="BYE") {<br>
sl_send_reply("404", "HTK - no Voicemail Turn on ... \r\n");<br> exit;<br> }<br> #forward to VoiceMail<br> rewritehostport("ASTERISKIP:5060");<br> route(1);<br>}<br>
failure_route[1] {<br> unforce_rtp_proxy();<br> #No Answer<br> if (t_check_status("408")) { <br> append_hf("P-hint: HTK - 408 and route to VM ... \r\n");<br> revert_uri();<br> $ru = $avp(i:10);<br>
rewritehostport("ASTERISKIP:5060");<br> xlog("HTK: Ruri=$ru\n");<br> append_branch();<br> log(1, "HTK: CALL TO VOICEMAIL ...");<br> t_relay();<br> #route(1);<br>
exit; <br> #Busy <br> } else if (t_check_status("486")) { <br> append_hf("P-hint: HTK - 486 and route to VM ... \r\n");<br> revert_uri();<br> $ru = $avp(i:10);<br>
rewritehostport("ASTERISKIP:5060");<br> append_branch();<br> t_relay();<br> #route(1);<br> exit;<br> }<br>}<br><br>===============LOGFILE OF OPENSIPS===============<br>interface: eth0 (<a href="http://174.132.45.16/255.255.255.248">174.132.45.16/255.255.255.248</a>)<br>
filter: (ip) and ( port 5060 )<br><br>U <a href="http://118.69.139.66:21538">118.69.139.66:21538</a> -> OPENSIPS_IP:5060<br>INVITE sip:3000@OPENSIPS_IP SIP/2.0.<br>Via: SIP/2.0/UDP 192.168.1.150:38192;branch=z9hG4bK-d8754z-7824577bf642b972-1---d8754z-;rport.<br>
Max-Forwards: 70.<br>Contact: <<a href="http://sip:6000@118.69.139.66:21538">sip:6000@118.69.139.66:21538</a>>.<br>To: "3000"<sip:3000@OPENSIPS_IP>.<br>From: "6000"<sip:6000@OPENSIPS_IP>;tag=4d457d11.<br>
Call-ID: MGYxMWViNzg0YzAwN2Y0YTBhYWQ2MjkwZDcxZTFiN2Q..<br>CSeq: 1 INVITE.<br>Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, NOTIFY, MESSAGE, SUBSCRIBE, INFO.<br>Content-Type: application/sdp.<br>User-Agent: X-Lite release 1100l stamp 47546.<br>
Content-Length: 425.<br>.<br>v=0.<br>o=- 6 2 IN IP4 192.168.1.150.<br>s=CounterPath X-Lite 3.0.<br>c=IN IP4 192.168.1.150.<br>t=0 0.<br>m=audio 48192 RTP/AVP 107 119 100 106 0 105 98 8 3 101.<br>a=alt:1 1 : gbVHmzwd FPodLTLD 192.168.1.150 48192.<br>
a=fmtp:101 0-15.<br>a=rtpmap:107 BV32/16000.<br>a=rtpmap:119 BV32-FEC/16000.<br>a=rtpmap:100 SPEEX/16000.<br>a=rtpmap:106 SPEEX-FEC/16000.<br>a=rtpmap:105 SPEEX-FEC/8000.<br>a=rtpmap:98 iLBC/8000.<br>a=rtpmap:101 telephone-event/8000.<br>
a=sendrecv.<br><br><br>U OPENSIPS_IP:5060 -> <a href="http://118.69.139.66:21538">118.69.139.66:21538</a><br>SIP/2.0 100 Giving a try.<br>Via: SIP/2.0/UDP 192.168.1.150:38192;branch=z9hG4bK-d8754z-7824577bf642b972-1---d8754z-;rport=21538;received=118.69.139.66.<br>
To: "3000"<sip:3000@OPENSIPS_IP>.<br>From: "6000"<sip:6000@OPENSIPS_IP>;tag=4d457d11.<br>Call-ID: MGYxMWViNzg0YzAwN2Y0YTBhYWQ2MjkwZDcxZTFiN2Q..<br>CSeq: 1 INVITE.<br>Server: OpenSIPS (1.4.5-notls (i386/linux)).<br>
Content-Length: 0.<br>.<br><br><br>U OPENSIPS_IP:5060 -> <a href="http://118.69.139.66:21198">118.69.139.66:21198</a><br>INVITE sip:3000@118.69.139.66:21198;rinstance=cde698603c5f417a SIP/2.0.<br>Record-Route: <sip:OPENSIPS_IP;lr=on;ftag=4d457d11>.<br>
Via: SIP/2.0/UDP OPENSIPS_IP;branch=z9hG4bKe633.8cbbe42.0.<br>Via: SIP/2.0/UDP 192.168.1.150:38192;received=118.69.139.66;branch=z9hG4bK-d8754z-7824577bf642b972-1---d8754z-;rport=21538.<br>Max-Forwards: 69.<br>Contact: <<a href="http://sip:6000@118.69.139.66:21538">sip:6000@118.69.139.66:21538</a>>.<br>
To: "3000"<sip:3000@OPENSIPS_IP>.<br>From: "6000"<sip:6000@OPENSIPS_IP>;tag=4d457d11.<br>Call-ID: MGYxMWViNzg0YzAwN2Y0YTBhYWQ2MjkwZDcxZTFiN2Q..<br>CSeq: 1 INVITE.<br>Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, NOTIFY, MESSAGE, SUBSCRIBE, INFO.<br>
Content-Type: application/sdp.<br>User-Agent: X-Lite release 1100l stamp 47546.<br>Content-Length: 443.<br>P-hint: HTK: Fix nated contact.<br>P-hint: HTK: INVITE go to on_reply_route[1].<br>P-hint: INVITE||ACK + FORCE_RTP_PROXY.<br>
.<br>v=0.<br>o=- 6 2 IN IP4 192.168.1.150.<br>s=CounterPath X-Lite 3.0.<br>c=IN IP4 174.132.45.26.<br>t=0 0.<br>m=audio 41790 RTP/AVP 107 119 100 106 0 105 98 8 3 101.<br>a=alt:1 1 : gbVHmzwd FPodLTLD 192.168.1.150 48192.<br>
a=fmtp:101 0-15.<br>a=rtpmap:107 BV32/16000.<br>a=rtpmap:119 BV32-FEC/16000.<br>a=rtpmap:100 SPEEX/16000.<br>a=rtpmap:106 SPEEX-FEC/16000.<br>a=rtpmap:105 SPEEX-FEC/8000.<br>a=rtpmap:98 iLBC/8000.<br>a=rtpmap:101 telephone-event/8000.<br>
a=sendrecv.<br>a=nortpproxy:yes.<br><br><br>U <a href="http://118.69.139.66:21198">118.69.139.66:21198</a> -> OPENSIPS_IP:5060<br>SIP/2.0 100 Trying.<br>Via: SIP/2.0/UDP OPENSIPS_IP;branch=z9hG4bKe633.8cbbe42.0.<br>Via: SIP/2.0/UDP 192.168.1.150:38192;received=118.69.139.66;branch=z9hG4bK-d8754z-7824577bf642b972-1---d8754z-;rport=21538.<br>
To: "3000"<sip:3000@OPENSIPS_IP>.<br>From: "6000"<sip:6000@OPENSIPS_IP>;tag=4d457d11.<br>Call-ID: MGYxMWViNzg0YzAwN2Y0YTBhYWQ2MjkwZDcxZTFiN2Q..<br>CSeq: 1 INVITE.<br>Content-Length: 0.<br>.<br>
<br><br>U <a href="http://118.69.139.66:21198">118.69.139.66:21198</a> -> OPENSIPS_IP:5060<br>SIP/2.0 180 Ringing.<br>Via: SIP/2.0/UDP OPENSIPS_IP;branch=z9hG4bKe633.8cbbe42.0.<br>Via: SIP/2.0/UDP 192.168.1.150:38192;received=118.69.139.66;branch=z9hG4bK-d8754z-7824577bf642b972-1---d8754z-;rport=21538.<br>
Record-Route: <sip:OPENSIPS_IP;lr;ftag=4d457d11>.<br>Contact: <sip:3000@118.69.139.66:21198;rinstance=cde698603c5f417a>.<br>To: "3000"<sip:3000@OPENSIPS_IP>;tag=4b7c2d11.<br>From: "6000"<sip:6000@OPENSIPS_IP>;tag=4d457d11.<br>
Call-ID: MGYxMWViNzg0YzAwN2Y0YTBhYWQ2MjkwZDcxZTFiN2Q..<br>CSeq: 1 INVITE.<br>User-Agent: X-Lite release 1100l stamp 47546.<br>Content-Length: 0.<br>.<br><br><br>U OPENSIPS_IP:5060 -> <a href="http://118.69.139.66:21538">118.69.139.66:21538</a><br>
SIP/2.0 180 Ringing.<br>Via: SIP/2.0/UDP 192.168.1.150:38192;received=118.69.139.66;branch=z9hG4bK-d8754z-7824577bf642b972-1---d8754z-;rport=21538.<br>Record-Route: <sip:OPENSIPS_IP;lr;ftag=4d457d11>.<br>Contact: <sip:3000@118.69.139.66:21198;rinstance=cde698603c5f417a>.<br>
To: "3000"<sip:3000@OPENSIPS_IP>;tag=4b7c2d11.<br>From: "6000"<sip:6000@OPENSIPS_IP>;tag=4d457d11.<br>Call-ID: MGYxMWViNzg0YzAwN2Y0YTBhYWQ2MjkwZDcxZTFiN2Q..<br>CSeq: 1 INVITE.<br>User-Agent: X-Lite release 1100l stamp 47546.<br>
Content-Length: 0.<br>P-hint: HTK: On_reply_route[1] processing.<br>.<br><br><br>U <a href="http://118.69.139.66:21538">118.69.139.66:21538</a> -> OPENSIPS_IP:5060<br>REGISTER sip:OPENSIPS_IP SIP/2.0.<br>Via: SIP/2.0/UDP 192.168.1.150:38192;branch=z9hG4bK-d8754z-481184409d2d215f-1---d8754z-;rport.<br>
Max-Forwards: 70.<br>Contact: <sip:6000@118.69.139.66:21538;rinstance=78ac80247e1fbe33>.<br>To: "6000"<sip:6000@OPENSIPS_IP>.<br>From: "6000"<sip:6000@OPENSIPS_IP>;tag=e145987e.<br>Call-ID: ODZhMjQ5OWNmYmNjYWU1OWM1NjE1YTcyODNkYTExMjU..<br>
CSeq: 5 REGISTER.<br>Expires: 3600.<br>Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, NOTIFY, MESSAGE, SUBSCRIBE, INFO.<br>User-Agent: X-Lite release 1100l stamp 47546.<br>Authorization: Digest username="6000",realm="OPENSIPS_IP",nonce="49dc7b82000000003b87402cb8e806fb6d9e1c59ea461b93",uri="sip:OPENSIPS_IP",response="49d182024912dbdea882ea5f444baed5",algorithm=MD5.<br>
Content-Length: 0.<br>.<br><br><br>U OPENSIPS_IP:5060 -> <a href="http://118.69.139.66:21538">118.69.139.66:21538</a><br>SIP/2.0 100 HTK: Trying.<br>.<br>Via: SIP/2.0/UDP 192.168.1.150:38192;branch=z9hG4bK-d8754z-481184409d2d215f-1---d8754z-;rport=21538;received=118.69.139.66.<br>
To: "6000"<sip:6000@OPENSIPS_IP>.<br>From: "6000"<sip:6000@OPENSIPS_IP>;tag=e145987e.<br>Call-ID: ODZhMjQ5OWNmYmNjYWU1OWM1NjE1YTcyODNkYTExMjU..<br>CSeq: 5 REGISTER.<br>Server: OpenSIPS (1.4.5-notls (i386/linux)).<br>
Content-Length: 0.<br>.<br><br><br>U OPENSIPS_IP:5060 -> <a href="http://118.69.139.66:21538">118.69.139.66:21538</a><br>SIP/2.0 401 Unauthorized.<br>Via: SIP/2.0/UDP 192.168.1.150:38192;branch=z9hG4bK-d8754z-481184409d2d215f-1---d8754z-;rport=21538;received=118.69.139.66.<br>
To: "6000"<sip:6000@OPENSIPS_IP>;tag=8ed58e8cfe509175e1a2ba62a5c99654.da31.<br>From: "6000"<sip:6000@OPENSIPS_IP>;tag=e145987e.<br>Call-ID: ODZhMjQ5OWNmYmNjYWU1OWM1NjE1YTcyODNkYTExMjU..<br>
CSeq: 5 REGISTER.<br>WWW-Authenticate: Digest realm="OPENSIPS_IP", nonce="49dc882c0000000003ba0866bfdec34bcbac7b42c7cd91a3", stale=true.<br>Server: OpenSIPS (1.4.5-notls (i386/linux)).<br>Content-Length: 0.<br>
.<br><br><br>U <a href="http://118.69.139.66:21538">118.69.139.66:21538</a> -> OPENSIPS_IP:5060<br>REGISTER sip:OPENSIPS_IP SIP/2.0.<br>Via: SIP/2.0/UDP 192.168.1.150:38192;branch=z9hG4bK-d8754z-9c6efc773332742e-1---d8754z-;rport.<br>
Max-Forwards: 70.<br>Contact: <sip:6000@118.69.139.66:21538;rinstance=78ac80247e1fbe33>.<br>To: "6000"<sip:6000@OPENSIPS_IP>.<br>From: "6000"<sip:6000@OPENSIPS_IP>;tag=e145987e.<br>Call-ID: ODZhMjQ5OWNmYmNjYWU1OWM1NjE1YTcyODNkYTExMjU..<br>
CSeq: 6 REGISTER.<br>Expires: 3600.<br>Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, NOTIFY, MESSAGE, SUBSCRIBE, INFO.<br>User-Agent: X-Lite release 1100l stamp 47546.<br>Authorization: Digest username="6000",realm="OPENSIPS_IP",nonce="49dc882c0000000003ba0866bfdec34bcbac7b42c7cd91a3",uri="sip:OPENSIPS_IP",response="3f19e5c021794fd9dcca8d4b7875f455",algorithm=MD5.<br>
Content-Length: 0.<br>.<br><br><br>U OPENSIPS_IP:5060 -> <a href="http://118.69.139.66:21538">118.69.139.66:21538</a><br>SIP/2.0 100 HTK: Trying.<br>.<br>Via: SIP/2.0/UDP 192.168.1.150:38192;branch=z9hG4bK-d8754z-9c6efc773332742e-1---d8754z-;rport=21538;received=118.69.139.66.<br>
To: "6000"<sip:6000@OPENSIPS_IP>.<br>From: "6000"<sip:6000@OPENSIPS_IP>;tag=e145987e.<br>Call-ID: ODZhMjQ5OWNmYmNjYWU1OWM1NjE1YTcyODNkYTExMjU..<br>CSeq: 6 REGISTER.<br>Server: OpenSIPS (1.4.5-notls (i386/linux)).<br>
Content-Length: 0.<br>.<br><br><br>U OPENSIPS_IP:5060 -> <a href="http://118.69.139.66:21538">118.69.139.66:21538</a><br>SIP/2.0 200 OK.<br>Via: SIP/2.0/UDP 192.168.1.150:38192;branch=z9hG4bK-d8754z-9c6efc773332742e-1---d8754z-;rport=21538;received=118.69.139.66.<br>
To: "6000"<sip:6000@OPENSIPS_IP>;tag=8ed58e8cfe509175e1a2ba62a5c99654.df45.<br>From: "6000"<sip:6000@OPENSIPS_IP>;tag=e145987e.<br>Call-ID: ODZhMjQ5OWNmYmNjYWU1OWM1NjE1YTcyODNkYTExMjU..<br>
CSeq: 6 REGISTER.<br>Contact: <sip:6000@118.69.139.66:21538;rinstance=78ac80247e1fbe33>;expires=3600;received="sip:<a href="http://118.69.139.66:21538">118.69.139.66:21538</a>".<br>Server: OpenSIPS (1.4.5-notls (i386/linux)).<br>
Content-Length: 0.<br>.<br><br><br>U <a href="http://118.69.139.66:21198">118.69.139.66:21198</a> -> OPENSIPS_IP:5060<br>.<br>.<br>..............<br><br>U <a href="http://118.69.139.66:21538">118.69.139.66:21538</a> -> OPENSIPS_IP:5060<br>
.<br>.<br>..............<br><br>U OPENSIPS_IP:5060 -> ASTERISK_IP:5060<br>INVITE sip:3000@ASTERISK_IP:5060 SIP/2.0.<br>Record-Route: <sip:OPENSIPS_IP;lr=on;ftag=4d457d11>.<br>Via: SIP/2.0/UDP OPENSIPS_IP;branch=z9hG4bKe633.8cbbe42.1.<br>
Via: SIP/2.0/UDP 192.168.1.150:38192;received=118.69.139.66;branch=z9hG4bK-d8754z-7824577bf642b972-1---d8754z-;rport=21538.<br>Max-Forwards: 69.<br>Contact: <<a href="http://sip:6000@118.69.139.66:21538">sip:6000@118.69.139.66:21538</a>>.<br>
To: "3000"<sip:3000@OPENSIPS_IP>.<br>From: "6000"<sip:6000@OPENSIPS_IP>;tag=4d457d11.<br>Call-ID: MGYxMWViNzg0YzAwN2Y0YTBhYWQ2MjkwZDcxZTFiN2Q..<br>CSeq: 1 INVITE.<br>Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, NOTIFY, MESSAGE, SUBSCRIBE, INFO.<br>
Content-Type: application/sdp.<br>User-Agent: X-Lite release 1100l stamp 47546.<br>Content-Length: 443.<br>P-hint: HTK: Fix nated contact.<br>P-hint: HTK: INVITE go to on_reply_route[1].<br>P-hint: INVITE||ACK + FORCE_RTP_PROXY.<br>
P-hint: HTK - 408 and route to VM ... .<br>.<br>v=0.<br>o=- 6 2 IN IP4 192.168.1.150.<br>s=CounterPath X-Lite 3.0.<br>c=IN IP4 174.132.45.26.<br>t=0 0.<br>m=audio 41790 RTP/AVP 107 119 100 106 0 105 98 8 3 101.<br>a=alt:1 1 : gbVHmzwd FPodLTLD 192.168.1.150 48192.<br>
a=fmtp:101 0-15.<br>a=rtpmap:107 BV32/16000.<br>a=rtpmap:119 BV32-FEC/16000.<br>a=rtpmap:100 SPEEX/16000.<br>a=rtpmap:106 SPEEX-FEC/16000.<br>a=rtpmap:105 SPEEX-FEC/8000.<br>a=rtpmap:98 iLBC/8000.<br>a=rtpmap:101 telephone-event/8000.<br>
a=sendrecv.<br>a=nortpproxy:yes.<br><br><br>U OPENSIPS_IP:5060 -> <a href="http://118.69.139.66:21198">118.69.139.66:21198</a><br>CANCEL sip:3000@118.69.139.66:21198;rinstance=cde698603c5f417a SIP/2.0.<br>Via: SIP/2.0/UDP OPENSIPS_IP;branch=z9hG4bKe633.8cbbe42.0.<br>
From: "6000"<sip:6000@OPENSIPS_IP>;tag=4d457d11.<br>Call-ID: MGYxMWViNzg0YzAwN2Y0YTBhYWQ2MjkwZDcxZTFiN2Q..<br>To: "3000"<sip:3000@OPENSIPS_IP>.<br>CSeq: 1 CANCEL.<br>Max-Forwards: 70.<br>User-Agent: OpenSIPS (1.4.5-notls (i386/linux)).<br>
Content-Length: 0.<br>.<br><br><br>U ASTERISK_IP:5060 -> OPENSIPS_IP:5060<br>SIP/2.0 100 Trying.<br>Via: SIP/2.0/UDP OPENSIPS_IP;branch=z9hG4bKe633.8cbbe42.1;received=OPENSIPS_IP.<br>Via: SIP/2.0/UDP 192.168.1.150:38192;received=118.69.139.66;branch=z9hG4bK-d8754z-7824577bf642b972-1---d8754z-;rport=21538.<br>
Record-Route: <sip:OPENSIPS_IP;lr=on;ftag=4d457d11>.<br>From: "6000"<sip:6000@OPENSIPS_IP>;tag=4d457d11.<br>To: "3000"<sip:3000@OPENSIPS_IP>.<br>Call-ID: MGYxMWViNzg0YzAwN2Y0YTBhYWQ2MjkwZDcxZTFiN2Q..<br>
CSeq: 1 INVITE.<br>User-Agent: Asterisk PBX.<br>Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY.<br>Supported: replaces.<br>Contact: <sip:3000@ASTERISK_IP>.<br>Content-Length: 0.<br>.<br><br><br>U ASTERISK_IP:5060 -> OPENSIPS_IP:5060<br>
SIP/2.0 180 Ringing.<br>Via: SIP/2.0/UDP OPENSIPS_IP;branch=z9hG4bKe633.8cbbe42.1;received=OPENSIPS_IP.<br>Via: SIP/2.0/UDP 192.168.1.150:38192;received=118.69.139.66;branch=z9hG4bK-d8754z-7824577bf642b972-1---d8754z-;rport=21538.<br>
Record-Route: <sip:OPENSIPS_IP;lr=on;ftag=4d457d11>.<br>From: "6000"<sip:6000@OPENSIPS_IP>;tag=4d457d11.<br>To: "3000"<sip:3000@OPENSIPS_IP>;tag=as4ed290a8.<br>Call-ID: MGYxMWViNzg0YzAwN2Y0YTBhYWQ2MjkwZDcxZTFiN2Q..<br>
CSeq: 1 INVITE.<br>User-Agent: Asterisk PBX.<br>Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY.<br>Supported: replaces.<br>Contact: <sip:3000@ASTERISK_IP>.<br>Content-Length: 0.<br>.<br><br><br>U ASTERISK_IP:5060 -> OPENSIPS_IP:5060<br>
SIP/2.0 200 OK.<br>Via: SIP/2.0/UDP OPENSIPS_IP;branch=z9hG4bKe633.8cbbe42.1;received=OPENSIPS_IP.<br>Via: SIP/2.0/UDP 192.168.1.150:38192;received=118.69.139.66;branch=z9hG4bK-d8754z-7824577bf642b972-1---d8754z-;rport=21538.<br>
Record-Route: <sip:OPENSIPS_IP;lr=on;ftag=4d457d11>.<br>From: "6000"<sip:6000@OPENSIPS_IP>;tag=4d457d11.<br>To: "3000"<sip:3000@OPENSIPS_IP>;tag=as4ed290a8.<br>Call-ID: MGYxMWViNzg0YzAwN2Y0YTBhYWQ2MjkwZDcxZTFiN2Q..<br>
CSeq: 1 INVITE.<br>User-Agent: Asterisk PBX.<br>Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY.<br>Supported: replaces.<br>Contact: <sip:3000@ASTERISK_IP>.<br>Content-Type: application/sdp.<br>Content-Length: 289.<br>
.<br>v=0.<br>o=root 7049 7049 IN IP4 ASTERISK_IP.<br>s=session.<br>c=IN IP4 ASTERISK_IP.<br>t=0 0.<br>m=audio 19922 RTP/AVP 3 0 8 101.<br>a=rtpmap:3 GSM/8000.<br>a=rtpmap:0 PCMU/8000.<br>a=rtpmap:8 PCMA/8000.<br>a=rtpmap:101 telephone-event/8000.<br>
a=fmtp:101 0-16.<br>a=silenceSupp:off - - - -.<br>a=ptime:20.<br>a=sendrecv.<br><br><br>U OPENSIPS_IP:5060 -> <a href="http://118.69.139.66:21538">118.69.139.66:21538</a><br>SIP/2.0 180 Ringing.<br>Via: SIP/2.0/UDP 192.168.1.150:38192;received=118.69.139.66;branch=z9hG4bK-d8754z-7824577bf642b972-1---d8754z-;rport=21538.<br>
Record-Route: <sip:OPENSIPS_IP;lr=on;ftag=4d457d11>.<br>From: "6000"<sip:6000@OPENSIPS_IP>;tag=4d457d11.<br>To: "3000"<sip:3000@OPENSIPS_IP>;tag=as4ed290a8.<br>Call-ID: MGYxMWViNzg0YzAwN2Y0YTBhYWQ2MjkwZDcxZTFiN2Q..<br>
CSeq: 1 INVITE.<br>User-Agent: Asterisk PBX.<br>Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY.<br>Supported: replaces.<br>Contact: <sip:3000@ASTERISK_IP>.<br>Content-Length: 0.<br>P-hint: HTK: On_reply_route[1] processing.<br>
.<br><br><br>U OPENSIPS_IP:5060 -> <a href="http://118.69.139.66:21538">118.69.139.66:21538</a><br>SIP/2.0 200 OK.<br>Via: SIP/2.0/UDP 192.168.1.150:38192;received=118.69.139.66;branch=z9hG4bK-d8754z-7824577bf642b972-1---d8754z-;rport=21538.<br>
Record-Route: <sip:OPENSIPS_IP;lr=on;ftag=4d457d11>.<br>From: "6000"<sip:6000@OPENSIPS_IP>;tag=4d457d11.<br>To: "3000"<sip:3000@OPENSIPS_IP>;tag=as4ed290a8.<br>Call-ID: MGYxMWViNzg0YzAwN2Y0YTBhYWQ2MjkwZDcxZTFiN2Q..<br>
CSeq: 1 INVITE.<br>User-Agent: Asterisk PBX.<br>Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY.<br>Supported: replaces.<br>Contact: <sip:3000@ASTERISK_IP>.<br>Content-Type: application/sdp.<br>Content-Length: 289.<br>
P-hint: HTK: On_reply_route[1] processing.<br>.<br>v=0.<br>o=root 7049 7049 IN IP4 ASTERISK_IP.<br>s=session.<br>c=IN IP4 ASTERISK_IP.<br>t=0 0.<br>m=audio 19922 RTP/AVP 3 0 8 101.<br>a=rtpmap:3 GSM/8000.<br>a=rtpmap:0 PCMU/8000.<br>
a=rtpmap:8 PCMA/8000.<br>a=rtpmap:101 telephone-event/8000.<br>a=fmtp:101 0-16.<br>a=silenceSupp:off - - - -.<br>a=ptime:20.<br>a=sendrecv.<br><br><br>U <a href="http://118.69.139.66:21198">118.69.139.66:21198</a> -> OPENSIPS_IP:5060<br>
SIP/2.0 200 OK.<br>Via: SIP/2.0/UDP OPENSIPS_IP;branch=z9hG4bKe633.8cbbe42.0.<br>Contact: <sip:3000@118.69.139.66:21198;rinstance=cde698603c5f417a>.<br>To: "3000"<sip:3000@OPENSIPS_IP>;tag=4b7c2d11.<br>
From: "6000"<sip:6000@OPENSIPS_IP>;tag=4d457d11.<br>Call-ID: MGYxMWViNzg0YzAwN2Y0YTBhYWQ2MjkwZDcxZTFiN2Q..<br>CSeq: 1 CANCEL.<br>User-Agent: X-Lite release 1100l stamp 47546.<br>Content-Length: 0.<br>.<br>
<br><br>U <a href="http://118.69.139.66:21198">118.69.139.66:21198</a> -> OPENSIPS_IP:5060<br>SIP/2.0 487 Request Terminated.<br>Via: SIP/2.0/UDP OPENSIPS_IP;branch=z9hG4bKe633.8cbbe42.0.<br>Via: SIP/2.0/UDP 192.168.1.150:38192;received=118.69.139.66;branch=z9hG4bK-d8754z-7824577bf642b972-1---d8754z-;rport=21538.<br>
To: "3000"<sip:3000@OPENSIPS_IP>;tag=4b7c2d11.<br>From: "6000"<sip:6000@OPENSIPS_IP>;tag=4d457d11.<br>Call-ID: MGYxMWViNzg0YzAwN2Y0YTBhYWQ2MjkwZDcxZTFiN2Q..<br>CSeq: 1 INVITE.<br>User-Agent: X-Lite release 1100l stamp 47546.<br>
Content-Length: 0.<br>.<br><br><br>U OPENSIPS_IP:5060 -> <a href="http://118.69.139.66:21198">118.69.139.66:21198</a><br>ACK sip:3000@118.69.139.66:21198;rinstance=cde698603c5f417a SIP/2.0.<br>Via: SIP/2.0/UDP OPENSIPS_IP;branch=z9hG4bKe633.8cbbe42.0.<br>
From: "6000"<sip:6000@OPENSIPS_IP>;tag=4d457d11.<br>Call-ID: MGYxMWViNzg0YzAwN2Y0YTBhYWQ2MjkwZDcxZTFiN2Q..<br>To: "3000"<sip:3000@OPENSIPS_IP>;tag=4b7c2d11.<br>CSeq: 1 ACK.<br>Max-Forwards: 70.<br>
User-Agent: OpenSIPS (1.4.5-notls (i386/linux)).<br>Content-Length: 0.<br>.<br><br><br>U ASTERISK_IP:5060 -> OPENSIPS_IP:5060<br>SIP/2.0 200 OK.<br>Via: SIP/2.0/UDP OPENSIPS_IP;branch=z9hG4bKe633.8cbbe42.1;received=OPENSIPS_IP.<br>
Via: SIP/2.0/UDP 192.168.1.150:38192;received=118.69.139.66;branch=z9hG4bK-d8754z-7824577bf642b972-1---d8754z-;rport=21538.<br>Record-Route: <sip:OPENSIPS_IP;lr=on;ftag=4d457d11>.<br>From: "6000"<sip:6000@OPENSIPS_IP>;tag=4d457d11.<br>
To: "3000"<sip:3000@OPENSIPS_IP>;tag=as4ed290a8.<br>Call-ID: MGYxMWViNzg0YzAwN2Y0YTBhYWQ2MjkwZDcxZTFiN2Q..<br>CSeq: 1 INVITE.<br>User-Agent: Asterisk PBX.<br>Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY.<br>
Supported: replaces.<br>Contact: <sip:3000@ASTERISK_IP>.<br>Content-Type: application/sdp.<br>Content-Length: 289.<br>.<br>v=0.<br>o=root 7049 7049 IN IP4 ASTERISK_IP.<br>s=session.<br>c=IN IP4 ASTERISK_IP.<br>t=0 0.<br>
m=audio 19922 RTP/AVP 3 0 8 101.<br>a=rtpmap:3 GSM/8000.<br>a=rtpmap:0 PCMU/8000.<br>a=rtpmap:8 PCMA/8000.<br>a=rtpmap:101 telephone-event/8000.<br>a=fmtp:101 0-16.<br>a=silenceSupp:off - - - -.<br>a=ptime:20.<br>a=sendrecv.<br>
<br><br>U OPENSIPS_IP:5060 -> <a href="http://118.69.139.66:21538">118.69.139.66:21538</a><br>SIP/2.0 200 OK.<br>Via: SIP/2.0/UDP 192.168.1.150:38192;received=118.69.139.66;branch=z9hG4bK-d8754z-7824577bf642b972-1---d8754z-;rport=21538.<br>
Record-Route: <sip:OPENSIPS_IP;lr=on;ftag=4d457d11>.<br>From: "6000"<sip:6000@OPENSIPS_IP>;tag=4d457d11.<br>To: "3000"<sip:3000@OPENSIPS_IP>;tag=as4ed290a8.<br>Call-ID: MGYxMWViNzg0YzAwN2Y0YTBhYWQ2MjkwZDcxZTFiN2Q..<br>
CSeq: 1 INVITE.<br>User-Agent: Asterisk PBX.<br>Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY.<br>Supported: replaces.<br>Contact: <sip:3000@ASTERISK_IP>.<br>Content-Type: application/sdp.<br>Content-Length: 289.<br>
P-hint: HTK: On_reply_route[1] processing.<br>.<br>v=0.<br>o=root 7049 7049 IN IP4 ASTERISK_IP.<br>s=session.<br>c=IN IP4 ASTERISK_IP.<br>t=0 0.<br>m=audio 19922 RTP/AVP 3 0 8 101.<br>a=rtpmap:3 GSM/8000.<br>a=rtpmap:0 PCMU/8000.<br>
a=rtpmap:8 PCMA/8000.<br>a=rtpmap:101 telephone-event/8000.<br>a=fmtp:101 0-16.<br>a=silenceSupp:off - - - -.<br>a=ptime:20.<br>a=sendrecv.<br><br><br>U <a href="http://118.69.139.66:21538">118.69.139.66:21538</a> -> OPENSIPS_IP:5060<br>
ACK sip:3000@ASTERISK_IP SIP/2.0.<br>Via: SIP/2.0/UDP 192.168.1.150:38192;branch=z9hG4bK-d8754z-d73e644df657cb55-1---d8754z-;rport.<br>Max-Forwards: 70.<br>Route: <sip:OPENSIPS_IP;lr;ftag=4d457d11>.<br>Contact: <<a href="http://sip:6000@118.69.139.66:21538">sip:6000@118.69.139.66:21538</a>>.<br>
To: "3000"<sip:3000@OPENSIPS_IP>;tag=as4ed290a8.<br>From: "6000"<sip:6000@OPENSIPS_IP>;tag=4d457d11.<br>Call-ID: MGYxMWViNzg0YzAwN2Y0YTBhYWQ2MjkwZDcxZTFiN2Q..<br>CSeq: 1 ACK.<br>User-Agent: X-Lite release 1100l stamp 47546.<br>
Content-Length: 0.<br>.<br><br><b><br>U OPENSIPS_IP:5060 -> ASTERISK_IP:5060<br>ACK sip:3000@ASTERISK_IP SIP/2.0.<br><span style="background-color: rgb(255, 0, 0);">Record-Route: <sip:OPENSIPS_IP;lr=on;ftag=4d457d11>.</span><br>
Via: SIP/2.0/UDP OPENSIPS_IP;branch=z9hG4bKe633.8cbbe42.3.<br>Via: SIP/2.0/UDP 192.168.1.150:38192;received=118.69.139.66;branch=z9hG4bK-d8754z-d73e644df657cb55-1---d8754z-;rport=21538.<br>Max-Forwards: 69.<br>Route: <sip:OPENSIPS_IP;lr;ftag=4d457d11>.<br>
Contact: <<a href="http://sip:6000@118.69.139.66:21538">sip:6000@118.69.139.66:21538</a>>.<br>To: "3000"<sip:3000@OPENSIPS_IP>;tag=as4ed290a8.<br>From: "6000"<sip:6000@OPENSIPS_IP>;tag=4d457d11.<br>
Call-ID: MGYxMWViNzg0YzAwN2Y0YTBhYWQ2MjkwZDcxZTFiN2Q..<br>CSeq: 1 ACK.<br>User-Agent: X-Lite release 1100l stamp 47546.<br>Content-Length: 0.<br>P-hint: HTK: Outbound.<br>P-hint: Route[1] Processing.<br>.</b><br><br><br>