1
votes

I am Goosip/AKSSIP for pjsip wrapper but not able to connect to the server. Can any one guide me to implement pjsip in iOS project.

Thanks!

1
You're have to provide more details, including the relevant parts of your code, and any errors or logs. - jcaron
After creating a User agent when making a call with outgoingCallToUri through Goosip Wrapper: I got below errors: Gossip: ringbackWithSoundNamed: (null) pjsua_aud.c .Unable to create playlist: Not found (PJ_ENOTFOUND) [status=70006] Gossip: Error Domain=pjsip.org Code=240006 "Not found (PJ_ENOTFOUND)" UserInfo={PJSIP_ERRNO_FORM_SIP_STATUS=240006, NSLocalizedDescription=Not found (PJ_ENOTFOUND), pj_status_t=70006} - Karamjeet Singh
XPC connection interrupted pjsua_call.c .Unable to generate Contact header: Unsupported transport (PJSIP_EUNSUPTRANSPORT) [status=171060] Gossip: Error Domain=pjsip.org Code=341060 "Unsupported transport (PJSIP_EUNSUPTRANSPORT)" UserInfo={PJSIP_ERRNO_FORM_SIP_STATUS=341060, NSLocalizedDescription=Unsupported transport (PJSIP_EUNSUPTRANSPORT), pj_status_t=171060} - Karamjeet Singh
Please update your question with properly formatted code. - jcaron
please check your header info that passed to the pjsip. It shows that unSupportedTransport in contact header passed to pjsip. which transport are you using? TCP or UDP ? - Nandhakumar Kittusamy

1 Answers

3
votes

To Integrate PJSIP on iOS:
step 1: First Download PJSIP Project from their website. http://pjsip.org/download.htm

step 2: Extract the files in your computer.

step 3: Go to the folder pjsip2.6/pjlib/include/pj/

step 4: create config_site.h file

step 5: add the following lines into the config_site.h file and save the file

#define PJ_CONFIG_IPHONE 1
#include <pj/config_site_sample.h>

step 6: open command prompt and go to your pjproject2.6 path.
For Example, User/nandha/Documents/pjproject2.6/

step 7: compile following commands in command prompt.

./configure-iphone

After successfully compiled above command , execute next command.

make dep && make clean && make

If both command executed properly means, your PJSIP project is successfully integrated with your iOS and ready to run your project in iPhone.

Source:https://trac.pjsip.org/repos/wiki/Getting-Started/iPhone

The above documentation clearly shows how to integrate PJSIP on iOS.