[asterisk-users] peers are using wrong contexts

dima dima at scancom.es
Tue Apr 17 08:39:28 MST 2007


Hello, everyone.
Today I've installed an asterisk svn trunk (r61667). The problem I'm
having is no matter what context I set in the config file for that peer,
"default" is always being used.
The output of "sip show peers" shows the context correctly, but when I
try to make a call, using that peer, I can only dial the numbers set in
the "default" context.
Please, could anyone help me resolve this.
Thanks in advance.

This is a part of users.conf
[951XXXXXX]
callwaiting = yes
cid_number = 951XXXXXX
context = numberplan-custom-1
email =
fullname = New User
group =
hasagent = no
hasdirectory = no
hasiax = no
hasmanager = no
hassip = yes
hasvoicemail = yes
host = dynamic
mailbox = 951XXXXXX
secret = 000000
threewaycalling = yes
vmsecret = 1234
zapchan =
registeriax = no
registersip = yes



More information about the asterisk-users mailing list