[Freeswitch-svn] [commit] r9718 - in freeswitch/trunk/conf: autoload_configs dialplan
Freeswitch SVN
brian at freeswitch.org
Sun Sep 28 22:14:30 EDT 2008
Author: brian
Date: Sun Sep 28 22:14:30 2008
New Revision: 9718
Modified:
freeswitch/trunk/conf/autoload_configs/ivr.conf.xml
freeswitch/trunk/conf/dialplan/default.xml
freeswitch/trunk/conf/dialplan/features.xml
Log:
please hold while I connect your call
Modified: freeswitch/trunk/conf/autoload_configs/ivr.conf.xml
==============================================================================
--- freeswitch/trunk/conf/autoload_configs/ivr.conf.xml (original)
+++ freeswitch/trunk/conf/autoload_configs/ivr.conf.xml Sun Sep 28 22:14:30 2008
@@ -16,7 +16,7 @@
<entry action="menu-exec-app" digits="3" param="transfer 9999 XML default"/> <!-- MOH -->
<entry action="menu-sub" digits="4" param="demo_ivr_submenu"/> <!-- demo sub menu -->
<entry action="menu-exec-app" digits="5" param="transfer 1234*256 enum"/> <!-- Screaming monkeys -->
- <entry action="menu-exec-app" digits="/^(10[01][0-9])$/" param="transfer $1 XML default"/>
+ <entry action="menu-exec-app" digits="/^(10[01][0-9])$/" param="transfer $1 XML features"/>
<entry action="menu-top" digits="9"/> <!-- Repeat this menu -->
</menu>
<!-- Demo IVR, Sub Menu -->
Modified: freeswitch/trunk/conf/dialplan/default.xml
==============================================================================
--- freeswitch/trunk/conf/dialplan/default.xml (original)
+++ freeswitch/trunk/conf/dialplan/default.xml Sun Sep 28 22:14:30 2008
@@ -203,7 +203,7 @@
<anti-action application="bind_meta_app" data="1 b s execute_extension::dx XML features"/>
<anti-action application="bind_meta_app" data="2 b s record_session::$${base_dir}/recordings/${caller_id_number}.${strftime(%Y-%m-%d-%H-%M-%S)}.wav"/>
<anti-action application="bind_meta_app" data="3 b s execute_extension::cf XML features"/>
- <anti-action application="set" data="transfer_ringback=${us-ring}"/>
+ <anti-action application="set" data="transfer_ringback=$${hold_music}"/>
<anti-action application="set" data="call_timeout=30"/>
<!-- <anti-action application="set" data="sip_exclude_contact=${network_addr}"/> -->
<anti-action application="set" data="hangup_after_bridge=true"/>
Modified: freeswitch/trunk/conf/dialplan/features.xml
==============================================================================
--- freeswitch/trunk/conf/dialplan/features.xml (original)
+++ freeswitch/trunk/conf/dialplan/features.xml Sun Sep 28 22:14:30 2008
@@ -29,6 +29,14 @@
</condition>
</extension>
+ <extension name="please_hold">
+ <condition field="destination_number" expression="^(10[01][0-9])$">
+ <action application="answer"/>
+ <action application="playback" data="ivr/ivr-hold_connect_call.wav"/>
+ <action application="transfer" data="$1 XML default"/>
+ </condition>
+ </extension>
+
<extension name="is_secure">
<!-- Only Truly consider it secure if its TLS and SRTP -->
<condition field="${sip_req_params}" expression="tls"/>
More information about the Freeswitch-svn
mailing list