[Asterisk-Users] "i" extension with invalid context

Race Vanderdecken asteriskusers at codetyrant.com
Tue Feb 15 17:24:59 MST 2005


Without reaching for a manual, is there a logic test for a context
existence?

If ( context exists )
	Goto that context

? 

Race

-----Original Message-----
From: asterisk-users-bounces at lists.digium.com
[mailto:asterisk-users-bounces at lists.digium.com] On Behalf Of Kevin P.
Fleming
Sent: Tuesday, February 15, 2005 4:30 PM
To: Asterisk Users Mailing List - Non-Commercial Discussion
Subject: Re: [Asterisk-Users] "i" extension with invalid context

Bryan Elliot wrote:

> But, if I issue a "Goto" command to an invalid context, then no "i" 
> extension appears to be invoked.

Yes, that is expected behavior. The "i" extension is used for invalid 
extensions only.

> Is this intended behavior? How can I get it to go to "i" if the
context 
> being Goto'd is invalid?

I don't believe that there is a solution for that currently, other than 
to not do it in the first place :-)
_______________________________________________
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