[Asterisk-Users] AGI onAnswer function: does it exist?

Vlasis Hatzistavrou asterisk at kinetixtele.com
Thu Feb 16 06:43:24 MST 2006


Hello,

I am trying to write an AGI in Perl and I need to execute a function upon answer of a call. 

I know that there is the possibility to use the M() option in the Dial command in order to do what I need, but that would mean that I would have to incorporate the function's work in a different AGI program, and I need to avoid this.

So, I would like to know if such an option is available in AGI like an onanswer() function or something equivalent that I can use.

Any help would be really appreciated, as I've been searching www.voip-info.org and the Asterisk mailing lists for days now, without any success.

Best regards,
Vlasis Hatzistavrou.




More information about the asterisk-users mailing list