Please look into ./configure-iphone result row: OpenSSL libraries not found, disable SSL support - this is what u see i sure.... Why? i got a same result if OpenSSL build wrong, check lipo -info for them and be sure that all arch inside... ------ Oleksii Vynogradov Oct 16, 2013, ? 3:19 PM, gaurav kasliwal <gaurav.kasliwal at advantal.net> ???????(?): > 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 > > _______________________________________________ > Visit our blog: http://blog.pjsip.org > > pjsip mailing list > pjsip at lists.pjsip.org > http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.pjsip.org/pipermail/pjsip_lists.pjsip.org/attachments/20131016/071f5aba/attachment-0001.html>