[Asterisk-Users] Includes include the includes?

Tarpo, Louie louie.tarpo at adamaircraft.com
Wed Jun 15 18:03:15 MST 2005


Yes it does.  You want something like this...

[office]
include => default
include => local
include => international

[building1]
include => default
include => local

[default]
exten => 700,1,Dial(SIP/${EXTEN})
exten => 100,1,Dial(SIP/${EXTEN})
exten => 200,2,Dial(SIP/${EXTEN})
;and so on for your other extensions

-----Original Message-----
From: asterisk-users-bounces at lists.digium.com
[mailto:asterisk-users-bounces at lists.digium.com]On Behalf Of Chris Mason
(Lists)
Sent: Wednesday, June 15, 2005 6:49 PM
To: 'Asterisk Users Mailing List - Non-Commercial Discussion'
Subject: [Asterisk-Users] Includes include the includes?


I am grouping my extensions by building like so:
1XX  is Building 1
2XX  is Building 2
7XX  is Office

[Office] extensions has the following includes
7xx
Include => Local
Include => International
Include => Building1
Include => Building2

[Building1] has 
1xx
Include => Office
Include => Building2
Include => Local

I done't want building1 to access international, but does it inherit that
include through including the office context?


Chris Mason

_______________________________________________
Asterisk-Users mailing list
Asterisk-Users at 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



More information about the asterisk-users mailing list