[OpenSIPS-Users] rewritehostport not working, but it has before

Bogdan-Andrei Iancu bogdan at voice-system.ro
Wed Nov 3 14:49:50 CET 2010


Hi,

after rewritehost, place this debug line and see what it reports:
    xlog("----- new ruri=<$ru>, dst=<$du>\n");

Regards,
Bogdan

osiris123d wrote:
> I have used this in the past with the exact same route logic and it has
> worked.  I am confused as to why it's not working now.  I am testing
> limiting concurrent calls with the dialog module and have it set up to
> reroute the call to Voicemail if the callee is over their limit of
> concurrent calls.  Basically all I am doing is
>
>                 # user has max channel limit set as preference
>                 if(is_avp_set("$avp(s:channels)/n") &&
> avp_check("$avp(s:channels)", "gt/i:0"))
>                 {
>                         # get current calls for uuid
>                        
> get_profile_size("ConcurrentCalls","$rU","$var(CalleeCalls)");
>
>                         # check within limit
>                         if($avp(s:channels) > $var(CalleeCalls))
>                         {
>                                 xlog("L_INFO", "Call control: user '$rU'
> currently has '$var(CalleeCalls)' of '$avp(s:channels)' active calls before
> this one\n");
>                                 $var(setprofileCallee) = 1;
>                         }
>                         else
>                         {
>                                 xlog("L_INFO", "Call control: user channel
> limit exceeded [$var(CalleeCalls)/$avp(s:channels)]\n");
>                                 #send_reply("486", "Busy Here: Channel limit
> exceeded\n");
>
>                       revert_uri();
>                                 if (uri=~"^sip:9[2-9][0-9]{6}@") {
>                                         strip(1);
>                                 };
>                                
> subst_uri('/^sip:([0-9]+)@(.*)$/sip:$avp(s:areacode)\1@\2/i');
>                                 prefix("VMR_");
>                                 rewritehostport("173.XXX.XX.63");
>                                 t_relay();
>                                 exit;
>
>
>                         }
>                 }
>
>
> So I call the 9012211610 who is only allowed one call with 9012732009.  Then
> User 9012211612 also calls 9012211610.  OpenSIPS sees that 9012211610 is at
> his max calls so OpenSIPS does the else statement listed above.  But the
> INVITE isn't sent to 173.XXX.XX.63.  It is sent to the IP address of
> 9012211610.  Why is it doing this????
>
> U 2010/11/02 18:45:24.898279 75.65.8.158:61980 -> 173.XXX.XX.134:5060
> INVITE sip:9012211610 at irock.com SIP/2.0.
> Via: SIP/2.0/UDP
> 192.168.33.20:61980;branch=z9hG4bK-d8754z-933b5a7d10948cc3-1---d8754z-;rport.
> Max-Forwards: 70.
> Contact: <sip:9012732009 at 192.168.33.20:61980>.
> To: "9012211610"<sip:9012211610 at irock.com>.
> From: "Test Guy"<sip:9012732009 at irock.com>;tag=cba13467.
> Call-ID: NzJlMGJmMGY1NDdjNzlmMmExYzdiNzI4ODEwZTY4MWU..
> CSeq: 1 INVITE.
> Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, NOTIFY, MESSAGE, SUBSCRIBE,
> INFO.
> Content-Type: application/sdp.
> Supported: replaces.
> User-Agent: X-Lite 4 release 4.0 stamp 58832.
> Content-Length: 232.
> .
> v=0.
> o=- 12933215112580778 1 IN IP4 192.168.33.20.
> s=CounterPath X-Lite 4.0.
> c=IN IP4 192.168.33.20.
> t=0 0.
> m=audio 65100 RTP/AVP 107 0 8 101.
> a=rtpmap:107 BV32/16000.
> a=rtpmap:101 telephone-event/8000.
> a=fmtp:101 0-15.
> a=sendrecv.
>
> #
> U 2010/11/02 18:45:24.899628 173.XXX.XX.134:5060 -> 75.65.8.158:61980
> SIP/2.0 407 Proxy Authentication Required.
> Via: SIP/2.0/UDP
> 192.168.33.20:61980;branch=z9hG4bK-d8754z-933b5a7d10948cc3-1---d8754z-;rport=61980;received=75.65.8.158.
> To:
> "9012211610"<sip:9012211610 at irock.com>;tag=c97b4d1cb1f3d0da549e06a8d482ef63.6250.
> From: "Test Guy"<sip:9012732009 at irock.com>;tag=cba13467.
> Call-ID: NzJlMGJmMGY1NDdjNzlmMmExYzdiNzI4ODEwZTY4MWU..
> CSeq: 1 INVITE.
> Proxy-Authenticate: Digest realm="irock.com",
> nonce="4cd0a2b20742bc39459aacb588bf623462cd9301", qop="auth".
> Server: OpenSIPS (1.6.3-notls (x86_64/linux)).
> Content-Length: 0.
> .
>
> #
> U 2010/11/02 18:45:24.955873 75.65.8.158:61980 -> 173.XXX.XX.134:5060
> ACK sip:9012211610 at irock.com SIP/2.0.
> Via: SIP/2.0/UDP
> 192.168.33.20:61980;branch=z9hG4bK-d8754z-933b5a7d10948cc3-1---d8754z-;rport.
> Max-Forwards: 70.
> To:
> "9012211610"<sip:9012211610 at irock.com>;tag=c97b4d1cb1f3d0da549e06a8d482ef63.6250.
> From: "Test Guy"<sip:9012732009 at irock.com>;tag=cba13467.
> Call-ID: NzJlMGJmMGY1NDdjNzlmMmExYzdiNzI4ODEwZTY4MWU..
> CSeq: 1 ACK.
> Content-Length: 0.
> .
>
> #
> U 2010/11/02 18:45:24.966584 75.65.8.158:61980 -> 173.XXX.XX.134:5060
> INVITE sip:9012211610 at irock.com SIP/2.0.
> Via: SIP/2.0/UDP
> 192.168.33.20:61980;branch=z9hG4bK-d8754z-be8a338c8dfe786b-1---d8754z-;rport.
> Max-Forwards: 70.
> Contact: <sip:9012732009 at 192.168.33.20:61980>.
> To: "9012211610"<sip:9012211610 at irock.com>.
> From: "Test Guy"<sip:9012732009 at irock.com>;tag=cba13467.
> Call-ID: NzJlMGJmMGY1NDdjNzlmMmExYzdiNzI4ODEwZTY4MWU..
> CSeq: 2 INVITE.
> Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, NOTIFY, MESSAGE, SUBSCRIBE,
> INFO.
> Content-Type: application/sdp.
> Proxy-Authorization: Digest
> username="9012732009",realm="irock.com",nonce="4cd0a2b20742bc39459aacb588bf623462cd9301",uri="sip:9012211610 at irock.com",response="972e1c21b89d8582da0d399c59555cde",cnonce="d692791ba7ce1b1b221592550638ea88",nc=00000001,qop=auth,algorithm=MD5.
> Supported: replaces.
> User-Agent: X-Lite 4 release 4.0 stamp 58832.
> Content-Length: 232.
> .
> v=0.
> o=- 12933215112580778 1 IN IP4 192.168.33.20.
> s=CounterPath X-Lite 4.0.
> c=IN IP4 192.168.33.20.
> t=0 0.
> m=audio 65100 RTP/AVP 107 0 8 101.
> a=rtpmap:107 BV32/16000.
> a=rtpmap:101 telephone-event/8000.
> a=fmtp:101 0-15.
> a=sendrecv.
>
> #
> U 2010/11/02 18:45:24.969909 173.XXX.XX.134:5060 -> 75.65.8.158:61980
> SIP/2.0 100 Giving a try.
> Via: SIP/2.0/UDP
> 192.168.33.20:61980;branch=z9hG4bK-d8754z-be8a338c8dfe786b-1---d8754z-;rport=61980;received=75.65.8.158.
> To: "9012211610"<sip:9012211610 at irock.com>.
> From: "Test Guy"<sip:9012732009 at irock.com>;tag=cba13467.
> Call-ID: NzJlMGJmMGY1NDdjNzlmMmExYzdiNzI4ODEwZTY4MWU..
> CSeq: 2 INVITE.
> Server: OpenSIPS (1.6.3-notls (x86_64/linux)).
> Content-Length: 0.
> .
>
> #
> U 2010/11/02 18:45:24.970067 173.XXX.XX.134:5060 -> 75.65.8.158:2049
> INVITE sip:9012211610 at 75.65.8.158:2049;line=eelkugcn SIP/2.0.
> Record-Route:
> <sip:173.XXX.XX.134;lr=on;ftag=cba13467;nat=yes;did=b4a.a50b4665>.
> Via: SIP/2.0/UDP 173.XXX.XX.134;branch=z9hG4bKf7a4.a6441e03.0.
> Via: SIP/2.0/UDP
> 192.168.33.20:61980;received=75.65.8.158;branch=z9hG4bK-d8754z-be8a338c8dfe786b-1---d8754z-;rport=61980.
> Max-Forwards: 69.
> Contact: <sip:9012732009 at 75.65.8.158:61980>.
> To: "9012211610"<sip:9012211610 at irock.com>.
> From: "Test Guy"<sip:9012732009 at irock.com>;tag=cba13467.
> Call-ID: NzJlMGJmMGY1NDdjNzlmMmExYzdiNzI4ODEwZTY4MWU..
> CSeq: 2 INVITE.
> Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, NOTIFY, MESSAGE, SUBSCRIBE,
> INFO.
> Content-Type: application/sdp.
> Supported: replaces.
> User-Agent: X-Lite 4 release 4.0 stamp 58832.
> Content-Length: 232.
> P-hint: route(3)|setflag7,forcerport,fix_contact.
> P-hint: inbound->inbound .
> .
> v=0.
> o=- 12933215112580778 1 IN IP4 192.168.33.20.
> s=CounterPath X-Lite 4.0.
> c=IN IP4 192.168.33.20.
> t=0 0.
> m=audio 65100 RTP/AVP 107 0 8 101.
> a=rtpmap:107 BV32/16000.
> a=rtpmap:101 telephone-event/8000.
> a=fmtp:101 0-15.
> a=sendrecv.
>
> #
> U 2010/11/02 18:45:25.072363 75.65.8.158:2049 -> 173.XXX.XX.134:5060
> SIP/2.0 180 Ringing.
> Via: SIP/2.0/UDP 173.XXX.XX.134;branch=z9hG4bKf7a4.a6441e03.0.
> Via: SIP/2.0/UDP
> 192.168.33.20:61980;received=75.65.8.158;branch=z9hG4bK-d8754z-be8a338c8dfe786b-1---d8754z-;rport=61980.
> Record-Route:
> <sip:173.XXX.XX.134;lr=on;ftag=cba13467;nat=yes;did=b4a.a50b4665>.
> From: "Test Guy" <sip:9012732009 at irock.com>;tag=cba13467.
> To: "9012211610" <sip:9012211610 at irock.com>;tag=vu8p2sbh9z.
> Call-ID: NzJlMGJmMGY1NDdjNzlmMmExYzdiNzI4ODEwZTY4MWU..
> CSeq: 2 INVITE.
> Contact: <sip:9012211610 at 192.168.33.22:2049;line=eelkugcn>;reg-id=1.
> Allow: INVITE, ACK, CANCEL, BYE, REFER, OPTIONS, NOTIFY, SUBSCRIBE, PRACK,
> MESSAGE, INFO, UPDATE.
> Allow-Events: talk, hold, refer, call-info.
> Content-Length: 0.
> .
>
> #
> U 2010/11/02 18:45:25.073321 173.XXX.XX.134:5060 -> 75.65.8.158:61980
> SIP/2.0 180 Ringing.
> Via: SIP/2.0/UDP
> 192.168.33.20:61980;received=75.65.8.158;branch=z9hG4bK-d8754z-be8a338c8dfe786b-1---d8754z-;rport=61980.
> Record-Route:
> <sip:173.XXX.XX.134;lr=on;ftag=cba13467;nat=yes;did=b4a.a50b4665>.
> From: "Test Guy" <sip:9012732009 at irock.com>;tag=cba13467.
> To: "9012211610" <sip:9012211610 at irock.com>;tag=vu8p2sbh9z.
> Call-ID: NzJlMGJmMGY1NDdjNzlmMmExYzdiNzI4ODEwZTY4MWU..
> CSeq: 2 INVITE.
> Contact: <sip:9012211610 at 75.65.8.158:2049;line=eelkugcn>;reg-id=1.
> Allow: INVITE, ACK, CANCEL, BYE, REFER, OPTIONS, NOTIFY, SUBSCRIBE, PRACK,
> MESSAGE, INFO, UPDATE.
> Allow-Events: talk, hold, refer, call-info.
> Content-Length: 0.
> P-hint: Onreply-route - fixcontact .
> .
>
> #
> U 2010/11/02 18:45:25.602237 75.65.8.158:2049 -> 173.XXX.XX.134:5060
> SIP/2.0 180 Ringing.
> Via: SIP/2.0/UDP 173.XXX.XX.134;branch=z9hG4bKf7a4.a6441e03.0.
> Via: SIP/2.0/UDP
> 192.168.33.20:61980;received=75.65.8.158;branch=z9hG4bK-d8754z-be8a338c8dfe786b-1---d8754z-;rport=61980.
> Record-Route:
> <sip:173.XXX.XX.134;lr=on;ftag=cba13467;nat=yes;did=b4a.a50b4665>.
> From: "Test Guy" <sip:9012732009 at irock.com>;tag=cba13467.
> To: "9012211610" <sip:9012211610 at irock.com>;tag=vu8p2sbh9z.
> Call-ID: NzJlMGJmMGY1NDdjNzlmMmExYzdiNzI4ODEwZTY4MWU..
> CSeq: 2 INVITE.
> Contact: <sip:9012211610 at 192.168.33.22:2049;line=eelkugcn>;reg-id=1.
> Allow: INVITE, ACK, CANCEL, BYE, REFER, OPTIONS, NOTIFY, SUBSCRIBE, PRACK,
> MESSAGE, INFO, UPDATE.
> Allow-Events: talk, hold, refer, call-info.
> Content-Length: 0.
> .
>
> #
> U 2010/11/02 18:45:25.602594 173.XXX.XX.134:5060 -> 75.65.8.158:61980
> SIP/2.0 180 Ringing.
> Via: SIP/2.0/UDP
> 192.168.33.20:61980;received=75.65.8.158;branch=z9hG4bK-d8754z-be8a338c8dfe786b-1---d8754z-;rport=61980.
> Record-Route:
> <sip:173.XXX.XX.134;lr=on;ftag=cba13467;nat=yes;did=b4a.a50b4665>.
> From: "Test Guy" <sip:9012732009 at irock.com>;tag=cba13467.
> To: "9012211610" <sip:9012211610 at irock.com>;tag=vu8p2sbh9z.
> Call-ID: NzJlMGJmMGY1NDdjNzlmMmExYzdiNzI4ODEwZTY4MWU..
> CSeq: 2 INVITE.
> Contact: <sip:9012211610 at 75.65.8.158:2049;line=eelkugcn>;reg-id=1.
> Allow: INVITE, ACK, CANCEL, BYE, REFER, OPTIONS, NOTIFY, SUBSCRIBE, PRACK,
> MESSAGE, INFO, UPDATE.
> Allow-Events: talk, hold, refer, call-info.
> Content-Length: 0.
> P-hint: Onreply-route - fixcontact .
> .
>
> #
> U 2010/11/02 18:45:26.622446 75.65.8.158:2049 -> 173.XXX.XX.134:5060
> SIP/2.0 180 Ringing.
> Via: SIP/2.0/UDP 173.XXX.XX.134;branch=z9hG4bKf7a4.a6441e03.0.
> Via: SIP/2.0/UDP
> 192.168.33.20:61980;received=75.65.8.158;branch=z9hG4bK-d8754z-be8a338c8dfe786b-1---d8754z-;rport=61980.
> Record-Route:
> <sip:173.XXX.XX.134;lr=on;ftag=cba13467;nat=yes;did=b4a.a50b4665>.
> From: "Test Guy" <sip:9012732009 at irock.com>;tag=cba13467.
> To: "9012211610" <sip:9012211610 at irock.com>;tag=vu8p2sbh9z.
> Call-ID: NzJlMGJmMGY1NDdjNzlmMmExYzdiNzI4ODEwZTY4MWU..
> CSeq: 2 INVITE.
> Contact: <sip:9012211610 at 192.168.33.22:2049;line=eelkugcn>;reg-id=1.
> Allow: INVITE, ACK, CANCEL, BYE, REFER, OPTIONS, NOTIFY, SUBSCRIBE, PRACK,
> MESSAGE, INFO, UPDATE.
> Allow-Events: talk, hold, refer, call-info.
> Content-Length: 0.
> .
>
> #
> U 2010/11/02 18:45:26.622907 173.XXX.XX.134:5060 -> 75.65.8.158:61980
> SIP/2.0 180 Ringing.
> Via: SIP/2.0/UDP
> 192.168.33.20:61980;received=75.65.8.158;branch=z9hG4bK-d8754z-be8a338c8dfe786b-1---d8754z-;rport=61980.
> Record-Route:
> <sip:173.XXX.XX.134;lr=on;ftag=cba13467;nat=yes;did=b4a.a50b4665>.
> From: "Test Guy" <sip:9012732009 at irock.com>;tag=cba13467.
> To: "9012211610" <sip:9012211610 at irock.com>;tag=vu8p2sbh9z.
> Call-ID: NzJlMGJmMGY1NDdjNzlmMmExYzdiNzI4ODEwZTY4MWU..
> CSeq: 2 INVITE.
> Contact: <sip:9012211610 at 75.65.8.158:2049;line=eelkugcn>;reg-id=1.
> Allow: INVITE, ACK, CANCEL, BYE, REFER, OPTIONS, NOTIFY, SUBSCRIBE, PRACK,
> MESSAGE, INFO, UPDATE.
> Allow-Events: talk, hold, refer, call-info.
> Content-Length: 0.
> P-hint: Onreply-route - fixcontact .
> .
>
> #
> U 2010/11/02 18:45:27.080393 75.65.8.158:2049 -> 173.XXX.XX.134:5060
> SIP/2.0 200 Ok.
> Via: SIP/2.0/UDP 173.XXX.XX.134;branch=z9hG4bKf7a4.a6441e03.0.
> Via: SIP/2.0/UDP
> 192.168.33.20:61980;received=75.65.8.158;branch=z9hG4bK-d8754z-be8a338c8dfe786b-1---d8754z-;rport=61980.
> Record-Route:
> <sip:173.XXX.XX.134;lr=on;ftag=cba13467;nat=yes;did=b4a.a50b4665>.
> From: "Test Guy" <sip:9012732009 at irock.com>;tag=cba13467.
> To: "9012211610" <sip:9012211610 at irock.com>;tag=vu8p2sbh9z.
> Call-ID: NzJlMGJmMGY1NDdjNzlmMmExYzdiNzI4ODEwZTY4MWU..
> CSeq: 2 INVITE.
> Contact: <sip:9012211610 at 192.168.33.22:2049;line=eelkugcn>;reg-id=1.
> User-Agent: snom360/8.4.18.
> Allow: INVITE, ACK, CANCEL, BYE, REFER, OPTIONS, NOTIFY, SUBSCRIBE, PRACK,
> MESSAGE, INFO, UPDATE.
> Allow-Events: talk, hold, refer, call-info.
> Supported: timer, 100rel, replaces, from-change.
> Content-Type: application/sdp.
> Content-Length: 232.
> .
> v=0.
> o=root 319952489 319952490 IN IP4 192.168.33.22.
> s=call.
> c=IN IP4 192.168.33.22.
> t=0 0.
> m=audio 53028 RTP/AVP 0 8 101.
> a=rtpmap:0 pcmu/8000.
> a=rtpmap:8 pcma/8000.
> a=rtpmap:101 telephone-event/8000.
> a=fmtp:101 0-16.
> a=sendrecv.
>
> #
> U 2010/11/02 18:45:27.080796 173.XXX.XX.134:5060 -> 75.65.8.158:61980
> SIP/2.0 200 Ok.
> Via: SIP/2.0/UDP
> 192.168.33.20:61980;received=75.65.8.158;branch=z9hG4bK-d8754z-be8a338c8dfe786b-1---d8754z-;rport=61980.
> Record-Route:
> <sip:173.XXX.XX.134;lr=on;ftag=cba13467;nat=yes;did=b4a.a50b4665>.
> From: "Test Guy" <sip:9012732009 at irock.com>;tag=cba13467.
> To: "9012211610" <sip:9012211610 at irock.com>;tag=vu8p2sbh9z.
> Call-ID: NzJlMGJmMGY1NDdjNzlmMmExYzdiNzI4ODEwZTY4MWU..
> CSeq: 2 INVITE.
> Contact: <sip:9012211610 at 75.65.8.158:2049;line=eelkugcn>;reg-id=1.
> User-Agent: snom360/8.4.18.
> Allow: INVITE, ACK, CANCEL, BYE, REFER, OPTIONS, NOTIFY, SUBSCRIBE, PRACK,
> MESSAGE, INFO, UPDATE.
> Allow-Events: talk, hold, refer, call-info.
> Supported: timer, 100rel, replaces, from-change.
> Content-Type: application/sdp.
> Content-Length: 232.
> P-hint: Onreply-route - fixcontact .
> .
> v=0.
> o=root 319952489 319952490 IN IP4 192.168.33.22.
> s=call.
> c=IN IP4 192.168.33.22.
> t=0 0.
> m=audio 53028 RTP/AVP 0 8 101.
> a=rtpmap:0 pcmu/8000.
> a=rtpmap:8 pcma/8000.
> a=rtpmap:101 telephone-event/8000.
> a=fmtp:101 0-16.
> a=sendrecv.
>
> #
> U 2010/11/02 18:45:27.196091 75.65.8.158:61980 -> 173.XXX.XX.134:5060
> ACK sip:9012211610 at 75.65.8.158:2049;line=eelkugcn SIP/2.0.
> Via: SIP/2.0/UDP
> 192.168.33.20:61980;branch=z9hG4bK-d8754z-1d2cc4b178e3a090-1---d8754z-;rport.
> Max-Forwards: 70.
> Route: <sip:173.XXX.XX.134;lr;ftag=cba13467;nat=yes;did=b4a.a50b4665>.
> Contact: <sip:9012732009 at 192.168.33.20:61980>.
> To: "9012211610"<sip:9012211610 at irock.com>;tag=vu8p2sbh9z.
> From: "Test Guy"<sip:9012732009 at irock.com>;tag=cba13467.
> Call-ID: NzJlMGJmMGY1NDdjNzlmMmExYzdiNzI4ODEwZTY4MWU..
> CSeq: 2 ACK.
> Proxy-Authorization: Digest
> username="9012732009",realm="irock.com",nonce="4cd0a2b20742bc39459aacb588bf623462cd9301",uri="sip:9012211610 at irock.com",response="972e1c21b89d8582da0d399c59555cde",cnonce="d692791ba7ce1b1b221592550638ea88",nc=00000001,qop=auth,algorithm=MD5.
> User-Agent: X-Lite 4 release 4.0 stamp 58832.
> Content-Length: 0.
> .
>
> #
> U 2010/11/02 18:45:27.196955 173.XXX.XX.134:5060 -> 75.65.8.158:2049
> ACK sip:9012211610 at 75.65.8.158:2049;line=eelkugcn SIP/2.0.
> Record-Route: <sip:173.XXX.XX.134;lr=on;ftag=cba13467;nat=yes>.
> Via: SIP/2.0/UDP 173.XXX.XX.134;branch=z9hG4bKf7a4.a6441e03.2.
> Via: SIP/2.0/UDP
> 192.168.33.20:61980;received=75.65.8.158;branch=z9hG4bK-d8754z-1d2cc4b178e3a090-1---d8754z-;rport=61980.
> Max-Forwards: 69.
> Contact: <sip:9012732009 at 192.168.33.20:61980>.
> To: "9012211610"<sip:9012211610 at irock.com>;tag=vu8p2sbh9z.
> From: "Test Guy"<sip:9012732009 at irock.com>;tag=cba13467.
> Call-ID: NzJlMGJmMGY1NDdjNzlmMmExYzdiNzI4ODEwZTY4MWU..
> CSeq: 2 ACK.
> Proxy-Authorization: Digest
> username="9012732009",realm="irock.com",nonce="4cd0a2b20742bc39459aacb588bf623462cd9301",uri="sip:9012211610 at irock.com",response="972e1c21b89d8582da0d399c59555cde",cnonce="d692791ba7ce1b1b221592550638ea88",nc=00000001,qop=auth,algorithm=MD5.
> User-Agent: X-Lite 4 release 4.0 stamp 58832.
> Content-Length: 0.
> .
>
> #
> U 2010/11/02 18:45:35.298944 75.65.8.158:2048 -> 173.XXX.XX.134:5060
> INVITE sip:92211610 at irock.com;user=phone;phone=yes SIP/2.0.
> Via: SIP/2.0/UDP 192.168.33.23:2048;branch=z9hG4bK-ihdwwkeibfnz;rport.
> From: "Moo 221-1612" <sip:9012211612 at irock.com>;tag=nafa7latt1.
> To: <sip:92211610 at irock.com;user=phone;phone=yes>.
> Call-ID: 3c26a17e2f0c-0ddjk3y08tj9.
> CSeq: 1 INVITE.
> Max-Forwards: 70.
> Contact: <sip:9012211612 at 192.168.33.23:2048;line=swk4xpx8>;reg-id=1.
> X-Serialnumber: 0004132902C9.
> P-Key-Flags: resolution="31x13", keys="4".
> User-Agent: snom360/8.4.18.
> Accept: application/sdp.
> Allow: INVITE, ACK, CANCEL, BYE, REFER, OPTIONS, NOTIFY, SUBSCRIBE, PRACK,
> MESSAGE, INFO, UPDATE.
> Allow-Events: talk, hold, refer, call-info.
> Supported: timer, 100rel, replaces, from-change.
> Session-Expires: 3600;refresher=uas.
> Min-SE: 90.
> Content-Type: application/sdp.
> Content-Length: 477.
> .
> v=0.
> o=root 1568454099 1568454099 IN IP4 192.168.33.23.
> s=call.
> c=IN IP4 192.168.33.23.
> t=0 0.
> m=audio 59216 RTP/AVP 0 8 9 99 3 18 4 101.
> a=crypto:1 AES_CM_128_HMAC_SHA1_32
> inline:NuODqLk77iz3VQPQ7hNChnkDWQFQxvGpAeNVeqh4.
> a=rtpmap:0 pcmu/8000.
> a=rtpmap:8 pcma/8000.
> a=rtpmap:9 g722/8000.
> a=rtpmap:99 g726-32/8000.
> a=rtpmap:3 gsm/8000.
> a=rtpmap:18 g729/8000.
> a=fmtp:18 annexb=no.
> a=rtpmap:4 g723/8000.
> a=rtpmap:101 telephone-event/8000.
> a=fmtp:101 0-16.
> a=ptime:20.
> a=sendrecv.
>
> #
> U 2010/11/02 18:45:35.299249 173.XXX.XX.134:5060 -> 75.65.8.158:2048
> SIP/2.0 407 Proxy Authentication Required.
> Via: SIP/2.0/UDP
> 192.168.33.23:2048;branch=z9hG4bK-ihdwwkeibfnz;rport=2048;received=75.65.8.158.
> From: "Moo 221-1612" <sip:9012211612 at irock.com>;tag=nafa7latt1.
> To:
> <sip:92211610 at irock.com;user=phone;phone=yes>;tag=c97b4d1cb1f3d0da549e06a8d482ef63.18e7.
> Call-ID: 3c26a17e2f0c-0ddjk3y08tj9.
> CSeq: 1 INVITE.
> Proxy-Authenticate: Digest realm="irock.com",
> nonce="4cd0a2bd8ade73d4d595c711ae46ccccac609db8", qop="auth".
> Server: OpenSIPS (1.6.3-notls (x86_64/linux)).
> Content-Length: 0.
> .
>
> #
> U 2010/11/02 18:45:35.440445 75.65.8.158:2048 -> 173.XXX.XX.134:5060
> ACK sip:92211610 at irock.com;user=phone;phone=yes SIP/2.0.
> Via: SIP/2.0/UDP 192.168.33.23:2048;branch=z9hG4bK-ihdwwkeibfnz;rport.
> From: "Moo 221-1612" <sip:9012211612 at irock.com>;tag=nafa7latt1.
> To:
> <sip:92211610 at irock.com;user=phone;phone=yes>;tag=c97b4d1cb1f3d0da549e06a8d482ef63.18e7.
> Call-ID: 3c26a17e2f0c-0ddjk3y08tj9.
> CSeq: 1 ACK.
> Max-Forwards: 70.
> Contact: <sip:9012211612 at 192.168.33.23:2048;line=swk4xpx8>;reg-id=1.
> Content-Length: 0.
> .
>
> #
> U 2010/11/02 18:45:35.460612 75.65.8.158:2048 -> 173.XXX.XX.134:5060
> INVITE sip:92211610 at irock.com;user=phone;phone=yes SIP/2.0.
> Via: SIP/2.0/UDP 192.168.33.23:2048;branch=z9hG4bK-w8bj253e8mm2;rport.
> From: "Moo 221-1612" <sip:9012211612 at irock.com>;tag=nafa7latt1.
> To: <sip:92211610 at irock.com;user=phone;phone=yes>.
> Call-ID: 3c26a17e2f0c-0ddjk3y08tj9.
> CSeq: 2 INVITE.
> Max-Forwards: 70.
> Contact: <sip:9012211612 at 192.168.33.23:2048;line=swk4xpx8>;reg-id=1.
> X-Serialnumber: 0004132902C9.
> P-Key-Flags: resolution="31x13", keys="4".
> User-Agent: snom360/8.4.18.
> Accept: application/sdp.
> Allow: INVITE, ACK, CANCEL, BYE, REFER, OPTIONS, NOTIFY, SUBSCRIBE, PRACK,
> MESSAGE, INFO, UPDATE.
> Allow-Events: talk, hold, refer, call-info.
> Supported: timer, 100rel, replaces, from-change.
> Session-Expires: 3600;refresher=uas.
> Min-SE: 90.
> Proxy-Authorization: Digest
> username="9012211612",realm="irock.com",nonce="4cd0a2bd8ade73d4d595c711ae46ccccac609db8",uri="sip:92211610 at irock.com;user=phone;phone=yes",qop=auth,nc=00000001,cnonce="3e482f5d",response="d4088c65d4f29ee001930a8a4af195ef",algorithm=MD5.
> Content-Type: application/sdp.
> Content-Length: 477.
> .
> v=0.
> o=root 1568454099 1568454099 IN IP4 192.168.33.23.
> s=call.
> c=IN IP4 192.168.33.23.
> t=0 0.
> m=audio 59216 RTP/AVP 0 8 9 99 3 18 4 101.
> a=crypto:1 AES_CM_128_HMAC_SHA1_32
> inline:NuODqLk77iz3VQPQ7hNChnkDWQFQxvGpAeNVeqh4.
> a=rtpmap:0 pcmu/8000.
> a=rtpmap:8 pcma/8000.
> a=rtpmap:9 g722/8000.
> a=rtpmap:99 g726-32/8000.
> a=rtpmap:3 gsm/8000.
> a=rtpmap:18 g729/8000.
> a=fmtp:18 annexb=no.
> a=rtpmap:4 g723/8000.
> a
> #
> U 2010/11/02 18:45:35.466512 173.XXX.XX.134:5060 -> 75.65.8.158:2048
> SIP/2.0 100 Giving a try.
> Via: SIP/2.0/UDP
> 192.168.33.23:2048;branch=z9hG4bK-w8bj253e8mm2;rport=2048;received=75.65.8.158.
> From: "Moo 221-1612" <sip:9012211612 at irock.com>;tag=nafa7latt1.
> To: <sip:92211610 at irock.com;user=phone;phone=yes>.
> Call-ID: 3c26a17e2f0c-0ddjk3y08tj9.
> CSeq: 2 INVITE.
> Server: OpenSIPS (1.6.3-notls (x86_64/linux)).
> Content-Length: 0.
> .
>
> #
> U 2010/11/02 18:45:35.466587 173.XXX.XX.134:5060 -> 75.65.8.158:2049
> INVITE sip:VMR_9012211610 at 173.XXX.XX.63;user=phone;phone=yes SIP/2.0.
> Record-Route:
> <sip:173.XXX.XX.134;lr=on;ftag=nafa7latt1;nat=yes;did=1e2.ed668eb2>.
> Via: SIP/2.0/UDP 173.XXX.XX.134;branch=z9hG4bK513.915a8d16.0.
> Via: SIP/2.0/UDP
> 192.168.33.23:2048;received=75.65.8.158;branch=z9hG4bK-w8bj253e8mm2;rport=2048.
> From: "Moo 221-1612" <sip:9012211612 at irock.com>;tag=nafa7latt1.
> To: <sip:92211610 at irock.com;user=phone;phone=yes>.
> Call-ID: 3c26a17e2f0c-0ddjk3y08tj9.
> CSeq: 2 INVITE.
> Max-Forwards: 69.
> Contact: <sip:9012211612 at 75.65.8.158:2048;line=swk4xpx8>;reg-id=1.
> X-Serialnumber: 0004132902C9.
> P-Key-Flags: resolution="31x13", keys="4".
> User-Agent: snom360/8.4.18.
> Accept: application/sdp.
> Allow: INVITE, ACK, CANCEL, BYE, REFER, OPTIONS, NOTIFY, SUBSCRIBE, PRACK,
> MESSAGE, INFO, UPDATE.
> Allow-Events: talk, hold, refer, call-info.
> Supported: timer, 100rel, replaces, from-change.
> Session-Expires: 3600;refresher=uas.
> Min-SE: 90.
> Content-Type: application/sdp.
> Content-Length: 477.
> P-hint: route(3)|setflag7,forcerport,fix_contact.
> P-hint: inbound->inbound .
> .
> v=0.
> o=root 1568454099 1568454099 IN IP4 192.168.33.23.
> s=call.
> c=IN IP4 192.168.33.23.
> t=0 0.
> m=audio 59216 RTP/AVP 0 8 9 99 3 18 4 101.
> a=crypto:1 AES_CM_128_HMAC_SHA1_32
> inline:NuODqLk77iz3VQPQ7hNChnkDWQFQxvGpAeNVeqh4.
> a=rtpmap:0 pcmu/8000.
> a=rtpmap:8 pcma/8000.
> a=rtpmap:9 g722/8000.
> a=rtpmap:99 g726-32/8000.
> a=rtpmap:3 gsm/8000.
> a=rtpmap:18 g729/8000.
> a=fmtp:18 annexb=no.
> a=rtpmap:4 g723/8000.
> a=rtpmap:1
> #
> U 2010/11/02 18:45:35.554434 75.65.8.158:2049 -> 173.XXX.XX.134:5060
> SIP/2.0 404 Not Found.
> Via: SIP/2.0/UDP 173.XXX.XX.134;branch=z9hG4bK513.915a8d16.0.
> Via: SIP/2.0/UDP
> 192.168.33.23:2048;received=75.65.8.158;branch=z9hG4bK-w8bj253e8mm2;rport=2048.
> From: "Moo 221-1612" <sip:9012211612 at irock.com>;tag=nafa7latt1.
> To: <sip:92211610 at irock.com;user=phone;phone=yes>.
> Call-ID: 3c26a17e2f0c-0ddjk3y08tj9.
> CSeq: 2 INVITE.
> User-Agent: snom360/8.4.18.
> Allow: INVITE, ACK, CANCEL, BYE, REFER, OPTIONS, NOTIFY, SUBSCRIBE, PRACK,
> MESSAGE, INFO, UPDATE.
> Allow-Events: talk, hold, refer, call-info.
> Supported: timer, 100rel, replaces, from-change.
> Content-Length: 0.
> .
>
> #
> U 2010/11/02 18:45:35.554631 173.XXX.XX.134:5060 -> 75.65.8.158:2049
> ACK sip:VMR_9012211610 at 173.XXX.XX.63;user=phone;phone=yes SIP/2.0.
> Via: SIP/2.0/UDP 173.XXX.XX.134;branch=z9hG4bK513.915a8d16.0.
> From: "Moo 221-1612" <sip:9012211612 at irock.com>;tag=nafa7latt1.
> Call-ID: 3c26a17e2f0c-0ddjk3y08tj9.
> To: <sip:92211610 at irock.com;user=phone;phone=yes>.
> CSeq: 2 ACK.
> Max-Forwards: 70.
> User-Agent: OpenSIPS (1.6.3-notls (x86_64/linux)).
> Content-Length: 0.
> .
>
> #
> U 2010/11/02 18:45:35.554863 173.XXX.XX.134:5060 -> 75.65.8.158:2048
> SIP/2.0 404 Not Found.
> Via: SIP/2.0/UDP
> 192.168.33.23:2048;received=75.65.8.158;branch=z9hG4bK-w8bj253e8mm2;rport=2048.
> From: "Moo 221-1612" <sip:9012211612 at irock.com>;tag=nafa7latt1.
> To: <sip:92211610 at irock.com;user=phone;phone=yes>.
> Call-ID: 3c26a17e2f0c-0ddjk3y08tj9.
> CSeq: 2 INVITE.
> User-Agent: snom360/8.4.18.
> Allow: INVITE, ACK, CANCEL, BYE, REFER, OPTIONS, NOTIFY, SUBSCRIBE, PRACK,
> MESSAGE, INFO, UPDATE.
> Allow-Events: talk, hold, refer, call-info.
> Supported: timer, 100rel, replaces, from-change.
> Content-Length: 0.
> .
>
> #
> U 2010/11/02 18:45:35.695982 75.65.8.158:2048 -> 173.XXX.XX.134:5060
> ACK sip:92211610 at irock.com;user=phone;phone=yes SIP/2.0.
> Via: SIP/2.0/UDP 192.168.33.23:2048;branch=z9hG4bK-w8bj253e8mm2;rport.
> From: "Moo 221-1612" <sip:9012211612 at irock.com>;tag=nafa7latt1.
> To: <sip:92211610 at irock.com;user=phone;phone=yes>.
> Call-ID: 3c26a17e2f0c-0ddjk3y08tj9.
> CSeq: 2 ACK.
> Max-Forwards: 70.
> Contact: <sip:9012211612 at 192.168.33.23:2048;line=swk4xpx8>;reg-id=1.
> Content-Length: 0.
> .
>   


-- 
Bogdan-Andrei Iancu
OpenSIPS Bootcamp
15 - 19 November 2010, Edison, New Jersey, USA
www.voice-system.ro




More information about the Users mailing list