[asterisk-dev] Help to catch media immediately after channel being answered

Yaroslav Panych panych.y at gmail.com
Wed Jun 1 03:23:00 CDT 2011


2011/5/31 Russell Bryant <russell at digium.com>:
>
> There are a couple of hook APIs that can be used for this.
>
> to hook into audio frames:
>    include/asterisk/audiohook.h
>    example usage: funcs/func_volume.c
>
> to hook into _all_ frames (1.8 and up):
>    include/asterisk/framehook.h
>    no example usage yet (it's being used for T.38 Gateway support)
>

Tanks, I think it is exactly what I need. And derived question - how
to create framehook for all channels(including newly created in
future). But for now it is enough for me to create framehook in
dialplan manually.



More information about the asterisk-dev mailing list