[Asterisk-Users] Host Authentication Problems

Dave Kettmann dkettmann at netlogic.net
Thu Jun 2 13:03:15 MST 2005


Hi List,

I am having trouble connecting two * boxes together via SIP. It looks like * is authenticating the hostname, not the username. The Sip.conf looks fine on both sides, but I get:

Jun  2 14:44:52 WARNING[2407]: chan_sip.c:6829 handle_response: Forbidden - wrong password on authentication for INVITE to '"+1XXXXXXXXXX" <sip:+1XXXXXXXXXX at 206.80.70.56>;tag=as562b672b'
    -- SIP/+1ZZZZZZZZZZ-03e2 is circuit-busy
  == Everyone is busy/congested at this time
    -- Got SIP response 481 "Call Leg Does Not Exist" back from XX.XXX.XX.XXX

The X's are the call-from number, in this case it is a Cellphone outside of the * network. The Z's are the call-to number.

Here is the entry from the sip.conf on the 1st * box:

[+1XXXXXXXXXX]
qualify=yes
type=friend
host=dynamic
context=netess
username=+1XXXXXXXXXX
secret=secret
callerid=<+1XXXXXXXXXX>
dtmfmode=rfc2833
canreinvite=no
disallow=all
allow=ulaw
allow=g729

Here is the entry from the sip.conf on the 2nd * box (this * box registers to the 1st * box)

register => +1XXXXXXXXXX:secret at first.asterisk.box/+1XXXXXXXXXX

[+1XXXXXXXXXX]
type=peer
username=+1XXXXXXXXXX
secret=secret
host=first.asterisk.box
disallow=all
allow=ulaw


Thanks in advance for the help.

Dave Kettmann
NetLogic
314-266-4000




More information about the asterisk-users mailing list