Multitasking and pjsip

61 views
Skip to first unread message

Fatemeh

unread,
Oct 18, 2011, 4:53:35 AM10/18/11
to Siphon
Hi,
I have to update one application that use pjproject-0.9.0, I know I
should update pjsip library for support Multitasking, but with new
pjsip, my project don't build and run.(Against the siphone, this
project added number of classes of pjsip to project and create libs
On times with build project except build pjsip and use .a )

I'm not sure how can I update project for supporting multitasking, I
have not many time!! please help me ...

Samuel Vinson

unread,
Oct 18, 2011, 5:13:24 PM10/18/11
to sip...@googlegroups.com
Hello,

pjsip 1.1X supports iOS, so you don't need to patch it.
You should compile pjsip 1.1X, and import the libraries in your xcode project

Samuel

2011/10/18 Fatemeh <fa.sh...@gmail.com>

--
You received this message because you are subscribed to the Google Groups "Siphon" group.
To post to this group, send email to sip...@googlegroups.com.
To unsubscribe from this group, send email to siphon+un...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/siphon?hl=en.


M!tT Patel

unread,
Oct 18, 2011, 11:26:40 PM10/18/11
to sip...@googlegroups.com
Hi Samual,

I want to make for my own retail service, and use PJSIP upload to APP Store, for Free Downloads from our Clients.

Can I do that ? Please help me to finalize it ,

Thanks ,
Mit

--
Thanks and Regards,
Mitt Patel

“If we always do what we’ve always done
we’ll always get what we’ve always got.”


Fatemeh

unread,
Oct 21, 2011, 1:12:52 PM10/21/11
to Siphon
Hi,
I updated pjsip to 1.8.0, and I need to know when application going to
background, what must I do in applicationDidEnterBackground?
The pjsip manages listening in background automatics or I should write
code for doing it?

On Oct 19, 12:13 am, Samuel Vinson <samuelv0...@gmail.com> wrote:
> Hello,
>
> pjsip 1.1X supports iOS, so you don't need to patch it.
> You should compile pjsip 1.1X, and import the libraries in your xcode
> project
>
> Samuel
>
> 2011/10/18 Fatemeh <fa.shapo...@gmail.com>

Fatemeh

unread,
Oct 22, 2011, 9:33:01 AM10/22/11
to Siphon
When application is in background and I call it, I did not receive any
call alert. and after active app. The packet data that I receive from
server is:

RX 1325 bytes Request msg INVITE/cseq=102 (rdata0x92e264) from UDP
217.10.79.9:5060:
INVITE sip:568...@72.55.163.177:62685;transport=UDP SIP/2.0
Record-Route: <sip:217.10.79.9;lr;ftag=as38f345e5>
Record-Route: <sip:172.20.40.2;lr=on>
Record-Route: <sip:217.10.79.9;lr;ftag=as38f345e5>
Via: SIP/2.0/UDP 217.10.79.9:5060;branch=z9hG4bK8e2f.8ea2fb67.0
Via: SIP/2.0/UDP 172.20.40.2;branch=z9hG4bK8e2f.8ea2fb67.0
Via: SIP/2.0/UDP
217.10.79.9:5060;received=217.10.68.222;branch=z9hG4bK1af403ee
Via: SIP/2.0/UDP
217.116.117.68:5060;received=217.116.117.68;branch=z9hG4bK1af403ee;rport=5060
Max-Forwards: 67
From: "002166572398" <sip:002166...@sipgate.de>;tag=as38f345e5
To: <sip:0049630...@sipgate.de>
Contact: <sip:002166...@217.116.117.68>
Call-ID: 3f35530473515c80...@sipgate.de
CSeq: 102 INVITE
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY,
INFO
Supported: replaces, timer
Content-Type: application/sdp
Content-Length: 423


I know when app is in background, only listen TCP packet and this
server sent UDP! Is it problem that my app did not get any data in
background?

Alejandro Orellana

unread,
Oct 22, 2011, 9:49:05 AM10/22/11
to sip...@googlegroups.com, Siphon
The server will send traffic to whatever you registered with , thus you need to register using tcp
So when in bg you will be notified.


Sent from my iPad

Fatemeh

unread,
Oct 23, 2011, 7:47:20 AM10/23/11
to Siphon
So thanks for your help;
I have changed Transport type to TCP and I get PJSIP_EUNSUPTRANSPORT
error!
What must I do for resolve it?

On Oct 22, 4:49 pm, Alejandro Orellana <chilote.orell...@gmail.com>
wrote:
> The server will send traffic to whatever you registered with , thus you need to register using tcp
> So when in bg you will  be notified.
>
> Sent from my iPad
>
> On Oct 22, 2011, at 9:33 AM, Fatemeh <fa.shapo...@gmail.com> wrote:
>
>
>
>
>
>
>
> > When application is in background and I call it, I did not receive any
> > call alert. and after active app. The packet data that I receive from
> > server is:
>
> > RX 1325 bytes Request msg INVITE/cseq=102 (rdata0x92e264) from UDP
> > 217.10.79.9:5060:
> > INVITE sip:5684...@72.55.163.177:62685;transport=UDP SIP/2.0
> > Record-Route: <sip:217.10.79.9;lr;ftag=as38f345e5>
> > Record-Route: <sip:172.20.40.2;lr=on>
> > Record-Route: <sip:217.10.79.9;lr;ftag=as38f345e5>
> > Via: SIP/2.0/UDP 217.10.79.9:5060;branch=z9hG4bK8e2f.8ea2fb67.0
> > Via: SIP/2.0/UDP 172.20.40.2;branch=z9hG4bK8e2f.8ea2fb67.0
> > Via: SIP/2.0/UDP
> > 217.10.79.9:5060;received=217.10.68.222;branch=z9hG4bK1af403ee
> > Via: SIP/2.0/UDP
> > 217.116.117.68:5060;received=217.116.117.68;branch=z9hG4bK1af403ee;rport=5060
> > Max-Forwards: 67
> > From: "002166572398" <sip:002166572...@sipgate.de>;tag=as38f345e5
> > To: <sip:004963016049...@sipgate.de>
> > Contact: <sip:002166572...@217.116.117.68>
> > Call-ID: 3f35530473515c8074232ed63ab43...@sipgate.de
Reply all
Reply to author
Forward
0 new messages