[Freeswitch-svn] [commit] r3421 - freeswitch/branches/jkr888/trunk/scripts
Freeswitch SVN
jkr888 at freeswitch.org
Mon Nov 20 09:44:14 EST 2006
Author: jkr888
Date: Mon Nov 20 09:44:14 2006
New Revision: 3421
Modified:
freeswitch/branches/jkr888/trunk/scripts/mytest.py
Log:
Modified: freeswitch/branches/jkr888/trunk/scripts/mytest.py
==============================================================================
--- freeswitch/branches/jkr888/trunk/scripts/mytest.py (original)
+++ freeswitch/branches/jkr888/trunk/scripts/mytest.py Mon Nov 20 09:44:14 2006
@@ -7,19 +7,15 @@
print sys.argv
uuid = sys.argv[0]
-fs_consol_log("1","test from my python program\n")
-fs_consol_clean("This is fs_consol_clean\n")
-fs_consol_clean("My uuid is " + uuid + "\n")
+fs_console_log("1","test from my python program\n")
+fs_console_clean("This is fs_consol_clean\n")
+fs_console_clean("My uuid is " + uuid + "\n")
session = fs_core_session_locate(uuid)
fs_channel_answer(session)
-fs_switch_ivr_session_transfer(session, "1111", "XML", "default")
+#fs_switch_ivr_session_transfer(session, "1234", "XML", "default")
+fs_ivr_play_file2(session, "/root/call-quality-menu.gsm")
-secs = 30
-
-fs_switch_ivr_sleep(session, secs)
-
-fs_channel_hangup(session,"CALLED END")
More information about the Freeswitch-svn
mailing list