sip - How can free switch initiate a conference by a scheduled time -
i've tried set conference call using asterisk & free switch sip soft phone xlite. i'm able conference using both asterisk & free switch xlite. i'm trying reverse way instead of endpoints start conference,let free switch self start conference @ scheduled time. per research i've done i've wrote dialplan file make work out.
these application & api useful idea, minute-of-day --> scheduling task @ perticular time conference_set_auto_outcall --> calling endpoints join conference
i've added below default.xml of dialplan
<extension name = "scheduling" > <! -- condition every day @ 10 start conference--> <condition minute-of-day= "600"> <!-- conference action --> <!--condition field="destination_number" expression="^(3000)$"--> <action application="answer"/> <action application="set" data="conference_auto_outcall_timeout=5"/> <action application="set" data="conference_auto_outcall_flags=none"/> <action application="set" data="conference_auto_outcall_caller_id_name=$${effective_caller_id_name}"/> <action application="set" data="conference_auto_outcall_caller_id_number=$${effective_caller_id_number}"/> <action application="set" data="conference_auto_outcall_profile=default"/> <!-- called detsination --> <action application="conference_set_auto_outcall" data="user/1001@$${domain}"/> <action application="conference_set_auto_outcall" data="user/1002@$${domain}"/> <action application="conference_set_auto_outcall" data="user/1003@$${domain}"/> <action application="conference" data="$1@default"/> </condition> </extension>
i'm not able find out why it's not working ? atleast actions should perform @ scheduled time. after changes i've reloaded xml in below way start fc_cli & run reloadxml command
the dialplan extension, , therefore time-routing condition, not run on it's own. has called, unless there call transversing dialplan , triggering 'scheduling' extension, not work. best way go use originate
command call users , bridge them conference:
fs_cli -x "originate sofia/internal/1000@$${domain} &conference($1@default)"
fs_cli -x "originate sofia/internal/1001@$${domain} &conference($1@default)"
fs_cli -x "originate sofia/internal/1002@$${domain} &conference($1@default)"
you can put on cron run on time want , should accomplish trying above.
Comments
Post a Comment