[Spce-user] Unauthorised

Daniel Grotti dgrotti at sipwise.com
Wed Nov 6 03:27:56 EST 2013


Please,

show us the complete call flow, those are only the 401 from SPCE, what's
the REGISTER send by clients ?

Daniel

On 11/06/2013 12:14 AM, Martin Wong wrote:
> Hi,
> 
> I'm using SPCE 2 at the moment and most of the sip registers go fine.
> 
> However, there're a couple of devices which are having issues at the
> moment. It seems everytime there's a register request with a
> WWW-Authenticate: Digest realm="a.a.a.a" the authentication fails even
> though the credentials are correct. 
> 
> Can someone enlighten me how this is managed with the SPCE?
> 
> 
> U 2013/11/06 10:06:44.597575 127.0.0.1:5062 <http://127.0.0.1:5062> ->
> 127.0.0.1:5060 <http://127.0.0.1:5060>
> SIP/2.0 401 Unauthorized'
> Via: SIP/2.0/UDP
> 127.0.0.1;branch=z9hG4bKada9.44ab841ba58bccfe98ea05cb9d6877fa.0;rport=5060'
> Via: SIP/2.0/UDP
> x.x.x.x:5060;branch=z9hG4bK1b4eb087927d3de642df3a24516b92c0;rport=5060'
> From: "12345678" <sip:mwhome at a.a.a.a>;tag=2710412683'
> To: "12345678"
> <sip:mwhome at a.a.a.a>;tag=1d24a28a0bded6c40d31e6db8aab9ac6.349b'
> Call-ID: 2636612795 at 192_168_7_100'
> CSeq: 3 REGISTER'
> P-Out-Socket: udp:a.a.a.a:5067'
> WWW-Authenticate: Digest realm="a.a.a.a",
> nonce="Unl7MFJ5egT6oLK7RFftDdsJGjHuzMty"'
> Server: Sipwise NGCP Proxy 2.X'
> Content-Length: 0'
> 
> 
> 
> U 2013/11/06 10:06:44.597694 a.a.a.a:5067 -> x.x.x.x:5060
> SIP/2.0 401 Unauthorized'
> Via: SIP/2.0/UDP
> x.x.x.x:5060;branch=z9hG4bK1b4eb087927d3de642df3a24516b92c0;rport=5060'
> From: "0395791635" <sip:mwhome at a.a.a.a>;tag=2710412683'
> To: "0395791635"
> <sip:mwhome at a.a.a.a>;tag=1d24a28a0bded6c40d31e6db8aab9ac6.349b'
> Call-ID: 2636612795 at 192_168_7_100'
> CSeq: 3 REGISTER'
> WWW-Authenticate: Digest realm="a.a.a.a",
> nonce="Unl7MFJ5egT6oLK7RFftDdsJGjHuzMty"'
> Server: Sipwise NGCP Proxy 2.X'
> Content-Length: 0'
> 
> Kamailio proxy log says :
> 
> Nov  6 10:08:08 km3 /usr/sbin/kamailio[2321]: INFO: <script>: New
> request - M=REGISTER R=sip:a.a.a.a F=sip:mwhome at a.a.a.a
> T=sip:mwhome at a.a.a.a IP=x.x.x.x:5060 (127.0.0.1:5060
> <http://127.0.0.1:5060>) ID=2636612795 at 192_168_7_100
> Nov  6 10:08:08 km3 /usr/sbin/kamailio[2321]: INFO: <script>:
> Authentication failed, no credentials - R=sip:a.a.a.a
> ID=2636612795 at 192_168_7_100
> 
> 
> 
> 
> _______________________________________________
> Spce-user mailing list
> Spce-user at lists.sipwise.com
> http://lists.sipwise.com/listinfo/spce-user
> 




More information about the Spce-user mailing list