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 Thank you, Kanishka -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20050223/cd32fa4b/attachment.htm
in extensions.conf, create a context for your internal extensions. In the context for outgoing calls, add include => internalextensions. Then in zapata.conf, for each extension put context=internalextensions for people with no outgoing access, and put the others in the context of the outgoing calls. On Wed, 2005-02-23 at 09:27, 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 > > > > Thank you, > > Kanishka > > > > > ______________________________________________________________________ > > _______________________________________________ > Asterisk-Users mailing list > Asterisk-Users@lists.digium.com > http://lists.digium.com/mailman/listinfo/asterisk-users > To UNSUBSCRIBE or update options visit: > http://lists.digium.com/mailman/listinfo/asterisk-usersDennis Webb Delta Express #3 Afco Road West Memphis, AR 72301 (901)508-9711 -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20050223/545d0a6e/attachment.htm
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 callsPlease 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@basesys.com>