[asterisk-dev] AGI onAnswer function: does it exist?

Vlasis Hatzistavrou asterisk at kinetixtele.com
Mon Feb 20 07:40:05 MST 2006


Hello,

I have a question that is very technical in nature, and this is why it is more relevant to the Asterisk-Dev list rather than Asterisk-Users list. 

Here is the issue:

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 ask the developers 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-dev mailing list