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

Steve Edwards asterisk.org at sedwards.com
Thu Feb 14 09:05:33 CST 2013


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 happen for all calls and is not reproducible, it is 
> random.

Maybe you are violating the AGI protocol. Are you using an established 
library or did you roll your own?

> My asterisk server handles about 100 calls per minute, so its impossible 
> for me to do an 'agi set debug' and observer the output

That's less than 2 per second, so the output may be voluminous, but not 
impossible.

Without some AGI debugging output it will be difficult to suggest anything 
relevant.

-- 
Thanks in advance,
-------------------------------------------------------------------------
Steve Edwards       sedwards at sedwards.com      Voice: +1-760-468-3867 PST
Newline                                              Fax: +1-760-731-3000



More information about the asterisk-users mailing list