forked from Mirrors/freeswitch
f3ffaff015
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3366 d0543943-73ff-0310-b7d9-9358b9ac24b2
19 lines
397 B
Python
19 lines
397 B
Python
import sys
|
|
from _freeswitch import *
|
|
|
|
print "Hello World"
|
|
print sys.path
|
|
print dir()
|
|
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")
|
|
|
|
session = fs_core_session_locate(uuid)
|
|
|
|
fs_channel_answer(session)
|
|
|
|
fs_switch_ivr_session_transfer(session, "1234", "XML", "default")
|