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 [email protected][aug 20 14:40:12] > NOTICE[29315]: chan_sip.c:20479 handle_request_register: Registration from > 'aaaa<sip:[email protected]>' 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 [email protected] > 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 "[email protected]" instead of just "aaaa" as the username. Sebastian > Register > From: aaaa<sip:[email protected]>;tag=644056924 > To: aaaa<sip:[email protected]> > Call-ID: [email protected] > CSeq: 125 REGISTER > Contact:<sip:[email protected]:5060> > Authorization: Digest [email protected], 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
