| 1 | = Getting Started = |
| 2 | |
| 3 | The Python language binding for PJSUA-API is available in PJSIP release 0.5.10 or later. |
| 4 | |
| 5 | == What is it? == |
| 6 | |
| 7 | '''[/trac/browser/pjproject/trunk/pjsip-apps/src/py_pjsua py_pjsua]''' is a Python module implemented in C language to provide '''[/pjsip/docs/html/group__PJSUA__LIB.htm PJSUA-API]''' for [http://www.python.org Python] applications. Using '''[/trac/browser/pjproject/trunk/pjsip-apps/src/py_pjsua py_pjsua]''' enables Python application to exploit the features of PJSIP, for example: |
| 8 | * multiple SIP accounts |
| 9 | * SIP for presence (SIMPLE) and instant messaging |
| 10 | * multiple/unlimited calls |
| 11 | * call hold and transfer (attended or unattended) |
| 12 | * DTMF support |
| 13 | * conferencing with multiple/unlimited sources |
| 14 | * wideband and ultra-wideband audio support |
| 15 | * WAV files playback, playlist, and recording |
| 16 | * adaptive jitter buffer, silence detection, packet lost concealment, etc. |
| 17 | * tone generation |
| 18 | * multiple sound devices (planned) |
| 19 | * ICE support (planned) |
| 20 | * and so on. |
| 21 | |
| 22 | == Building py_pjsua Module == |
| 23 | |
| 24 | Using Microsoft Visual Studio projects: |
| 25 | * Open '''pjsip-apps.dsw''' from {{{pjsip-apps\build}}} directory. |
| 26 | * Select '''py_pjsua''' project. |
| 27 | * Build the project |
| 28 | * The Python module will be placed in {{{pjsip-apps\lib}}} directory. |
| 29 | |
| 30 | Using Python build script: |
| 31 | * Go to {{{pjsip-apps/src/py_pjsua}}} directory. |
| 32 | * Run '''{{{'python ./setup.py build'}}}''' |
| 33 | * The Python module will be placed in {{{build}}} directory inside current directory. |
| 34 | * Alternatively run '''{{{'python ./setup.py install'}}}''' to install the '''py_pjsua''' module to Python's site_packages directory. |
| 35 | |