[asterisk-users] [SOLVED] username mismatch

thelma at sys-concept.com thelma at sys-concept.com
Fri Feb 16 11:56:28 CST 2018


On 02/16/2018 10:50 AM, thelma at sys-concept.com wrote:
> When I have an incoming call I get a "username mismatch":
> 
> WARNING[7459][C-00000007]: chan_sip.c:16587 check_auth: username mismatch, have <55>, digest has <pstn-1270>
> NOTICE[7459][C-00000007]: chan_sip.c:25809 handle_request_invite: Failed to authenticate device "KZ" <sip:7804715665 at 10.0.0.110>;tag=1c117168544
> 
> my sip.conf entry:
> 
> [pstn-1270] ; incoming/outoging calls on FXO 
> type=friend
> secret=xxxxx
> username=voice-1270
> user=peer
> mailbox=369 ; just for audiocodes error complain
> host=dynamic
> insecure=port,invite
> canreinvite=no ; (dtmf not working correctly without this one)
> disallow=all
> allow=gsm                     
> allow=ulaw
> allow=alaw
> nat=no
> context=incoming
> callgroup=1
> pickupgroup=1
> qualify=yes
> 

sip.conf needs to have enabled:
match_auth_username=yes

--
Thelma



More information about the asterisk-users mailing list