Revision
14079
Author
voipmaster
Date
2009-07-01 03:45:38 -0500 (Wed, 01 Jul 2009)

Log Message

this is a dialplan extention that speak time for blind users

Added Paths

Diff

Added: freeswitch/trunk/contrib/DelphiWorld/time.xml (0 => 14079)


--- freeswitch/trunk/contrib/DelphiWorld/time.xml	                        (rev 0)
+++ freeswitch/trunk/contrib/DelphiWorld/time.xml	2009-07-01 08:45:38 UTC (rev 14079)
@@ -0,0 +1,11 @@
+<!-- this is a small dialplan extension that speak time if you call 2910 -->
+<include>
+    <extension name="SpeakTime">
+      <condition field="destination_number" expression="^2910$">
+<action application="set" data="actime=${strftime(%H:%M)}"/>
+<action application="set" data="tts_engine=flite"/>
+<action application="set" data="tts_voice=slt"/>                      
+        <action application="speak" data="Is it +${actime}"/> 
+</condition>
+    </extension>
+</include>
\ No newline at end of file