diff options
author | Benny Prijono <bennylp@teluu.com> | 2006-11-16 11:18:03 +0000 |
---|---|---|
committer | Benny Prijono <bennylp@teluu.com> | 2006-11-16 11:18:03 +0000 |
commit | 2260882aabe327526103f31840cc218ed9552078 (patch) | |
tree | 04c0bc7ffa9fe5f9914bddbadfcc2e0a4cd782dc /pjsip-apps/src/py_pjsua/pjsua.py | |
parent | a66ebf5d8f421cab171f591799fc94edf76e2d3f (diff) |
Added initial Python module
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@803 74dad513-b988-da41-8d7b-12977e46ad98
Diffstat (limited to 'pjsip-apps/src/py_pjsua/pjsua.py')
-rw-r--r-- | pjsip-apps/src/py_pjsua/pjsua.py | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/pjsip-apps/src/py_pjsua/pjsua.py b/pjsip-apps/src/py_pjsua/pjsua.py new file mode 100644 index 00000000..cae3480f --- /dev/null +++ b/pjsip-apps/src/py_pjsua/pjsua.py @@ -0,0 +1,17 @@ +# import module py_pjsua +import py_pjsua + +print '''Testing py_pjsua.create : ''' +status = py_pjsua.create() +print "py status " + `status` + +# perror +print '''Testing error code 70006 : ''' +py_pjsua.perror("py_pjsua","hello",70006) + +# test py_pjsua.destroy +print '''Testing py_pjsua.destroy : ''' +status = py_pjsua.destroy() +print "py status " + `status` + +print '''End Of py_pjsua''' |