username mismatch on calls from client

Home » Asterisk Users » username mismatch on calls from client
Asterisk Users No Comments

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 ,
digest has

NOTICE[834]: chan_sip.c:19961 handle_request_invite: Failed to authenticate
device “0014734068436” ;tag=as0b50a2f9

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

My sip.conf (asterisk client A)

register => openbts1:openbts12@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