[asterisk-users] users.conf and hints

Tilghman Lesher tilghman at mail.jeffandtilghman.com
Tue Nov 4 16:42:20 CST 2008


On Tuesday 04 November 2008 10:30:10 Jeremy Mann wrote:
> Is there a way to override sip peers defined in users.conf with respect to
> their context and hints?

No, there is not.  Users.conf is meant to be a very simple interface for
adding users, designed especially for the Asterisk GUI project.  It has never
been a general purpose good interface for the full complement of Asterisk
features.  If you want a simple interface, use users.conf.  If you want full
features, use each configuration file separately.

> 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.

That's not what subscribecontext does.  Subscribecontext contains the context
where your phone will LOOK for extension states when it watches other
extensions.

-- 
Tilghman



More information about the asterisk-users mailing list