According to your setting, below is meaningless.  Am I right?

[apps]
include => emergency
include => cfwd
include => mailbox

[emergency]
exten => 911,1,do stuff here

[cfwd]
exten => *31,1, enable cfwd
exten => *32,1, disable cfwd
exten => 911,1, do stuff2 here
exten => 911,1, do stuff3 here

[mailbox]
exten => *41,1, enable mailbox
exten => *42,1, disable mailbox


On 7/17/06, Kai Ober <[EMAIL PROTECTED]> wrote:
I use include in an other way than you do.
i use different extensions, not the same in each includet context, maybe
that makes more sense (to you)

[apps]
include => emergency
include => cfwd
include => mailbox


[emergency]
exten => 911,1,do stuff here

[cfwd]
exten => *31,1, enable cfwd
exten => *32,1, disable cfwd

[mailbox]
exten => *41,1, enable mailbox
exten => *42,1, disable mailbox


> Thanks again.  But I want to ask what is the usage of include if it is
> a continue-until-matched type of contruct.

_______________________________________________
--Bandwidth and Colocation provided by Easynews.com --

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users

_______________________________________________
--Bandwidth and Colocation provided by Easynews.com --

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
  http://lists.digium.com/mailman/listinfo/asterisk-users

Reply via email to