Variable api on answer

From FreeSWITCH Wiki
Jump to: navigation, search

api_on_answer

Execute an api (not an application) when the called party answers. To set an application, use execute_on_answer.


Usage:

<action application="export" data="nolocal:api_on_answer=uuid_broadcast ${uuid} beep.wav both"/>

Or,

 <action application="bridge" data="{api_on_answer='uuid_broadcast ${uuid} beep.wav both'}sofia/gateway/provider/5551231234"/>


See also:


Implemented By:

Module Name Source FileLast Revised
coreswitch_channel.c 15207