[Asterisk-Users] about AGI command parsing

Robert Spielmann spielmann at tal.de
Thu Jan 13 07:45:08 MST 2005


Hi,

I still have some trouble with the AGI interface:

- I can use EXEC now, but it never gives me the error returned by the executed 
application, if an error occurs
- I can use ANSWER, but I have to put something else behind "ANSWER". If I say 
"ANSWER", I get "510 Invalid or unknown command". If I say "ANSWER ''" or 
"ANSWER ." or whatever, it works.
- HANGUP does not work at all, if I say "HANGUP" I get "510 Invalid or unknown 
command", if I put something behing "HANGUP" I get return value -1, if I put 
a channel name behind "HANGUP", I also get return value -1.

Maybe I'm missing something, or is the AGI command parser broken? :-)

Robert Spielmann
-----------------------------------------------------
TAL.DE  Klaus Internet Service GmbH  spielmann at tal.de
Robertstr. 6        *      D-42107 Wuppertal, Germany
Tel +49 (0) 202 495-364  *  Fax +49 (0) 202 / 495-399




More information about the asterisk-users mailing list