[asterisk-users] username mismatch

Khalil Khamlichi khamlichi.khalil at gmail.com
Fri Feb 16 11:56:16 CST 2018


try with

username=pstn-1270

On Fri, Feb 16, 2018 at 5:50 PM,  <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
>
> --
> Thelma
>
> --
> _____________________________________________________________________
> -- Bandwidth and Colocation Provided by http://www.api-digital.com --
>
> Check out the new Asterisk community forum at: https://community.asterisk.org/
>
> New to Asterisk? Start here:
>       https://wiki.asterisk.org/wiki/display/AST/Getting+Started
>
> asterisk-users mailing list
> To UNSUBSCRIBE or update options visit:
>    http://lists.digium.com/mailman/listinfo/asterisk-users



More information about the asterisk-users mailing list