[asterisk-users] asterisk regiserted as a client check_auth: username mismatch on calls from client

dave george dgeorge at teletoneinc.com
Fri Dec 24 15:17:21 UTC 2010


I have my asterisk Server A registered as a client with another asterisk
Server B.

When I place a call from Server A to B I get the following:

WARNING[834]: chan_sip.c:12673 check_auth: username mismatch, have <SS72>,
digest has <openbts1>

NOTICE[834]: chan_sip.c:19961 handle_request_invite: Failed to authenticate
device "0014734068436" <sip:0014734068436 at x.x.x.x>;tag=as0b50a2f9

I can call from server A to Server B with no problem


My sip.conf (asterisk client A)

register => openbts1:openbts12 at x.x.x.x:5060


[SS72]
type=peer
canreinvite=no
secret=openbts12
username=openbts1
host=x.x.x.x
context=openbts
fromuser=openbts1
dtmfmode=info
fromdomain=x.x.x.x
insecure=port,invite
qualify=yes
disallow=all
allow=gsm


sip.conf (asterisk Server B)

[openbts1]
type=peer
username=openbts1
secret=openbts12
host=dynamic
canreinvite=no
qualify=yes
context=local
dtmfmode=rfc2833
nat=yes
disallow=all
allow=gsm

any suggestions welcome.


Dave




More information about the asterisk-users mailing list