I am new to Asterisk and currently work mainly with Cisco Callmanager. With Callmanager I can setup partitions and call search spaces to determine where a given phone can and can't dial. Does Asterisk offer this type of functionality, and if so how? Blake Parker -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20050316/0f50ada0/attachment.htm
-----Original Message----- From: Parker, Blake (MIS) [mailto:Blake.Parker@alacare.com] Sent: Wednesday, March 16, 2005 12:41 PM To: asterisk-users@lists.digium.com Subject: [Asterisk-Users] Asterisk Capabilities I am new to Asterisk and currently work mainly with Cisco Callmanager. With Callmanager I can setup partitions and call search spaces to determine where a given phone can and can't dial. Does Asterisk offer this type of functionality, and if so how? [David Brodbeck] Yes. Look into "dialplans" and "extension contexts". -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20050316/52c45e51/attachment.htm
Parker, Blake (MIS) wrote:> I am new to Asterisk and currently work mainly with Cisco Callmanager. > With Callmanager I can setup partitions and call search spaces to > determine where a given phone can and can?t dial. Does Asterisk offer > this type of functionality, and if so how?In Asterisk those are referred to as "contexts" in the dial plan (extensions.conf).
Parker, Blake (MIS) wrote:> > I am new to Asterisk and currently work mainly with Cisco Callmanager. > With Callmanager I can setup partitions and call search spaces to > determine where a given phone can and can?t dial. Does Asterisk offer > this type of functionality, and if so how? > > ***Blake Parker*Blake, This is accomplished by using contexts. The page at http://www.voip-info.org/wiki-Asterisk+contexts does not help much, but basically the idea is your devices - Zap channels, SIP, Skinny, IAX, etc. all have a context to which they belong, and they can only make calls to numbers that match in that context: sip.conf: [myphone] context=staff username=myphone ...etc... [bossphone] context=executives username=bossphone extensions.conf: [executives] include => staff include => int-out [staff] include => ld-out include => local-out include => default [ld-out] exten => _1NXXNXXXXXX,1,Dial({MYTRUNK}/${EXTEN},20) exten => ...etc... [local-out] exten => _NXXXXXX,1,Dial({MYTRUNK}/${EXTEN},20) exten => ...etc... [int-out] exten => _011.,1,Dial({MYTRUNK}/${EXTEN},20) exten => ...etc... In this example, the phones in the "staff" context can only dial numbers that are local or long distance (US + Canada). Any international numbers (011 access code + digits), can only be dialed by the phones in the "executives" context. Does this help? -- Kristian Kielhofner
Yes this helps a lot. thanks -----Original Message----- From: asterisk-users-bounces@lists.digium.com [mailto:asterisk-users-bounces@lists.digium.com] On Behalf Of Kristian Kielhofner Sent: Wednesday, March 16, 2005 12:41 PM To: Asterisk Users Mailing List - Non-Commercial Discussion Subject: Re: [Asterisk-Users] Asterisk Capabilities Parker, Blake (MIS) wrote:> > I am new to Asterisk and currently work mainly with Cisco Callmanager.> With Callmanager I can setup partitions and call search spaces to > determine where a given phone can and can't dial. Does Asterisk offer> this type of functionality, and if so how? > > ***Blake Parker*Blake, This is accomplished by using contexts. The page at http://www.voip-info.org/wiki-Asterisk+contexts does not help much, but basically the idea is your devices - Zap channels, SIP, Skinny, IAX, etc. all have a context to which they belong, and they can only make calls to numbers that match in that context: sip.conf: [myphone] context=staff username=myphone ...etc... [bossphone] context=executives username=bossphone extensions.conf: [executives] include => staff include => int-out [staff] include => ld-out include => local-out include => default [ld-out] exten => _1NXXNXXXXXX,1,Dial({MYTRUNK}/${EXTEN},20) exten => ...etc... [local-out] exten => _NXXXXXX,1,Dial({MYTRUNK}/${EXTEN},20) exten => ...etc... [int-out] exten => _011.,1,Dial({MYTRUNK}/${EXTEN},20) exten => ...etc... In this example, the phones in the "staff" context can only dial numbers that are local or long distance (US + Canada). Any international numbers (011 access code + digits), can only be dialed by the phones in the "executives" context. Does this help? -- Kristian Kielhofner _______________________________________________ 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-users
-----Original Message----- I am new to Asterisk and currently work mainly with Cisco Callmanager. With Callmanager I can setup partitions and call search spaces to determine where a given phone can and can't dial. Does Asterisk offer this type of functionality, and if so how? -when you set up a dialplan, you give access to other contexts with include statements. With a properly segmented dialplan, you can accomplish your goal very simply. -Btw-welcome to the community and get to know www.voip-info.org/wiki-asterisk It is your friend. Jason Kawakami www.optellabs.com Salt Lake City, UT