On 02/16/2018 10:50 AM, [email protected] 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:[email protected]>;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

-- 
_____________________________________________________________________
-- 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

Reply via email to