[asterisk-users] users.conf and hints

Jeremy Mann
Tue, 04 Nov 2008 16:30:10 -0000

Is there a way to override sip peers defined in users.conf with respect to their
context and hints?

Every extension I have defined in users.conf always gets an @default for the
hint priority.  Below are asterisk outputs and users.conf entries.  In peer 1203
I've set a subscribecontext, which is completely ignored.

Thanks for any help.

nurscarepbx*CLI> core show version
Asterisk 1.4.22 built by root @ nurscarepbx on a x86_64 running Linux on
2008-10-16 12:37:36 UTC

Pbx*CLI> show hints
...
1203 at default             : SIP/1203              State:Idle
Watchers  0
1202 at default             : SIP/1202              State:Idle
Watchers  0
...

Users.conf

[1202]
fullname = 1202
secret = 1202
hasvoicemail = yes
mailbox = 1202 at default
vmsecret = 1234
hassip = yes
hasmanager = no
callwaiting = no
context = from-nortel
call-limit = 4
dynamic = yes
qualify = yes
host = dynamic

[1203]
fullname = 1203
secret = 1203
hasvoicemail = yes
mailbox = 1203 at default
vmsecret = 1234
hassip = yes
hasmanager = no
callwaiting = no
context = from-nortel
subscribecontext = internal
call-limit = 4
dynamic = yes
qualify = yes
host = dynamic

Jeremy Mann
Director of IT
Texas Health Management Group
Direct Line: 817-310-4956
Main Line: 817-310-4999
Fax: 817-310-4990
Email: jmann at txhmg.com


________________________________
This e-mail, facsimile, or letter and any files or attachments transmitted with
it contains information that is confidential and privileged. This information is
intended only for the use of the individual(s) and entity(ies) to whom it is
addressed. If you are the intended recipient, further disclosures are prohibited
without proper authorization. If you are not the intended recipient, any
disclosure, copying, printing, or use of this information is strictly prohibited
and possibly a violation of federal or state law and regulations. If you have
received this information in error, please notify Texas Health Management Group
immediately at 1-817-310-4999. Texas Health Management Group, its subsidiaries,
and affiliates hereby claim all applicable privileges related to this
information.
-------------- next part --------------
An HTML attachment was scrubbed...