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. 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
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 > >
Hi Thanks for help.>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 That's right.hardphone is sending aaaa at 192.168.0.1 for Proprietary specification. ?Digest usrname can't change with SIP Client. so I would like to solve this hardphone issue with asterisk. thanks ----------------------------------------> From: kein0921 at hotmail.com > To: asterisk-users at lists.digium.com > Date: Wed, 15 Sep 2010 03:19:55 +0000 > Subject: [asterisk-users] Digest Username/auth name mismatch? > > > > 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 , 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 ' 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. > > Register > From: aaaa ;tag=644056924 > To: aaaa > Call-ID: 2457796561 at 192.168.0.2 > CSeq: 125 REGISTER > Contact: > 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 > > > -- > _____________________________________________________________________ > -- Bandwidth and Colocation Provided by http://www.api-digital.com -- > New to Asterisk? Join us for a live introductory webinar every Thurs: > http://www.asterisk.org/hello > > asterisk-users mailing list > To UNSUBSCRIBE or update options visit: > http://lists.digium.com/mailman/listinfo/asterisk-users