[SR-Users] Help with 407 Proxy Auth. Required

Olle E. Johansson oej at edvina.net
Mon Mar 9 15:09:52 CET 2015


On 09 Mar 2015, at 15:07, Agiftel <agiftel at gmail.com> wrote:

> Hi all, i cannot understand where is the problem with this transaction:
> 
> Kamailio ask for Proxy authorization and in the second INVITE credentials
> are present.
> Can you help me understand?
This is typical - it happens when the password is wrong either in the server or the client.

/O
> 
> Regards
> 
> U 2015/03/09 15:03:42.191831 10.160.21.51:5060 -> 10.160.20.18:5060
> INVITE sip:1000 at sip.longwave.labo;user=phone SIP/2.0.
> Allow: INVITE, ACK, CANCEL, BYE, OPTIONS, PRACK, NOTIFY, UPDATE.
> Supported: 100rel,from-change,timer,histinfo.
> User-Agent: OXO_GW_820/092.001.
> Session-Expires: 43200.
> P-Asserted-Identity: "PIPPO" <sip:2000 at oxo.longwave.labo;user=phone>.
> History-Info: <sip:1000 at sip.longwave.labo;user=phone>;index=1.
> To: <sip:1000 at sip.longwave.labo;user=phone>.
> From: "PIPPO"
> <sip:2000 at oxo.longwave.labo;user=phone>;tag=11056089a66d6a43ec04cd21b78039c5.
> Contact: "PIPPO" <sip:2000 at 10.160.21.51;transport=UDP;user=phone>.
> Content-Type: application/sdp.
> Call-ID: 346eded1901cb5b60b9d97a14f196e29 at 10.160.21.51.
> CSeq: 178945190 INVITE.
> Via: SIP/2.0/UDP
> 10.160.21.51;rport;branch=z9hG4bK1fd5f032d2296189ba85c9bf8553ff28.
> Max-Forwards: 70.
> Content-Length: 208.
> .
> v=0.
> o=default 1425909984 1425909984 IN IP4 10.160.21.51.
> s=-.
> c=IN IP4 10.160.21.51.
> t=0 0.
> m=audio 32000 RTP/AVP 18 106 4 8 0.
> a=sendrecv.
> a=rtpmap:106 telephone-event/8000.
> a=fmtp:106 0-15.
> a=maxptime:90.
> 
> 
> U 2015/03/09 15:03:42.193299 10.160.20.18:5060 -> 10.160.21.51:5060
> SIP/2.0 407 Proxy Authentication Required.
> To:
> <sip:1000 at sip.longwave.labo;user=phone>;tag=b27e1a1d33761e85846fc98f5f3a7e58.aa4d.
> From: "PIPPO"
> <sip:2000 at oxo.longwave.labo;user=phone>;tag=11056089a66d6a43ec04cd21b78039c5.
> Call-ID: 346eded1901cb5b60b9d97a14f196e29 at 10.160.21.51.
> CSeq: 178945190 INVITE.
> Via: SIP/2.0/UDP
> 10.160.21.51;rport=5060;branch=z9hG4bK1fd5f032d2296189ba85c9bf8553ff28;received=10.160.21.51.
> Proxy-Authenticate: Digest realm="oxo.longwave.labo",
> nonce="VP2palT9qD7LOD/nl465ujUSUW0NiDo/".
> Server: lw-sipproxysrv.
> Content-Length: 0.
> .
> 
> 
> U 2015/03/09 15:03:42.195800 10.160.21.51:5060 -> 10.160.20.18:5060
> ACK sip:1000 at sip.longwave.labo;user=phone SIP/2.0.
> Call-ID: 346eded1901cb5b60b9d97a14f196e29 at 10.160.21.51.
> From: "PIPPO"
> <sip:2000 at oxo.longwave.labo;user=phone>;tag=11056089a66d6a43ec04cd21b78039c5.
> To:
> <sip:1000 at sip.longwave.labo;user=phone>;tag=b27e1a1d33761e85846fc98f5f3a7e58.aa4d.
> Via: SIP/2.0/UDP
> 10.160.21.51;rport;branch=z9hG4bK1fd5f032d2296189ba85c9bf8553ff28.
> CSeq: 178945190 ACK.
> Content-Length: 0.
> .
> 
> 
> U 2015/03/09 15:03:42.199176 10.160.21.51:5060 -> 10.160.20.18:5060
> INVITE sip:1000 at sip.longwave.labo;user=phone SIP/2.0.
> Proxy-Authorization: Digest
> username="oxo",realm="oxo.longwave.labo",nonce="VP2palT9qD7LOD/nl465ujUSUW0NiDo/",uri="sip:1000 at sip.longwave.labo;user=phone",response="263ed33da80fb520af0fb0b2f246d310".
> Allow: INVITE, ACK, CANCEL, BYE, OPTIONS, PRACK, NOTIFY, UPDATE.
> Supported: 100rel,from-change,timer,histinfo.
> User-Agent: OXO_GW_820/092.001.
> Session-Expires: 43200.
> P-Asserted-Identity: "PIPPO" <sip:2000 at oxo.longwave.labo;user=phone>.
> History-Info: <sip:1000 at sip.longwave.labo;user=phone>;index=1.
> To: <sip:1000 at sip.longwave.labo;user=phone>.
> From: "PIPPO"
> <sip:2000 at oxo.longwave.labo;user=phone>;tag=11056089a66d6a43ec04cd21b78039c5.
> Contact: "PIPPO" <sip:2000 at 10.160.21.51;transport=UDP;user=phone>.
> Content-Type: application/sdp.
> Call-ID: 346eded1901cb5b60b9d97a14f196e29 at 10.160.21.51.
> CSeq: 178945191 INVITE.
> Max-Forwards: 70.
> Via: SIP/2.0/UDP
> 10.160.21.51;rport;branch=z9hG4bK503a3569cf5b057bd47d1154c5ba0842.
> Content-Length: 208.
> .
> v=0.
> o=default 1425909984 1425909984 IN IP4 10.160.21.51.
> s=-.
> c=IN IP4 10.160.21.51.
> t=0 0.
> m=audio 32000 RTP/AVP 18 106 4 8 0.
> a=sendrecv.
> a=rtpmap:106 telephone-event/8000.
> a=fmtp:106 0-15.
> a=maxptime:90.
> 
> 
> U 2015/03/09 15:03:42.200387 10.160.20.18:5060 -> 10.160.21.51:5060
> SIP/2.0 407 Proxy Authentication Required.
> To:
> <sip:1000 at sip.longwave.labo;user=phone>;tag=b27e1a1d33761e85846fc98f5f3a7e58.d413.
> From: "PIPPO"
> <sip:2000 at oxo.longwave.labo;user=phone>;tag=11056089a66d6a43ec04cd21b78039c5.
> Call-ID: 346eded1901cb5b60b9d97a14f196e29 at 10.160.21.51.
> CSeq: 178945191 INVITE.
> Via: SIP/2.0/UDP
> 10.160.21.51;rport=5060;branch=z9hG4bK503a3569cf5b057bd47d1154c5ba0842;received=10.160.21.51.
> Proxy-Authenticate: Digest realm="oxo.longwave.labo",
> nonce="VP2palT9qD7LOD/nl465ujUSUW0NiDo/".
> Server: lw-sipproxysrv.
> Content-Length: 0.
> .
> 
> 
> U 2015/03/09 15:03:42.203016 10.160.21.51:5060 -> 10.160.20.18:5060
> ACK sip:1000 at sip.longwave.labo;user=phone SIP/2.0.
> Call-ID: 346eded1901cb5b60b9d97a14f196e29 at 10.160.21.51.
> From: "PIPPO"
> <sip:2000 at oxo.longwave.labo;user=phone>;tag=11056089a66d6a43ec04cd21b78039c5.
> To:
> <sip:1000 at sip.longwave.labo;user=phone>;tag=b27e1a1d33761e85846fc98f5f3a7e58.d413.
> Via: SIP/2.0/UDP
> 10.160.21.51;rport;branch=z9hG4bK503a3569cf5b057bd47d1154c5ba0842.
> CSeq: 178945191 ACK.
> Content-Length: 0.
> .                                                                         
> 
> 
> 
> 
> --
> View this message in context: http://sip-router.1086192.n5.nabble.com/Help-with-407-Proxy-Auth-Required-tp136043.html
> Sent from the Users mailing list archive at Nabble.com.
> 
> _______________________________________________
> SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
> sr-users at lists.sip-router.org
> http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users




More information about the sr-users mailing list