[Home]

Summary:ASTERISK-13131: incoming calls ignore the user name
Reporter:Matthias Urlichs (smurfix)Labels:
Date Opened:2008-11-27 00:33:02.000-0600Date Closed:2011-06-07 14:02:57
Priority:MajorRegression?No
Status:Closed/CompleteComponents:Channels/chan_sip/General
Versions:Frequency of
Occurrence
Related
Issues:
Environment:Attachments:
Description:Given this snippet from sip.conf

[SmurfSIP]
type=friend
host=pbx1.office.noris.de
username=Smurf.Zuhause

an incoming call causes this error to be logged

chan_sip.c:10751 check_auth: username mismatch, have <SmurfSIP>, digest has <Smurf.Zuhause>

I'd expect that username parameter to be honored.

****** ADDITIONAL INFORMATION ******

Worse, that check_auth error persists after a "sip reload", even though there's no longer any occurrence of "SmurfSIP" anywhere in the Asterisk config.
Comments:By: Joshua C. Colp (jcolp) 2008-12-09 18:35:22.000-0600

This is a configuration issue. The username parameter is *not* for incoming calls. It is used for authentication on outgoing calls. The context name (SmurfSIP) is used as the username.