Diff
Added: freeswitch/trunk/contrib/DelphiWorld/dialplan/skypiax_originator.xml (0 => 14659)
--- freeswitch/trunk/contrib/DelphiWorld/dialplan/skypiax_originator.xml (rev 0)
+++ freeswitch/trunk/contrib/DelphiWorld/dialplan/skypiax_originator.xml 2009-08-28 09:58:06 UTC (rev 14659)
@@ -0,0 +1,13 @@
+<!-- skype_iax originator -->
+<!-- this extention will request a skype speed dial number and bridge it unstid of adding some extentions to your dialplan -->
+<!-- just place it in /prefix/conf/dialplan/default and call 2020 -->
+<include>
+<extension name="skypiax_originator">
+ <condition field="destination_number" expression="^(2020)$">
+ <action application="play_and_get_digits" data="2 5 3 7000 # conference/8000/conf-pin.wav /invalid.wav dest"/>
+<action application="sleep" data="3000"/>
+<action application="set" data="ringback=$${us-ring}"/>
+<action application="bridge" data="{absolute_codec_string=g722}skypiax/skypiax1/${dest}"/>
+ </condition>
+</extension>
+</include>
\ No newline at end of file
Added: freeswitch/trunk/contrib/DelphiWorld/dialplan/time.xml (0 => 14659)
--- freeswitch/trunk/contrib/DelphiWorld/dialplan/time.xml (rev 0)
+++ freeswitch/trunk/contrib/DelphiWorld/dialplan/time.xml 2009-08-28 09:58:06 UTC (rev 14659)
@@ -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
Added: freeswitch/trunk/contrib/DelphiWorld/scripts/lua/welcome_ivr/readme.txt (0 => 14659)
--- freeswitch/trunk/contrib/DelphiWorld/scripts/lua/welcome_ivr/readme.txt (rev 0)
+++ freeswitch/trunk/contrib/DelphiWorld/scripts/lua/welcome_ivr/readme.txt 2009-08-28 09:58:06 UTC (rev 14659)
@@ -0,0 +1,8 @@
+Simple LUA IVR Sample
+
+this is a small IVR in lua using the flite TTS Engine
+modules required:
+mod_flite
+and mod_lua offcourss
+see me in the IRC Channel if any error or suggestion
+thanks to raulfragoso for the first time!
\ No newline at end of file
Added: freeswitch/trunk/contrib/DelphiWorld/scripts/lua/welcome_ivr/welcome.lua (0 => 14659)
--- freeswitch/trunk/contrib/DelphiWorld/scripts/lua/welcome_ivr/welcome.lua (rev 0)
+++ freeswitch/trunk/contrib/DelphiWorld/scripts/lua/welcome_ivr/welcome.lua 2009-08-28 09:58:06 UTC (rev 14659)
@@ -0,0 +1,35 @@
+session:answer();
+while (session:ready() == true) do
+session:setAutoHangup(false)
+session:set_tts_parms("flite", "kal");
+session:speak("Welcome. Welcome to the VoIp World!. this is a Blind Users Programing Community. powered by Freeswitch, the free / ultimate PBX. thank to anthm!");
+session:sleep(100);
+session:speak("please select an Action.");
+session:sleep(100);
+session:speak("to call the conference, press 1");
+session:sleep(100);
+session:speak("to call Freeswitch IVR, press 2");
+session:sleep(100);
+session:speak("to call Voice Mail, press 3");
+session:sleep(100);
+session:speak("for Music on hold, press 4");
+session:sleep(100);
+session:speak("to call me, press 0");
+session:sleep(3000);
+digits = session:getDigits(1, "", 3000);
+if (digits == "1") then
+ session:execute("transfer","3001");
+end
+if (digits == "2") then
+ session:execute("transfer","5000");
+end
+if (digits == "3") then
+ session:execute("transfer","4000");
+end
+if (digits == "4") then
+ session:execute("transfer","9999");
+end
+if (digits == "0") then
+ session:execute("transfer","voipaware@sip.voipuser.org");
+end
+end
\ No newline at end of file
Added: freeswitch/trunk/contrib/DelphiWorld/scripts/lua/welcome_ivr/welcome.xml (0 => 14659)
--- freeswitch/trunk/contrib/DelphiWorld/scripts/lua/welcome_ivr/welcome.xml (rev 0)
+++ freeswitch/trunk/contrib/DelphiWorld/scripts/lua/welcome_ivr/welcome.xml 2009-08-28 09:58:06 UTC (rev 14659)
@@ -0,0 +1,7 @@
+<include>
+ <extension name="welcome_ivr">
+ <condition field="destination_number" expression="^2910$">
+<action application="lua" data="welcome.lua"/>
+ </condition>
+ </extension>
+</include>
\ No newline at end of file