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