Re: [asterisk-users] Variables set by AGI lost in dialplan

2013-02-15 Thread Deepesh D
On Thu, Feb 14, 2013 at 8:35 PM, Steve Edwards wrote: > On Thu, 14 Feb 2013, Deepesh D wrote: > >> The problem I am facing is that sometimes the variables are wrongly >> received as 0 (zero) in the dialplan even if the AGI has set it to a >> non-zero value. > > > Are the variables actually set to

Re: [asterisk-users] Variables set by AGI lost in dialplan

2013-02-14 Thread Steve Edwards
On Thu, 14 Feb 2013, Deepesh D wrote: The problem I am facing is that sometimes the variables are wrongly received as 0 (zero) in the dialplan even if the AGI has set it to a non-zero value. Are the variables actually set to '0' and not '' (like an undefined variable)? This error does not

Re: [asterisk-users] Variables set by AGI lost in dialplan

2013-02-14 Thread Yves A.
are the calls always handled in the same manner, or sometimes different, e.g. with conferencing, bridging, transferring, using local channels and and and...? in that case try to use two underscores before the variablename to use inheritance. maybe you accidentially swap the channels? you could

Re: [asterisk-users] Variables set by AGI lost in dialplan

2013-02-14 Thread Mikhail Lischuk
Deepesh D писал 14.02.2013 11:40: > My asterisk server handles about 100 calls per minute, so > its impossible for me to do an 'agi set debug' and observer the output You can turn debugging on for some period of time (until you get an error) and then just look back at /var/log/asterisk/debug