[asterisk-users] peers are using wrong contexts

Bobby Crawford bcrawford at stasyx.com
Wed Apr 18 12:40:54 MST 2007


> -----Original Message-----
> From: asterisk-users-bounces at lists.digium.com [mailto:asterisk-users-
> bounces at lists.digium.com] On Behalf Of dima
> Sent: Tuesday, April 17, 2007 10:39 AM
> To: asterisk-users at lists.digium.com
> Subject: [asterisk-users] peers are using wrong contexts
> 
> 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

Do you have the context numberplan-custom-1 in your extensions.conf file?  I
think if you don't have it in extensions.conf then it goes back to using
default.

> 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
> 
> _______________________________________________
> --Bandwidth and Colocation provided by Easynews.com --
> 
> asterisk-users mailing list
> To UNSUBSCRIBE or update options visit:
>    http://lists.digium.com/mailman/listinfo/asterisk-users



More information about the asterisk-users mailing list