[asterisk-users] no special context for sip peer

Christophorus Laube bob at SemanticEdge.de
Mon Mar 19 05:23:34 MST 2007


Hi list,

I want to set up special contexts for every sip user. But a context=XYZ 
does not help in the perr definition as I have to provide a context in 
the general section of sip.conf. This is my sip.conf:

[general]
port=5060
bindaddr=192.168.0.75
disallow=all 
allow=ulaw 
allow=alaw 
context=SIP
maxexprirey=3600
defaultexpirey=120
language=de
pritrustusercid=yes 
callerid=asreceived

[bob]
type=peer
username=bob
host=dynamic
secret=nothing
context=BOB_SIP
qualify=yes
canreinvite=yes
callingpres=allowed_passed_screen


So what am I doing wrong? What do I have to change in order to get my 
BOB_SIP extensions to work when I am doing a call from this peer? Now * 
always takes the "default" context SIP.
Regards, Christophorus


More information about the asterisk-users mailing list