niels@wxn.nl
2005-May-19 02:54 UTC
[Asterisk-Users] GOTO statement in Realtime-Extensions not working like expected
Hi .. When I use the GoTo statement in realtime to goto a priority only ... E.g. Goto(3) then there's no problem But, If I try to jump to another context ... E.g. Goto(othercontext,${EXTEN},3) then it doesn't work If I process the same statement in extensions.conf things go well Are there things broken regarding GoTo in combination with Realtime Extensions ?
Bharat M. Sarvan
2005-May-20 05:00 UTC
[Asterisk-Users] GOTO statement in Realtime-Extensions not workinglike expected
Use the Goto statement with '|' instead of ','. And make tables for each context you have in the extensions.conf file. One thing I noticed is using Goto in real time extensions causes the jump back to the extensions.conf file. So first jump to extensions.conf and then specify another switch statement. But make a new table for each context in the extensions.conf. Regards: Bharat M. Sarvan -----Original Message----- From: asterisk-users-bounces@lists.digium.com [mailto:asterisk-users-bounces@lists.digium.com] On Behalf Of niels@wxn.nl Sent: Thursday, May 19, 2005 3:24 PM To: asterisk-users@lists.digium.com Subject: [Asterisk-Users] GOTO statement in Realtime-Extensions not workinglike expected Hi .. When I use the GoTo statement in realtime to goto a priority only ... E.g. Goto(3) then there's no problem But, If I try to jump to another context ... E.g. Goto(othercontext,${EXTEN},3) then it doesn't work If I process the same statement in extensions.conf things go well Are there things broken regarding GoTo in combination with Realtime Extensions ? _______________________________________________ Asterisk-Users mailing list Asterisk-Users@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