[asterisk-users] Digest Username/auth name mismatch‏

Sebastian shop at open-t.co.uk
Wed Sep 15 11:57:40 CDT 2010


Hi,

On 09/15/2010 04:19 AM, t. k wrote:
>
>
> Hi
>
> I'm sorry.
> I mailed the same question again.
> because, it cannot be yet solved.
> any ideas with asterisk?
>
>
> [Aug 20 14:40:12] WARNING[29315]: chan_sip.c:11806 check_auth: username mismatch, have<aaaa>, digest has aaaa at 192.168.0.1[Aug 20 14:40:12] NOTICE[29315]: chan_sip.c:20479 handle_request_register: Registration from 'aaaa<sip:aaaa at 192.168.0.1>' failed for '192.168.0.2' - Username/auth name mismatch
>
> [aaaa]
> type=friend
> username=aaaa
> secret=xxxx
> context=bbbb
> canreinvite=no
> host=dynamic
> disallow=allallow=ulaw
>
> The error seems that UAC set different username of digest.
> But UAC cannot send same username of digest and from for specification.
> *Digest username set aaaa at 192.168.0.1
> So I want to know how to solve with Asterisk.
>

I will try to help. But others might know more. What SIP client are you 
using - a softphone, a hardphone? It looks like the client is sending 
the full "aaaa at 192.168.0.1" instead of just "aaaa" as the username.

Sebastian

> Register
> From: aaaa<sip:aaaa at 192.168.0.1>;tag=644056924
> To: aaaa<sip:aaaa at 192.168.0.1>
> Call-ID: 2457796561 at 192.168.0.2
> CSeq: 125 REGISTER
> Contact:<sip:aaaa at 192.168.0.2:5060>
> Authorization: Digest username=aaaa at 192.168.0.1, realm="asterisk", nonce="3e635209", uri="sip:192.168.0.1", response="ec89ab3c90316e05d83774630488c61a", algorithm=MD5
> Max-Forwards: 70
> Expires: 3600
> thanks
>    		 	   		
>



More information about the asterisk-users mailing list