[asterisk-users] autocreate peer + sippeers table entry => auth required?

Mark Price markprice at gmail.com
Fri Oct 27 15:59:23 MST 2006


In my setup, sip calls coming in through a proxy with a sip.conf entry set
to "autocreatepeer=yes" and context="proxy" get placed into context proxy in
the dial plan.  That is expected.

However, if the username in the From: address exists in the sippeers table,
it gets challenged for the password and on success is dropped into context
"default," even if the sip domain is not being served by asterisk.

What could be the problem?

Here is my sip.conf:

[general]
Autocreatepeer = no
context=default
domain = b.com
domain = sip.b.com
realm=b.com
bindport=5060
bindaddr=4.2.2.2
allow=g729,ulaw,alaw,speex,gsm
dtmfmode=rfc2833
rtcachefriends=yes
;bindaddr=0.0.0.0
srvlookup=yes
rtpkeepalive=1000
rtupdate=yes
port=5060
defaultexpirey=3600
tos=0x18
insecure=no

[ser]
type=peer
context=ser
host=4.2.2.3
canreinvite=yes
inseure=very
autocreatepeer=yes
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20061027/72129a5e/attachment.htm


More information about the asterisk-users mailing list