Help Required on TLS iPhone configuration with pjproject-2.1.0

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hello All,

I am trying to compile PJSIP with OpenSSL support for architectures i386,
armv7, armv7s. I have done following steps successfully:

--> OpenSSL library compilation for all three architectures i386, armv7,
armv7s to add them in my xcode project.
--> PJSIp stack compilation for all three architectures i386, armv7, armv7s
individually and joint the libraries using Lipo command.

Here are steps of stack compilation:

Set the following first as:

Step 1: created *config_site.h* file and written following line in file:

#define PJ_CONFIG_IPHONE 1

#define PJMEDIA_HAS_SILK_CODEC 1

#include <pj/config_site_sample.h>


Step 2: run following commands from terminal:

*$ export ARCH="-arch <architectures individually>"*

*$ export
DEVPATH=/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer
*

*$ export
IPHONESDK=/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS7.0.sdk
*

*$ export CC=/Applications/Xcode.app/Contents/Developer/usr/bin/gcc*

$ ARCH='-arch <architectures individually>' ./configure-iphone
--host=arm-apple-darwin10 --with-silk=<path to my individually created silk
libraries corresponding to architecture set>

$ make dep

$ make

Using above steps, all my libraries are compiled for respective
architectures and I created the joint libs with lipo command successfully.

Now, I can add the libraries to my project and able to register to my
Asterisk server using UDP protocol. And everything works fine for UDP
transport.

*PROBLEM: *
When I create transport using TLS protocol. The pjsip logs return me
following error:
"*Error creating transport: Unsupported transport (PJSIP_EUNSUPTRANSPORT)
[status=171060]*"

For TLS i have setup the configuration from test project given under
pjproject pjsip-apps (ipjsua). Also the TLS is supported on my server as I
can register using TLS protocol from Android client (cSIPSimple).

Please help me on the above. I tried many ways with TLS, but still unable
to solve the problem.
-- 
Regards,
Gaurav Kasliwal
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.pjsip.org/pipermail/pjsip_lists.pjsip.org/attachments/20131016/4164b2b2/attachment-0001.html>


[Index of Archives]     [Asterisk Users]     [Asterisk App Development]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [Linux API]
  Powered by Linux