[Asterisk-Users] Loop counter variable in dialplan?
How can I loop through something x number of times in the dialplan? i.e. if I get an invalid extension I want to re-play the menu, but not forever. Maybe 3 tries or something. I'm pretty sure that I've seen it before, where you can increment a variable and do Gotos based on it. But I've searched the Asterisk handbook, searched the user archives, and Googled for it, and can't find it now. Anyone have a link with an example of this? Thanks. ___ Asterisk-Users mailing list [EMAIL PROTECTED] http://lists.digium.com/mailman/listinfo/asterisk-users
Re: [Asterisk-Users] Loop counter variable in dialplan?
On Wed, 2003-10-08 at 09:40, Matt Lawson wrote: How can I loop through something x number of times in the dialplan? i.e. if I get an invalid extension I want to re-play the menu, but not forever. Maybe 3 tries or something. I'm pretty sure that I've seen it before, where you can increment a variable and do Gotos based on it. But I've searched the Asterisk handbook, searched the user archives, and Googled for it, and can't find it now. Anyone have a link with an example of this? Thanks. http://lists.digium.com/pipermail/asterisk-users/2003-April/009617.html -- Steven Critchfield [EMAIL PROTECTED] ___ Asterisk-Users mailing list [EMAIL PROTECTED] http://lists.digium.com/mailman/listinfo/asterisk-users
Re: [Asterisk-Users] Loop counter variable in dialplan?
Google search: site:lists.digium.com loop counter There are several threads that discuss it, I liked the 5th one down: http://lists.digium.com/pipermail/asterisk-users/2003-September/019760.html On Wed, 8 Oct 2003, Matt Lawson wrote: How can I loop through something x number of times in the dialplan? i.e. if I get an invalid extension I want to re-play the menu, but not forever. Maybe 3 tries or something. I'm pretty sure that I've seen it before, where you can increment a variable and do Gotos based on it. But I've searched the Asterisk handbook, searched the user archives, and Googled for it, and can't find it now. Anyone have a link with an example of this? Thanks. ___ Asterisk-Users mailing list [EMAIL PROTECTED] http://lists.digium.com/mailman/listinfo/asterisk-users ___ Steve Creel[EMAIL PROTECTED] ___ Asterisk-Users mailing list [EMAIL PROTECTED] http://lists.digium.com/mailman/listinfo/asterisk-users