[Asterisk-Users] Creating extension groups

Steven Critchfield critch at basesys.com
Wed Feb 23 08:52:33 MST 2005


On Wed, 2005-02-23 at 15:27 +0000, Kanishka Somaratne wrote:
> Hi
> 
> I want to create 2 groups of extensions, for example group 1 can’t
> make outgoing calls they can only call other extensions and extensions
> of group 2. group 2 can call any of the extensions + they can make out
> going calls using our SIP server.
> 
> Please let me know how to do this. I was going through the docs and I
> sae that I have to specify a group in zapta.conf , this is not clear
> please explain how to do this in detailed.
> 
> I want to know how to route all outgoing calls through our SIP server
> and how to stop some of the extensions from taking outgoing calls

Please do not use HTML when sending email as it adds nothing to the
display and more than doubles the data sent for the same message on top
of including the non HTML message.

What you need is to separate the users by using contexts in the
extensions conf. This is a regularly asked question.

[sip-outbounds]
exten => _9......,1,Dial(Your sip provider details)

[extensions]
Your internal extensions

[inbound]
The matching for inbound calls.
include => extensions

[restricted-users]
include => extensions

[not-restricted-users]
include => extensions
include => sip-outbounds


Hopefully this makes sense. 

-- 
Steven Critchfield <critch at basesys.com>




More information about the asterisk-users mailing list