[OpenSIPS-Users] incoming DID will not pass to asterisk

Terrance Devor ter.devor at gmail.com
Tue Mar 10 17:12:02 CET 2015


On Tue, Mar 10, 2015 at 6:06 AM, mahan77 <mail at sathees.co.uk> wrote:

> Hello Terrance,
>
> Thank you for your time to replay back.
> It was basic dispatcher Config file and posted in the first place.
>
> This is my sip trace.
>
> interface: eth0 (192.168.1.0/255.255.255.0)
> filter: (ip or ip6) and ( port 5060 )
>
> U 192.168.1.64:5060 -> 192.168.1.150:5060
> .
> Gb.."........
> ?.
>
> U 87.117.75.1:5060 -> 192.168.1.150:5060
> INVITE sip:442032912345 at 192.168.1.150:5060 SIP/2.0.
> Via: SIP/2.0/UDP 87.117.75.1:5060;rport;branch=z9hG4bK9gZ0vUKSc0Q3m.
> Max-Forwards: 68.
> From: "07720212345" <sip:07720212345 at 87.117.75.1>;tag=1Z1Z5983N78ZN.
> To: <sip:442032912345 at 86.175.152.120>.
> Call-ID: fe855718-40e4-1233-4c90-aba651435a79.
> CSeq: 72611343 INVITE.
> Contact: <sip:mod_sofia at 87.117.75.1:5060>.
> User-Agent: TelNG GW.
> Allow: INVITE, ACK, BYE, CANCEL, OPTIONS, MESSAGE, INFO, UPDATE, REGISTER,
> REFER, NOTIFY, PUBLISH, SUBSCRIBE.
> Supported: timer, precondition, path, replaces.
> Allow-Events: talk, hold, conference, presence, dialog, line-seize,
> call-info, sla, include-session-description, presence.winfo,
> message-summary, refer.
> Session-Expires: 1800;refresher=uac.
> Min-SE: 120.
> Privacy: none.
> Content-Type: application/sdp.
> Content-Disposition: session.
> Content-Length: 225.
> X-3C-ACCOUNT: 8166.
> X-3C-DIRECTION: in.
> X-FS-Support: update_display,send_info.
> P-Asserted-Identity: "07720212345" <sip:07720212345 at 87.117.75.1>.
> .
> v=0.
> o=FreeSWITCH 1425866039 1425866040 IN IP4 87.117.75.1.
> s=FreeSWITCH.
> c=IN IP4 87.117.75.1.
> t=0 0.
> m=audio 28776 RTP/AVP 8 0 18 101 13.
> a=fmtp:18 annexb=no.
> a=rtpmap:101 telephone-event/8000.
> a=fmtp:101 0-16.
> a=ptime:20.
>
>
> U 192.168.1.150:5060 -> 192.168.1.85:5060
> INVITE sip:442032912345 at 192.168.1.150:5060 SIP/2.0.
> Via: SIP/2.0/UDP 192.168.1.150:5060;branch=z9hG4bK9gZ0vUKSc0Q3m.
> Via: SIP/2.0/UDP
> 87.117.75.1:5060
> ;received=87.117.75.1;rport=5060;branch=z9hG4bK9gZ0vUKSc0Q3m.
> Max-Forwards: 67.
> From: "07720212345" <sip:07720212345 at 87.117.75.1>;tag=1Z1Z5983N78ZN.
> To: <sip:442032912345 at 86.175.152.120>.
> Call-ID: fe855718-40e4-1233-4c90-aba651435a79.
> CSeq: 72611343 INVITE.
> Contact: <sip:mod_sofia at 87.117.75.1:5060>.
> User-Agent: TelNG GW.
> Allow: INVITE, ACK, BYE, CANCEL, OPTIONS, MESSAGE, INFO, UPDATE, REGISTER,
> REFER, NOTIFY, PUBLISH, SUBSCRIBE.
> Supported: timer, precondition, path, replaces.
> Allow-Events: talk, hold, conference, presence, dialog, line-seize,
> call-info, sla, include-session-description, presence.winfo,
> message-summary, refer.
> Session-Expires: 1800;refresher=uac.
> Min-SE: 120.
> Privacy: none.
> Content-Type: application/sdp.
> Content-Disposition: session.
> Content-Length: 225.
> X-3C-ACCOUNT: 8166.
> X-3C-DIRECTION: in.
> X-FS-Support: update_display,send_info.
> P-Asserted-Identity: "07720212345" <sip:07720212345 at 87.117.75.1>.
> .
> v=0.
> o=FreeSWITCH 1425866039 1425866040 IN IP4 87.117.75.1.
> s=FreeSWITCH.
> c=IN IP4 87.117.75.1.
> t=0 0.
> m=audio 28776 RTP/AVP 8 0 18 101 13.
> a=fmtp:18 annexb=no.
> a=rtpmap:101 telephone-event/8000.
> a=fmtp:101 0-16.
> a=ptime:20.
>
>
> U 192.168.1.85:5060 -> 192.168.1.150:5060
> OPTIONS sip:2001 at 192.168.1.64:5060;ob SIP/2.0.
> Via: SIP/2.0/UDP 192.168.1.85:5060;branch=z9hG4bK2460f825;rport.
> Max-Forwards: 70.
> From: "asterisk" <sip:2001 at 192.168.1.85>;tag=as2b561864.
> To: <sip:2001 at 192.168.1.64:5060;ob>.
> Contact: <sip:2001 at 192.168.1.85:5060>.
> Call-ID: 6432c1a87201b6d9051df2e71c82e6a7 at 192.168.1.85:5060.
> CSeq: 102 OPTIONS.
> User-Agent: Asterisk PBX SVN-branch-13-r432059.
> Date: Mon, 09 Mar 2015 09:53:35 GMT.
> Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO,
> PUBLISH, MESSAGE.
> Supported: replaces, timer.
> Content-Length: 0.
> .
>
>
> U 192.168.1.85:5060 -> 192.168.1.150:5060
> SIP/2.0 401 Unauthorized.
> Via: SIP/2.0/UDP
> 192.168.1.150:5060
> ;branch=z9hG4bK9gZ0vUKSc0Q3m;received=192.168.1.150;rport=5060.
> Via: SIP/2.0/UDP
> 87.117.75.1:5060
> ;received=87.117.75.1;rport=5060;branch=z9hG4bK9gZ0vUKSc0Q3m.
> From: "07720212345" <sip:07720212345 at 87.117.75.1>;tag=1Z1Z5983N78ZN.
> To: <sip:442032912345 at 86.175.152.120>;tag=as63edc664.
> Call-ID: fe855718-40e4-1233-4c90-aba651435a79.
> CSeq: 72611343 INVITE.
> Server: Asterisk PBX SVN-branch-13-r432059.
> Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO,
> PUBLISH, MESSAGE.
> Supported: replaces, timer.
> WWW-Authenticate: Digest algorithm=MD5, realm="asterisk", nonce="4c8254d0".
> Content-Length: 0.
> .
>
>
> U 192.168.1.150:5060 -> 192.168.1.85:5060
> OPTIONS sip:2001 at 192.168.1.64:5060;ob SIP/2.0.
> Via: SIP/2.0/UDP 192.168.1.150:5060;branch=z9hG4bK2460f825.
> Via: SIP/2.0/UDP
> 192.168.1.85:5060;received=192.168.1.85;branch=z9hG4bK2460f825;rport=5060.
> Max-Forwards: 69.
> From: "asterisk" <sip:2001 at 192.168.1.85>;tag=as2b561864.
> To: <sip:2001 at 192.168.1.64:5060;ob>.
> Contact: <sip:2001 at 192.168.1.85:5060>.
> Call-ID: 6432c1a87201b6d9051df2e71c82e6a7 at 192.168.1.85:5060.
> CSeq: 102 OPTIONS.
> User-Agent: Asterisk PBX SVN-branch-13-r432059.
> Date: Mon, 09 Mar 2015 09:53:35 GMT.
> Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO,
> PUBLISH, MESSAGE.
> Supported: replaces, timer.
> Content-Length: 0.
> .
>
>
> U 192.168.1.150:5060 -> 87.117.75.1:5060
> SIP/2.0 401 Unauthorized.
> Via: SIP/2.0/UDP
> 87.117.75.1:5060
> ;received=87.117.75.1;rport=5060;branch=z9hG4bK9gZ0vUKSc0Q3m.
> From: "07720212345" <sip:07720212345 at 87.117.75.1>;tag=1Z1Z5983N78ZN.
> To: <sip:442032912345 at 86.175.152.120>;tag=as63edc664.
> Call-ID: fe855718-40e4-1233-4c90-aba651435a79.
> CSeq: 72611343 INVITE.
> Server: Asterisk PBX SVN-branch-13-r432059.
> Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO,
> PUBLISH, MESSAGE.
> Supported: replaces, timer.
> WWW-Authenticate: Digest algorithm=MD5, realm="asterisk", nonce="4c8254d0".
> Content-Length: 0.
> .
>
>
> U 192.168.1.85:5060 -> 192.168.1.150:5060
> SIP/2.0 404 Not Found.
> Via: SIP/2.0/UDP
> 192.168.1.150:5060;branch=z9hG4bK2460f825;received=192.168.1.150.
> Via: SIP/2.0/UDP
> 192.168.1.85:5060;received=192.168.1.85;branch=z9hG4bK2460f825;rport=5060.
> From: "asterisk" <sip:2001 at 192.168.1.85>;tag=as2b561864.
> To: <sip:2001 at 192.168.1.64:5060;ob>;tag=as2ed4c72b.
> Call-ID: 6432c1a87201b6d9051df2e71c82e6a7 at 192.168.1.85:5060.
> CSeq: 102 OPTIONS.
> Server: Asterisk PBX SVN-branch-13-r432059.
> Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO,
> PUBLISH, MESSAGE.
> Supported: replaces, timer.
> Accept: application/sdp.
> Content-Length: 0.
> .
>
>
> U 192.168.1.150:5060 -> 192.168.1.85:5060
> SIP/2.0 404 Not Found.
> Via: SIP/2.0/UDP
> 192.168.1.85:5060;received=192.168.1.85;branch=z9hG4bK2460f825;rport=5060.
> From: "asterisk" <sip:2001 at 192.168.1.85>;tag=as2b561864.
> To: <sip:2001 at 192.168.1.64:5060;ob>;tag=as2ed4c72b.
> Call-ID: 6432c1a87201b6d9051df2e71c82e6a7 at 192.168.1.85:5060.
> CSeq: 102 OPTIONS.
> Server: Asterisk PBX SVN-branch-13-r432059.
> Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO,
> PUBLISH, MESSAGE.
> Supported: replaces, timer.
> Accept: application/sdp.
> Content-Length: 0.
> .
>
>
> U 87.117.75.1:5060 -> 192.168.1.150:5060
> ACK sip:442032912345 at 192.168.1.150:5060 SIP/2.0.
> Via: SIP/2.0/UDP 87.117.75.1:5060;rport;branch=z9hG4bK9gZ0vUKSc0Q3m.
> Max-Forwards: 68.
> From: "07720212345" <sip:07720212345 at 87.117.75.1>;tag=1Z1Z5983N78ZN.
> To: <sip:442032912345 at 86.175.152.120>;tag=as63edc664.
> Call-ID: fe855718-40e4-1233-4c90-aba651435a79.
> CSeq: 72611343 ACK.
> Content-Length: 0.
> .
>
>
> U 192.168.1.150:5060 -> 192.168.1.85:5060
> ACK sip:442032912345 at 192.168.1.150:5060 SIP/2.0.
> Via: SIP/2.0/UDP 192.168.1.150:5060;branch=z9hG4bK9gZ0vUKSc0Q3m.
> Via: SIP/2.0/UDP
> 87.117.75.1:5060
> ;received=87.117.75.1;rport=5060;branch=z9hG4bK9gZ0vUKSc0Q3m.
> Max-Forwards: 67.
> From: "07720212345" <sip:07720212345 at 87.117.75.1>;tag=1Z1Z5983N78ZN.
> To: <sip:442032912345 at 86.175.152.120>;tag=as63edc664.
> Call-ID: fe855718-40e4-1233-4c90-aba651435a79.
> CSeq: 72611343 ACK.
> Content-Length: 0.
> .
>
>
> U 192.168.1.64:5060 -> 192.168.1.150:5060
> .
> ................
>
>
> many thanks
> sathees
>
>
>
>
>
>
>
> --
> View this message in context:
> http://opensips-open-sip-server.1449251.n2.nabble.com/incoming-DID-will-not-pass-to-asterisk-tp7595694p7595727.html
> Sent from the OpenSIPS - Users mailing list archive at Nabble.com.
>
> _______________________________________________
> Users mailing list
> Users at lists.opensips.org
> http://lists.opensips.org/cgi-bin/mailman/listinfo/users
>



This is your whole config?

route{
        if ( !mf_process_maxfwd_header("10") )
        {
                sl_send_reply("483","To Many Hops");
                drop();
        }


        ds_select_dst("1", "0");

        forward();
        #t_relay();


}


Terrance.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opensips.org/pipermail/users/attachments/20150310/fb30f3b2/attachment-0001.htm>


More information about the Users mailing list