[asterisk-users] peers are using wrong contexts

Drew Gibson drew at oanda.com
Tue Apr 17 09:16:17 MST 2007


Is this Asterisk 1.4.x?

from samples/extensions.conf...
;
; User context is where entries from users.conf are registered. The
; default value is 'default'
;
;userscontext=default
;

Is this any help?

regards,

Drew


dima wrote:
> 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
>
> _______________________________________________
> --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
>
>
>   

-- 
Drew Gibson

Systems Administrator
OANDA Corporation
www.oanda.com



More information about the asterisk-users mailing list