Variable execute on originate

From FreeSWITCH Wiki

Jump to: navigation, search

execute_on_originate

Executes code on successful origination. Use the '<app> <arg>' format to execute in the origination thread or use '<app>::<arg>' to execute asynchronously.

Successful origination means the remote server responds, NOT when the call is actually answered.

Usage:

originate {ignore_early_media=true,execute_on_originate='cng_plc'}sofia/gateway/foo/123456789 9664
originate {ignore_early_media=true,execute_on_originate='my_app::my_arg'}sofia/gateway/foo/123456789 9664


See also:

Implemented By:

Module Name Source File Last Updated
Leave blank if you don't know it Leave blank if you don't know it Leave blank if you don't know it
Personal tools

Community
Support FreeSWITCH