problem with authentication

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Benny wrote:
> It looks alright to me. What's the problem anyway?
> 
>  -benny

Hi Benny,
thank you for your reply, sorry, I forgot the last packet that give me a 
  Forbidden error. As I say the code is the same but the response of the 
server is different if in my Makefile I include the stack 0.8.0 or newer 
version.
I have tried to use differt SIP provider and now I'm using an IP-PBX and 
I have with all the same problem.

thank you
Davide


This is the full traffic dump:


REGISTER sip:192.168.203.200 SIP/2.0.
Via: SIP/2.0/UDP 
192.168.103.193:5062;rport;branch=z9hG4bKPj5EqX.VQ5j4N0gIAsn5UddHlYL46zf8w6.
Max-Forwards: 70.
From: <sip:801@192.168.203.200>;tag=f2gccAXvM53n8wkS.UkBhNzcI0xvTchw.
To: <sip:801 at 192.168.203.200>.
Call-ID: v0ZwbkXQO.ouTANAqgSq-4jV5QYwsvVM.
CSeq: 24858 REGISTER.
User-Agent: SIP client.
Contact: <sip:801 at 192.168.103.193:5062>.
Expires: 300.
Content-Length:  0.
.


U 192.168.203.200:5060 -> 192.168.103.193:5062
SIP/2.0 401 Unauthorized.
Via: SIP/2.0/UDP 
192.168.103.193:5062;rport;branch=z9hG4bKPj5EqX.VQ5j4N0gIAsn5UddHlYL46zf8w6.
From: <sip:801@192.168.203.200>;tag=f2gccAXvM53n8wkS.UkBhNzcI0xvTchw.
To: <sip:801 at 192.168.203.200>;tag=1244799094.
Call-ID: v0ZwbkXQO.ouTANAqgSq-4jV5QYwsvVM.
CSeq: 24858 REGISTER.
WWW-Authenticate: Digest realm="192.168.203.200", 
nonce="1e6b2815a000000c", opaque="4a322076", stale=false, algorithm=MD5, 
qop="auth".
Content-Length: 0.
.


U 192.168.103.193:5062 -> 192.168.203.200:5060
REGISTER sip:192.168.203.200 SIP/2.0.
Via: SIP/2.0/UDP 
192.168.103.193:5062;rport;branch=z9hG4bKPj-.aQLti4SrxANuETQjwbvrblZ88v3OiE.
Max-Forwards: 70.
From: <sip:801@192.168.203.200>;tag=f2gccAXvM53n8wkS.UkBhNzcI0xvTchw.
To: <sip:801 at 192.168.203.200>.
Call-ID: v0ZwbkXQO.ouTANAqgSq-4jV5QYwsvVM.
CSeq: 24859 REGISTER.
User-Agent: SIP client.
Contact: <sip:801 at 192.168.103.193:5062>.
Expires: 300.
Authorization: Digest username="801", realm="192.168.203.200", 
nonce="1e6b2815a000000c", uri="sip:192.168.203.200", 
response="32e8aa738baa42a724905f358aeff24a", algorithm=MD5, 
cnonce="JamEtY0CoWxTk-Nqg.WMmxT.thE6awVQ", opaque="4a322076", qop=auth, 
nc=00000001.
Content-Length:  0.
.


U 192.168.203.200:5060 -> 192.168.103.193:5062
SIP/2.0 403 Forbidden.
Via: SIP/2.0/UDP 
192.168.103.193:5062;rport;branch=z9hG4bKPj-.aQLti4SrxANuETQjwbvrblZ88v3OiE.
From: <sip:801@192.168.203.200>;tag=f2gccAXvM53n8wkS.UkBhNzcI0xvTchw.
To: <sip:801 at 192.168.203.200>;tag=1244799094.
Call-ID: v0ZwbkXQO.ouTANAqgSq-4jV5QYwsvVM.
CSeq: 24859 REGISTER.
Content-Length: 0.






[Index of Archives]     [Asterisk Users]     [Asterisk App Development]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [Linux API]
  Powered by Linux