Originate a call originate_function
<call url> <exten>|&<application_name>(<app_args>) [<dialplan>] [<context>] [<cid_name>] [<cid_num>] [<timeout_sec>]
发起一个呼叫电话。
originate <call_url> <exten>|&<application_name>(<app_args>)
[<dialplan>] [<context>] [<cid_name>] [<cid_num>] [<timeout_sec>]
<call_url>
<exten>|&<application_name>(<app_args>)
[<dialplan>] [<context>] [<cid_name>] [<cid_num>] [<timeout_sec>]
call_url
: 呼叫字符串。<exten>|&<application_name>(<app_args>)
:
是一个exten,或者&加上一个App,其中App的能数放在<dialplan>
: 可选,指定拨号计划。<context>
: 可选,指定上下文。<cid_name>
: 可选,指定来电显示名字。<cid_num>
: 可选,指定来电显示号码。<timeout_sec>
:可选,呼叫超时时秒数。originate user/1000 &echo
originate user/1000 &playback(/tmp/sound.wav)
originate user/1000 &record(/tmp/recording.wav)
originate user/1000 9196
originate user/1000 9196 XML default
originate user/1000 9196 XML default 'Hello World' 9196 30
originate user/1000 answer,playback:/tmp/pleace_leave_a_message.wav,record:/tmp/recording.wav
originate user/1000 playback:/tmp/beep.wav,bridge:user/1001
忽略Leg1的早期媒体,只有Leg1接通后,才会呼叫Leg2
originate {origination_caller_id_number=0108888888,ignore_early_media=true}sofia/external/13588888888@10.1.1.1 &bridge({origination_caller_id_number=0108888888}sofia/external/15876898908@10.1.1.1)