Hi all, I am trying to understand contexts a bit better. The problem I have is when you know when a context is finished. Is this when a new context starts? Example: [context1] exten => _9170X,1,Dial(IAX2/${IAXINFO}@iaxtel.com/${EXTEN:1}@iaxtel) [context2] exten => 6394,1,Dial(Local/6275/n) When your call starts at context1, will it automatically go to context2 when context1 is finished? Hope someone can shed some light on this.... Thanks, Rene
Rene wrote:> Hi all, > > I am trying to understand contexts a bit better. The problem I have is >This should help: http://www.asteriskdocs.org/modules/tinycontent/content/docbook/current_v1/docs-html/c650.html Doug -- Ben Franklin quote: "Those who would give up Essential Liberty to purchase a little Temporary Safety, deserve neither Liberty nor Safety."
Yep, that should help, and the short answer to you question is NO. Regards On 9/9/06, Doug Lytle <support@drdos.info> wrote:> Rene wrote: > > Hi all, > > > > I am trying to understand contexts a bit better. The problem I have is > > > > > This should help: > > http://www.asteriskdocs.org/modules/tinycontent/content/docbook/current_v1/docs-html/c650.html > > > Doug > > > -- Ben Franklin quote: "Those who would give up Essential Liberty to > purchase a little Temporary Safety, deserve neither Liberty nor Safety." > > _______________________________________________ > --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 >-- "Su nombre es GNU/Linux, no solamente Linux, mas info en http://www.gnu.org"
Nope. A context ends when a new one starts. The only way for a call to continue is to have a maching extension, and the next higher priority. If you want a call to continue in another context, you need to use the Goto() application. On September 9, 2006 19:04, Rene wrote:> Hi all, > > I am trying to understand contexts a bit better. The problem I have is > when you know when a context is finished. Is this when a new context > starts? > > Example: > [context1] > exten => _9170X,1,Dial(IAX2/${IAXINFO}@iaxtel.com/${EXTEN:1}@iaxtel) > > [context2] > exten => 6394,1,Dial(Local/6275/n) > > When your call starts at context1, will it automatically go to context2 > when context1 is finished? > > Hope someone can shed some light on this.... > > Thanks, > Rene > > _______________________________________________ > --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-- Tim St. Pierre IP telephony specialist sip://5101@communicatefreely.net Toronto: 647 722 6930 Toll-Free 1 888 488 6940 tim@communicatefreely.net -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 187 bytes Desc: not available Url : http://lists.digium.com/pipermail/asterisk-users/attachments/20060909/62b96cde/attachment.pgp