[asterisk-users] URgent - capturing 'answered'

Philipp von Klitzing klitzing at pool.informatik.rwth-aachen.de
Tue Jul 27 05:34:37 CDT 2010


Hi!

> Great, but how exactly do i find that channel - that is my question -
> which command.

For the third time: Use the M option to Dial() and create a Macro. In 
that macro use the SIPCHANINFO() or CHANNEL() function to get what you 
want to get. No AGI (and AGI is a protocol while Ruby is a language).

>> If all you need to do is the the channel name of the channel that 
>> answered the phone why are you doing so much work? Version 1.4 
>> allows for an agi to be called when the dial command is answered.
>> Version 1.6+ allows an agi as well as a macro to be called. You 
>> can find the channel that answered a multi channel dial command. 
>> Is this not what you wanted to know?

Philipp




More information about the asterisk-users mailing list