I get this when my brother in law tries to call in from his box to mine. WARNING[4855]: chan_sip.c:12675 check_auth: username mismatch, have <100>, digest has <s> or after changing the register line: WARNING[4855]: chan_sip.c:12675 check_auth: username mismatch, have <100>, digest has <199> I have done everything I can think of and still failure. Currently the register line says: register => name:pass@ 0.0.0.0/199 and there is both a context [199] and [100] in extensions.conf with a goto to where I want and thse two lines in the declared context in sip.conf: exten => 100,1,goto(,,) exten => 199,1,goto(,,) I'm sure I'll feel quite silly when the error of my ways is pointed out, but for the moment I'm stumped. Ira
I've seen this before and I know the reason but not really the solution: You have used this same username/password combination for another SIP client, or maybe the same one but with different IP. Even when that one is offline from some time on, Asterisk doesn't renew it's internal database, so still thinks it might be somewhere there. I guess this has to do with the SIP expiry as long as I can remember it's defaulted to 3600 secs (1 hour). Think you should be able to overcome this situation either by configuring the qualify option in sip.conf for that peer or rebooting your Asterisk server (just restarting the service might not work). Alyed 2010/3/26 Ira <ira at extrasensory.com>> I get this when my brother in law tries to call in from his box to mine. > > WARNING[4855]: chan_sip.c:12675 check_auth: username mismatch, have > <100>, digest has <s> > > or after changing the register line: > > WARNING[4855]: chan_sip.c:12675 check_auth: username mismatch, have > <100>, digest has <199> > > I have done everything I can think of and still failure. > > Currently the register line says: > > register => name:pass@ 0.0.0.0/199 > > and there is both a context [199] and [100] in extensions.conf with a > goto to where I want and thse two lines in the declared context in > sip.conf: > > exten => 100,1,goto(,,) > exten => 199,1,goto(,,) > > I'm sure I'll feel quite silly when the error of my ways is pointed > out, but for the moment I'm stumped. > > Ira > > > -- > _____________________________________________________________________ > -- 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 >-------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20100326/3901b515/attachment.htm
Juan E. RodrÃguez
2010-Mar-27 06:13 UTC
[asterisk-users] What does this error message mean
Show sip.conf and extensions.conf related part. Maybe I misread but did you mention you have a exten... Line in sip.conf??? The error is because the received user is not the same as the configured one. ------Mensaje original------ De: Ira Remitente: asterisk-users-bounces at lists.digium.com Para: Asterisk Users Mailing List - Non-Commercial Discussion Responder a: Asterisk Users Mailing List - Non-Commercial Discussion Asunto: Re: [asterisk-users] What does this error message mean Enviado: 26 Mar, 2010 21:01 At 05:47 PM 3/26/2010, you wrote:>You have used this same username/password combination for another >SIP client, or maybe the same one but with different IP. Even when >that one is offline from some time on, Asterisk doesn't renew it's >internal database, so still thinks it might be somewhere there.Why thanks. The sad part is it means madly flailing has exactly the opposite effect as you might expect. Ira -- _____________________________________________________________________ -- 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 Saludos, Juan E. Rodr?guez