提交 65181f78 authored 作者: Brian West's avatar Brian West

more examples from anm

git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@12189 d0543943-73ff-0310-b7d9-9358b9ac24b2
上级 b11b19af
#!/usr/bin/env python
import string
import sys
import pickle
from ESL import *
con = ESLconnection("localhost","8021","ClueCon")
#are we connected?
if con.connected:
con.events("plain", "all");
while 1:
#my $e = $con->recvEventTimed(100);
e = con.recvEvent()
if e:
print e.serialize()
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论