Its good to know the MATH function because it can do much more and also deal with floating point numbers. However in your case a simple addition would be suffice as other posters posted, or try Danny's GotoIf if it fits your scenario.
Set(vgLabel=vg${MATH(${vg}+1,i)}) Zeeshan A Zakaria -- www.ilovetovoip.com www.pbxforall.com On 2010-11-03 9:39 AM, "Philipp von Klitzing" < klitz...@pool.informatik.rwth-aachen.de> wrote: > exten => s,n,Set(vgLabel=vg(${number}+1)) > exten => s,n,GoTo(${vgLabel}) > > But in stead of vgL... Use the MATH function. Philipp -- _____________________________________________________________________ -- Bandwidth and Colocat...
-- _____________________________________________________________________ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- New to Asterisk? Join us for a live introductory webinar every Thurs: http://www.asterisk.org/hello asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users