[Spce-user] Unauthorised
Martin Wong
martin.wong at binaryelements.com.au
Wed Nov 6 09:25:28 EST 2013
Hi Daniel, please see the following where a.a.a.a is the SPCE server, and
x.x.x.x is the originating IP
This mwhome subscriber is under the domain a.a.a.a and using X-lite, it
works fine.
Thanks.
#############
U 2013/11/07 01:22:03.819704 x.x.x.x:5060 -> a.a.a.a:5067
REGISTER sip:a.a.a.a SIP/2.0'
Via: SIP/2.0/UDP
x.x.x.x:5060;branch=z9hG4bK38909c9807812cbfad758a6261d2b47;rport'
From: "mynumber" <sip:mwhome at a.a.a.a>;tag=1629839185'
To: "mynumber" <sip:mwhome at a.a.a.a>'
Call-ID: 2636612795 at 192_168_7_100'
CSeq: 3 REGISTER'
Contact: <sip:mwhome at x.x.x.x:5060>'
Max-Forwards: 70'
User-Agent: A580 IP/022270000000'
Expires: 180'
Allow: INVITE, ACK, CANCEL, BYE, OPTIONS, INFO, REFER, SUBSCRIBE, NOTIFY'
Content-Length: 0'
'
#
U 2013/11/07 01:22:03.819903 127.0.0.1:5060 -> 127.0.0.1:5062
REGISTER sip:a.a.a.a SIP/2.0'
Via: SIP/2.0/UDP
127.0.0.1;branch=z9hG4bKada9.fa5deb525cfd8d1dda86eb547cbcde21.0'
Via: SIP/2.0/UDP
x.x.x.x:5060;branch=z9hG4bK38909c9807812cbfad758a6261d2b47;rport=5060'
From: "mynumber" <sip:mwhome at a.a.a.a>;tag=1629839185'
To: "mynumber" <sip:mwhome at a.a.a.a>'
Call-ID: 2636612795 at 192_168_7_100'
CSeq: 3 REGISTER'
Contact: <sip:mwhome at x.x.x.x:5060>'
Max-Forwards: 69'
User-Agent: A580 IP/022270000000'
Expires: 180'
Allow: INVITE, ACK, CANCEL, BYE, OPTIONS, INFO, REFER, SUBSCRIBE, NOTIFY'
Content-Length: 0'
P-NGCP-Src-Ip: x.x.x.x'
P-NGCP-Src-Port: 5060'
P-NGCP-Src-Proto: udp'
P-NGCP-Src-Af: 4'
P-Sock-Info: udp:a.a.a.a:5067'
Path: <sip:lb at 127.0.0.1;lr;socket='sip:a.a.a.a:5067'>'
'
#
U 2013/11/07 01:22:03.820014 127.0.0.1:5062 -> 127.0.0.1:5060
SIP/2.0 100 Trying'
Via: SIP/2.0/UDP
127.0.0.1;branch=z9hG4bKada9.fa5deb525cfd8d1dda86eb547cbcde21.0'
Via: SIP/2.0/UDP
x.x.x.x:5060;branch=z9hG4bK38909c9807812cbfad758a6261d2b47;rport=5060'
From: "mynumber" <sip:mwhome at a.a.a.a>;tag=1629839185'
To: "mynumber" <sip:mwhome at a.a.a.a>'
Call-ID: 2636612795 at 192_168_7_100'
CSeq: 3 REGISTER'
P-Out-Socket: udp:a.a.a.a:5067'
Server: Sipwise NGCP Proxy 2.X'
Content-Length: 0'
'
#
U 2013/11/07 01:22:03.820128 a.a.a.a:5067 -> x.x.x.x:5060
SIP/2.0 100 Trying'
Via: SIP/2.0/UDP
x.x.x.x:5060;branch=z9hG4bK38909c9807812cbfad758a6261d2b47;rport=5060'
From: "mynumber" <sip:mwhome at a.a.a.a>;tag=1629839185'
To: "mynumber" <sip:mwhome at a.a.a.a>'
Call-ID: 2636612795 at 192_168_7_100'
CSeq: 3 REGISTER'
Server: Sipwise NGCP Proxy 2.X'
Content-Length: 0'
'
#
U 2013/11/07 01:22:03.820315 127.0.0.1:5062 -> 127.0.0.1:5060
SIP/2.0 401 Unauthorized'
Via: SIP/2.0/UDP
127.0.0.1;branch=z9hG4bKada9.fa5deb525cfd8d1dda86eb547cbcde21.0;rport=5060'
Via: SIP/2.0/UDP
x.x.x.x:5060;branch=z9hG4bK38909c9807812cbfad758a6261d2b47;rport=5060'
From: "mynumber" <sip:mwhome at a.a.a.a>;tag=1629839185'
To: "mynumber" <sip:mwhome at a.a.a.a
>;tag=1d24a28a0bded6c40d31e6db8aab9ac6.1a7c'
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="UnpRt1J6UIvQxO4+PyWeqayk3PIexvLL"'
Server: Sipwise NGCP Proxy 2.X'
Content-Length: 0'
'
#
U 2013/11/07 01:22:03.820449 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=z9hG4bK38909c9807812cbfad758a6261d2b47;rport=5060'
From: "mynumber" <sip:mwhome at a.a.a.a>;tag=1629839185'
To: "mynumber" <sip:mwhome at a.a.a.a
>;tag=1d24a28a0bded6c40d31e6db8aab9ac6.1a7c'
Call-ID: 2636612795 at 192_168_7_100'
CSeq: 3 REGISTER'
WWW-Authenticate: Digest realm="a.a.a.a",
nonce="UnpRt1J6UIvQxO4+PyWeqayk3PIexvLL"'
Server: Sipwise NGCP Proxy 2.X'
Content-Length: 0'
'
On Wed, Nov 6, 2013 at 7:27 PM, Daniel Grotti <dgrotti at sipwise.com> wrote:
> > 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
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sipwise.com/pipermail/spce-user_lists.sipwise.com/attachments/20131107/2b7c0b79/attachment-0001.html>
More information about the Spce-user
mailing list