Re: [Asterisk-Users] AGI script always returning 0

2005-11-28 Thread Health Masters
I have that problem also when trying to use perl agi scripts.. although not with php scripts. What would the output be if problem with perl? Benoît Mérouze wrote: Hello, I've noticed my AGI, in Perl, was always returning 0 even if exit from it with something else than 0. On http://www.voip-in

[Asterisk-Users] AGI script always returning 0

2005-11-28 Thread Benoît Mérouze
Hello, I've noticed my AGI, in Perl, was always returning 0 even if exit from it with something else than 0. On http://www.voip-info.org/wiki/view/Asterisk+cmd+AGI, it's said : "[AGI] Returns -1 on hangup or if application requested hangup, or 0 on non-hangup exit." But I tried also to hang up