diff options
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''' |