[asterisk-dev] Help to catch media immediately after channel being answered
Yaroslav Panych
panych.y at gmail.com
Sun May 29 13:50:31 CDT 2011
Hello to all
Working with asterisk for couple of month, and got such task: I need
to catch audio data(a couple of seconds)(and probably send some signal
too, but it is optionally), which asterisk will receive after channel
being answered(inbound call). I did not found any hook-system in
source where I can register my code for such event. For now I wrote
dialplan application which do my task and called right after ANSWER
application, but the problem is channel can be answered by other
applications and I will miss data I interested in. Now I trying to
analyse __ast_answer function in channel.c, but I'm not sure it is
right place. Probably there are other suitable places which I did not
discovered yet?
Regards, FeyFre
PS: Sorry for duplicate. It seems my former message appeared in wrong place.
More information about the asterisk-dev
mailing list