[Asterisk-Users] Do includes include the includes

Arvanitis Kostas arvanit at ellemedia.com
Mon Jun 27 04:55:03 MST 2005


On Friday 17 June 2005 02:37, Chris Mason (Lists) wrote:
> I don't want building1 to access international, but does it inherit
> that include through including the office context? If it does, how
> can I structure a dialplan so that each building can call each other
> but building1 does not have international?

It includes everything, so you have to do something like:
[OfficeNums]
7xx

[Building1Nums]
1xx

[Building2Nums]
2xx

[Local]
whatever

[Internaltional]
whatever international

[Building1]
include => Building1Nums
include => Building2Nums
include => Local
include => OfficeNums

[Building2]
include => Building1Nums
include => Building2Nums
include => Local
include => OfficeNums
include => International



More information about the asterisk-users mailing list