From 0f42472ab9f30645520da2dda9e2e7b3d7e6cb11 Mon Sep 17 00:00:00 2001 From: Brian West <brian@freeswitch.org> Date: Fri, 12 Sep 2008 14:40:02 +0000 Subject: [PATCH] example of using mod_conference to auto call out on entry. You can add multipe conference_set_auto_outcall's as needed git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@9534 d0543943-73ff-0310-b7d9-9358b9ac24b2 --- conf/dialplan/default.xml | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) diff --git a/conf/dialplan/default.xml b/conf/dialplan/default.xml index af0c36236d..6014a45d20 100644 --- a/conf/dialplan/default.xml +++ b/conf/dialplan/default.xml @@ -230,6 +230,25 @@ </condition> </extension> + <!--This extension will start a conference and invite several people upon entering --> + <extension name="0911"> + <condition field="destination_number" expression="0911"> + + <!--These params effect the outcalls made once you join--> + <action application="set" data="conference_auto_outcall_caller_id_name=Mad Boss"/> + <action application="set" data="conference_auto_outcall_caller_id_number=0911"/> + <action application="set" data="conference_auto_outcall_timeout=60"/> + <action application="set" data="conference_auto_outcall_flags=none"/> + <!--<action application="set" data="conference_auto_outcall_announce=say:You have been called into an emergency conference"/>--> + + <!--Add as many of these as you need, These are the people you are going to call--> + <action application="conference_set_auto_outcall" data="sofia/gateway/asterlink.com/19184238080"/> + <action application="conference_set_auto_outcall" data="sofia/default/42@conference.freeswitch.org"/> + + <action application="conference" data="cool@default"/> + </condition> + </extension> + <!-- a sample IVR --> <extension name="ivr_demo"> <condition field="destination_number" expression="^5000$">