originate {origination_caller_id_number=1000}sofia/default/1000@123.123.123.123 &bridge({origination_caller_id_number=2000}sofia/default/2000@321.321.321.321)
originate
Originate a new call.
Usage: originate <call_url> <exten>|&<application_name>(<app_args>)
[dialplan] [context] [cid_name] [cid_num] [timeout_sec]
Parameters:
<call_url> URL you are calling.
For more info on sofia SIP URL syntax see: FreeSwitch Endpoint Sofia
Destination, one of:
<exten> Destination number to enter dialplan with
&<application_name>(<app_args>)
"&" indicates what follows is an application name, not an exten
(<app_args>) is optional (not all applications require parameters, eg park)
Here is a list of valid application names that can be used here:
park, bridge, javascript/lua/perl, playback (remove mod_native_file), and many others.
Note: Use single quotes to pass arguments with spaces, e.g. '&lua(test.lua arg1 arg2)'
Note: There is no space between & and the application name
<dialplan> Defaults to 'XML' if not specified.
<context> Defaults to 'default' if not specified.
<cid_name> CallerID name.
<cid_num> CallerID number.
<timeout_sec> Timeout in seconds.