Skip to main content

execute_on_originate

Created by Ryan Harris, last modified by John Boteler on 2022.09.16

execute_on_originate

string

Execute syntax: <app> <arg>

Asynchronous syntax: <app>::<arg>

Executes code on successful origination.

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