pjsip and iOS5

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

 



Sorry, accidentally hit send. Disclaimer: I'm not a PJSIP dev.

I also have some doxygen docs up here: http://gh.chakrit.net/gossip/ but it's very beta at the moment.

To answer your question (briefly):
Yes, you need to:
Configure callbacks for receving call media state changes
Configure PJSUA conference bridge to connect iphone audio to the input/output port properly once the call connects and sound will go through.

Mostly pjsua headers, check the github repository. For the functions to use IIRC:
to make call, use the pjsua_call_make_call funciton.
to receive call, use the pjsua_call_answer function.
to hangup, use pjsua_call_hangup.

You'll need to:
Include all PJSIP include paths in your xcode project.
Make sure to *always* include your config_site.h (and any other configuration macro you have defined) _BEFORE_ any PJSIP-related includes. (i.e. so things like endianess is correctly defined.)


Anyway, check the gossip sources. You might find it useful :)


Additionally, check the PJSUA documentation, you will find the function name very descriptive. 

- chakrit


On Wednesday, July 25, 2012 at 5:47 PM, Chakrit Wichian wrote:

> Hi Parvez, 
> 
> I am also building a PJSIP client application on iOS5.
> You can check out what I have been working on on GitHub:
> https://github.com/chakrit/gossip
> 
> - chakrit
> 
> 
> On Wednesday, July 25, 2012 at 5:45 PM, Parvez Qureshi wrote:
> 
> > hello all
> > I am be able to compile the pjsip sdk version 1.14.2 for iOS 5.1 using Xcode 4.3.3 on mac os x 10.7.4 for iphone simulator using the below given settings [All commands are run on terminal]:
> > 
> > export DEVPATH=/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer
> > export CC=/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/usr/bin/llvm-gcc-4.2
> > export CFLAGS="-O2 -m32 -miphoneos-version-min=5.1" LDFLAGS="-O2 -m32"
> > export ARCH="-arch i686"
> > ./configure-iphone
> > make dep && make clean && make
> > 
> > There are a few questions:
> > 1. Can I make voice call using pjsip in ios5?
> > 2. What are the headers from pjsip do I need to include in my Xcode iOS project so that I can make/receive calls. Also in the documentation I do not find any mention on the methods from pjsip library that one can make use of for making/receiving calls.
> > 3. What changes I need to make in above build settings in order to build this library for iOS device?
> > 
> > Thanks
> > parvez
> > _______________________________________________
> > Visit our blog: http://blog.pjsip.org
> > 
> > pjsip mailing list
> > pjsip at lists.pjsip.org (mailto: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/20120725/5e54a2ca/attachment.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