[Freeswitch-svn] [commit] r7612 - in freeswitch/trunk/conf: autoload_configs dialplan
Freeswitch SVN
brian at freeswitch.org
Thu Feb 14 13:05:52 EST 2008
Author: brian
Date: Thu Feb 14 13:05:52 2008
New Revision: 7612
Modified:
freeswitch/trunk/conf/autoload_configs/conference.conf.xml
freeswitch/trunk/conf/dialplan/default.xml
Log:
adding wideness
Modified: freeswitch/trunk/conf/autoload_configs/conference.conf.xml
==============================================================================
--- freeswitch/trunk/conf/autoload_configs/conference.conf.xml (original)
+++ freeswitch/trunk/conf/autoload_configs/conference.conf.xml Thu Feb 14 13:05:52 2008
@@ -91,4 +91,52 @@
<param name="caller-id-number" value="$${outbound_caller_id}"/>
</profile>
</profiles>
+
+ <profiles>
+ <profile name="wideband">
+ <param name="domain" value="$${domain}"/>
+ <param name="rate" value="16000"/>
+ <param name="interval" value="20"/>
+ <param name="energy-level" value="300"/>
+ <param name="sound-prefix" value="$${base_dir}/sounds/en/us/callie"/>
+ <param name="muted-sound" value="conference/conf-muted.wav"/>
+ <param name="unmuted-sound" value="conference/conf-unmuted.wav"/>
+ <param name="alone-sound" value="conference/conf-alone.wav"/>
+ <param name="moh-sound" value="$${moh_uri}"/>
+ <param name="enter-sound" value="tone_stream://%(200,0,500,600,700)"/>
+ <param name="exit-sound" value="tone_stream://%(500,0,300,200,100,50,25)"/>
+ <param name="kicked-sound" value="conference/conf-kicked.wav"/>
+ <param name="locked-sound" value="conference/conf-locked.wav"/>
+ <param name="is-locked-sound" value="conference/conf-is-locked.wav"/>
+ <param name="is-unlocked-sound" value="conference/conf-is-unlocked.wav"/>
+ <param name="pin-sound" value="conference/conf-pin.wav"/>
+ <param name="bad-pin-sound" value="conference/conf-bad-pin.wav"/>
+ <param name="caller-id-name" value="$${outbound_caller_name}"/>
+ <param name="caller-id-number" value="$${outbound_caller_id}"/>
+ </profile>
+ </profiles>
+
+ <profiles>
+ <profile name="ultrawideband">
+ <param name="domain" value="$${domain}"/>
+ <param name="rate" value="32000"/>
+ <param name="interval" value="20"/>
+ <param name="energy-level" value="300"/>
+ <param name="sound-prefix" value="$${base_dir}/sounds/en/us/callie"/>
+ <param name="muted-sound" value="conference/conf-muted.wav"/>
+ <param name="unmuted-sound" value="conference/conf-unmuted.wav"/>
+ <param name="alone-sound" value="conference/conf-alone.wav"/>
+ <param name="moh-sound" value="$${moh_uri}"/>
+ <param name="enter-sound" value="tone_stream://%(200,0,500,600,700)"/>
+ <param name="exit-sound" value="tone_stream://%(500,0,300,200,100,50,25)"/>
+ <param name="kicked-sound" value="conference/conf-kicked.wav"/>
+ <param name="locked-sound" value="conference/conf-locked.wav"/>
+ <param name="is-locked-sound" value="conference/conf-is-locked.wav"/>
+ <param name="is-unlocked-sound" value="conference/conf-is-unlocked.wav"/>
+ <param name="pin-sound" value="conference/conf-pin.wav"/>
+ <param name="bad-pin-sound" value="conference/conf-bad-pin.wav"/>
+ <param name="caller-id-name" value="$${outbound_caller_name}"/>
+ <param name="caller-id-number" value="$${outbound_caller_id}"/>
+ </profile>
+ </profiles>
</configuration>
Modified: freeswitch/trunk/conf/dialplan/default.xml
==============================================================================
--- freeswitch/trunk/conf/dialplan/default.xml (original)
+++ freeswitch/trunk/conf/dialplan/default.xml Thu Feb 14 13:05:52 2008
@@ -155,11 +155,23 @@
<!--
start a dynamic conference with the settings of the "default" conference profile in conference.conf.xml
-->
- <extension name="conferences">
- <condition field="destination_number" expression="^(3\d{3})$">
+ <extension name="nb_conferences">
+ <condition field="destination_number" expression="^(30\d{2})$">
<action application="conference" data="$1 at default"/>
</condition>
- </extension>
+ </extension>
+
+ <extension name="wb_conferences">
+ <condition field="destination_number" expression="^(31\d{2})$">
+ <action application="conference" data="$1 at wideband"/>
+ </condition>
+ </extension>
+
+ <extension name="uwb_conferences">
+ <condition field="destination_number" expression="^(32\d{2})$">
+ <action application="conference" data="$1 at ultrawideband"/>
+ </condition>
+ </extension>
<!-- dial the freeswitch conference via SIP-->
<extension name="freeswitch_public_conf_via_sip">
More information about the Freeswitch-svn
mailing list