[Freeswitch-svn] [commit] r7590 - in freeswitch/trunk: build conf conf/autoload_configs conf/dialplan

Freeswitch SVN brian at freeswitch.org
Mon Feb 11 16:52:38 EST 2008


Author: brian
Date: Mon Feb 11 16:52:38 2008
New Revision: 7590

Modified:
   freeswitch/trunk/build/modules.conf.in
   freeswitch/trunk/conf/autoload_configs/modules.conf.xml
   freeswitch/trunk/conf/dialplan/default.xml
   freeswitch/trunk/conf/vars.xml

Log:
add video examples to default config

Modified: freeswitch/trunk/build/modules.conf.in
==============================================================================
--- freeswitch/trunk/build/modules.conf.in	(original)
+++ freeswitch/trunk/build/modules.conf.in	Mon Feb 11 16:52:38 2008
@@ -10,6 +10,7 @@
 applications/mod_limit
 applications/mod_expr
 applications/mod_esf
+applications/mod_fsv
 #applications/mod_soundtouch
 #applications/mod_rss
 #asr_tts/mod_cepstral
@@ -21,7 +22,7 @@
 codecs/mod_amr
 codecs/mod_g729
 codecs/mod_gsm
-#codecs/mod_h26x
+codecs/mod_h26x
 #codecs/mod_voipcodecs
 codecs/mod_ilbc
 codecs/mod_l16

Modified: freeswitch/trunk/conf/autoload_configs/modules.conf.xml
==============================================================================
--- freeswitch/trunk/conf/autoload_configs/modules.conf.xml	(original)
+++ freeswitch/trunk/conf/autoload_configs/modules.conf.xml	Mon Feb 11 16:52:38 2008
@@ -44,6 +44,7 @@
     <load module="mod_voicemail"/>
     <load module="mod_limit"/>
     <load module="mod_esf"/>
+    <load module="mod_fsv"/>
 
     <!-- Dialplan Interfaces -->
     <!-- <load module="mod_dialplan_directory"/> -->

Modified: freeswitch/trunk/conf/dialplan/default.xml
==============================================================================
--- freeswitch/trunk/conf/dialplan/default.xml	(original)
+++ freeswitch/trunk/conf/dialplan/default.xml	Mon Feb 11 16:52:38 2008
@@ -238,6 +238,22 @@
       </condition>
     </extension>
 
+    <extension name="video_record">
+      <condition field="destination_number" expression="^9993$">
+	<action application="answer"/>
+	<action application="record_fsv" data="/tmp/testrecord.fsv"/>
+      </condition>
+    </extension>
+
+    <extension name="video_playback">
+      <condition field="destination_number" expression="^9994$">
+	<action application="answer"/>
+	<action application="play_fsv" data="/tmp/testrecord.fsv"/>
+      </condition>
+    </extension>
+
+
+
     <extension name="delay_echo">
       <condition field="destination_number" expression="^9995$">
 	<action application="answer"/>

Modified: freeswitch/trunk/conf/vars.xml
==============================================================================
--- freeswitch/trunk/conf/vars.xml	(original)
+++ freeswitch/trunk/conf/vars.xml	Mon Feb 11 16:52:38 2008
@@ -62,7 +62,7 @@
        H264             - H.264 Video
 
   -->
-  <X-PRE-PROCESS cmd="set" data="global_codec_prefs=G722,PCMU at 20i,PCMA at 20i"/>
+  <X-PRE-PROCESS cmd="set" data="global_codec_prefs=G722,PCMU at 20i,PCMA at 20i,H263"/>
   <X-PRE-PROCESS cmd="set" data="outbound_codec_prefs=PCMU at 20i,PCMA at 20i"/>
   <X-PRE-PROCESS cmd="set" data="xmpp_client_profile=xmppc"/>
   <X-PRE-PROCESS cmd="set" data="xmpp_server_profile=xmpps"/>



More information about the Freeswitch-svn mailing list