6 | | Currently Apple iPhone is not officially supported but have a look at these projects by pjsip users: |
| 6 | Apple iPhone is supported from PJSIP version 1.6.5. |
| 7 | |
| 8 | |
| 9 | == Requirements == |
| 10 | |
| 11 | You'll need an iPhone SDK, and I think that's just it. |
| 12 | |
| 13 | == Build Preparation == |
| 14 | |
| 15 | 1. [wiki:Getting-Started/Download-Source Get the source code], if you haven't already. |
| 16 | 2. Please set your {{{config_site.h}}} to the following: |
| 17 | {{{ |
| 18 | #define PJ_CONFIG_IPHONE 1 |
| 19 | #include <pj/config_site_sample.h> |
| 20 | }}} |
| 21 | |
| 22 | == Building PJSIP == |
| 23 | |
| 24 | 1. Run: |
| 25 | {{{ |
| 26 | $ cd /your/pjsip/dir |
| 27 | $ ./configure-iphone |
| 28 | $ make dep && make clean && make |
| 29 | }}} |
| 30 | |
| 31 | Notes: |
| 32 | * the {{{./configure-iphone}}} is a shell script that calls the standard {{{./configure}}} script with settings suitable for iPhone target. |
| 33 | * the newest iPhone SDK will be selected by default. You may change this by setting {{{SDK}}} environment variable to the SDK path. |
| 34 | * you may pass standard {{{./configure}}} options to this script |
| 35 | * for more info, run {{{./configure-iphone --help}}} |
| 36 | * other customizations are similar to what is explained in [wiki:Getting-Started/Autoconf Building with GNU] page. |
| 37 | |
| 38 | |
| 39 | == Other iPhone Projects == |
| 40 | |
| 41 | Also have a look at these projects by pjsip users: |