| 47 | == Introduction == |
| 48 | |
| 49 | The Python API is pretty much the same like PJSUA-API - each Python function corresponds to one function in PJSUA-API, therefore one can use [/pjsip/docs/html/group__PJSUA__LIB.htm PJSUA-API Documentation] or [wiki:PJSIP_Tutorial PJSUA Tutorial] to learn about the Python API. |
| 50 | |
| 51 | To highlight the similarities between PJSUA-API and the py_pjsua API, below are some sample names: |
| 52 | |
| 53 | {{{ |
| 54 | PJSUA-API: py_pjsua API: |
| 55 | |
| 56 | #include <pjsua-lib/pjsua.h> ==> import py_pjsua |
| 57 | |
| 58 | pjsua_create() ==> py_pjsua.create() |
| 59 | pjsua_init() ==> py_pjsua.init() |
| 60 | |
| 61 | pjsua_call_make_call() ==> py_pjsua.call_make_call() |
| 62 | }}} |
| 63 | |
| 64 | |
| 65 | |
| 66 | |