Using pjsip TURN code on Symbian

MW
Michael Wilson
Mon, Dec 8, 2008 4:51 PM

Hi there,

I have been playing around with the Symbian port of the pjsip code and
have been trying to get the TURN client working on a handset.

I am using three libraries: pjlib, pjlib-util and pjnath and they all
compile OK. I have taken the test client for turn, but cannot get it
to work on the emulator. I am able to call the init (pj_init,
pjlib_util_init, pjnath_init) methods OK, but can not create the relay
(create_relay).... when this is called, it crashes.

I was wondering if anyone else had any experience of using the TURN
client on Symbian and whether they got it working?

Many thanks for your help,

Michael

Hi there, I have been playing around with the Symbian port of the pjsip code and have been trying to get the TURN client working on a handset. I am using three libraries: pjlib, pjlib-util and pjnath and they all compile OK. I have taken the test client for turn, but cannot get it to work on the emulator. I am able to call the init (pj_init, pjlib_util_init, pjnath_init) methods OK, but can not create the relay (create_relay).... when this is called, it crashes. I was wondering if anyone else had any experience of using the TURN client on Symbian and whether they got it working? Many thanks for your help, Michael
RI
Rawshan Iajdani
Tue, Dec 9, 2008 5:57 PM

Well, I did not specifically tried TURN but tried ICE with symbian which is
already in symbian_ua_gui. ICE does use TURN in the back. ICE did crash on
me and it is already reported. I think your and my case came from the same
origin.. Let me know if you had any luck on that..

-----Original Message-----
From: pjsip-bounces@lists.pjsip.org [mailto:pjsip-bounces@lists.pjsip.org]
On Behalf Of Michael Wilson
Sent: Monday, December 08, 2008 10:52 PM
To: pjsip@lists.pjsip.org
Subject: [pjsip] Using pjsip TURN code on Symbian

Hi there,

I have been playing around with the Symbian port of the pjsip code and
have been trying to get the TURN client working on a handset.

I am using three libraries: pjlib, pjlib-util and pjnath and they all
compile OK. I have taken the test client for turn, but cannot get it
to work on the emulator. I am able to call the init (pj_init,
pjlib_util_init, pjnath_init) methods OK, but can not create the relay
(create_relay).... when this is called, it crashes.

I was wondering if anyone else had any experience of using the TURN
client on Symbian and whether they got it working?

Many thanks for your help,

Michael


Visit our blog: http://blog.pjsip.org

pjsip mailing list
pjsip@lists.pjsip.org
http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org

Well, I did not specifically tried TURN but tried ICE with symbian which is already in symbian_ua_gui. ICE does use TURN in the back. ICE did crash on me and it is already reported. I think your and my case came from the same origin.. Let me know if you had any luck on that.. -----Original Message----- From: pjsip-bounces@lists.pjsip.org [mailto:pjsip-bounces@lists.pjsip.org] On Behalf Of Michael Wilson Sent: Monday, December 08, 2008 10:52 PM To: pjsip@lists.pjsip.org Subject: [pjsip] Using pjsip TURN code on Symbian Hi there, I have been playing around with the Symbian port of the pjsip code and have been trying to get the TURN client working on a handset. I am using three libraries: pjlib, pjlib-util and pjnath and they all compile OK. I have taken the test client for turn, but cannot get it to work on the emulator. I am able to call the init (pj_init, pjlib_util_init, pjnath_init) methods OK, but can not create the relay (create_relay).... when this is called, it crashes. I was wondering if anyone else had any experience of using the TURN client on Symbian and whether they got it working? Many thanks for your help, Michael _______________________________________________ Visit our blog: http://blog.pjsip.org pjsip mailing list pjsip@lists.pjsip.org http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org
MW
Michael Wilson
Tue, Dec 9, 2008 6:10 PM

Hello,

I have been playing around with the code and found that the RSocket
Send method using UDP had a bug in it. I have changed that method call
to SendTo and that seems to work OK... I think that was in the
ioqueue_symbian.c file (not at computer, so not 100% sure!).

michael

On 9 Dec 2008, at 17:57, Rawshan Iajdani wrote:

Well, I did not specifically tried TURN but tried ICE with symbian
which is
already in symbian_ua_gui. ICE does use TURN in the back. ICE did
crash on
me and it is already reported. I think your and my case came from
the same
origin.. Let me know if you had any luck on that..

-----Original Message-----
From: pjsip-bounces@lists.pjsip.org [mailto:pjsip-bounces@lists.pjsip.org
]
On Behalf Of Michael Wilson
Sent: Monday, December 08, 2008 10:52 PM
To: pjsip@lists.pjsip.org
Subject: [pjsip] Using pjsip TURN code on Symbian

Hi there,

I have been playing around with the Symbian port of the pjsip code and
have been trying to get the TURN client working on a handset.

I am using three libraries: pjlib, pjlib-util and pjnath and they all
compile OK. I have taken the test client for turn, but cannot get it
to work on the emulator. I am able to call the init (pj_init,
pjlib_util_init, pjnath_init) methods OK, but can not create the relay
(create_relay).... when this is called, it crashes.

I was wondering if anyone else had any experience of using the TURN
client on Symbian and whether they got it working?

Many thanks for your help,

Michael


Visit our blog: http://blog.pjsip.org

pjsip mailing list
pjsip@lists.pjsip.org
http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org


Visit our blog: http://blog.pjsip.org

pjsip mailing list
pjsip@lists.pjsip.org
http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org

Hello, I have been playing around with the code and found that the RSocket Send method using UDP had a bug in it. I have changed that method call to SendTo and that seems to work OK... I think that was in the ioqueue_symbian.c file (not at computer, so not 100% sure!). michael -- On 9 Dec 2008, at 17:57, Rawshan Iajdani wrote: > Well, I did not specifically tried TURN but tried ICE with symbian > which is > already in symbian_ua_gui. ICE does use TURN in the back. ICE did > crash on > me and it is already reported. I think your and my case came from > the same > origin.. Let me know if you had any luck on that.. > > > > -----Original Message----- > From: pjsip-bounces@lists.pjsip.org [mailto:pjsip-bounces@lists.pjsip.org > ] > On Behalf Of Michael Wilson > Sent: Monday, December 08, 2008 10:52 PM > To: pjsip@lists.pjsip.org > Subject: [pjsip] Using pjsip TURN code on Symbian > > Hi there, > > I have been playing around with the Symbian port of the pjsip code and > have been trying to get the TURN client working on a handset. > > I am using three libraries: pjlib, pjlib-util and pjnath and they all > compile OK. I have taken the test client for turn, but cannot get it > to work on the emulator. I am able to call the init (pj_init, > pjlib_util_init, pjnath_init) methods OK, but can not create the relay > (create_relay).... when this is called, it crashes. > > I was wondering if anyone else had any experience of using the TURN > client on Symbian and whether they got it working? > > Many thanks for your help, > > Michael > > _______________________________________________ > Visit our blog: http://blog.pjsip.org > > pjsip mailing list > pjsip@lists.pjsip.org > http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org > > > _______________________________________________ > Visit our blog: http://blog.pjsip.org > > pjsip mailing list > pjsip@lists.pjsip.org > http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org
RI
Rawshan Iajdani
Tue, Dec 9, 2008 6:32 PM

Could you help me showing what exactly you did there? If possible the code
example which will save some of my time

-----Original Message-----
From: pjsip-bounces@lists.pjsip.org [mailto:pjsip-bounces@lists.pjsip.org]
On Behalf Of Michael Wilson
Sent: Wednesday, December 10, 2008 12:10 AM
To: pjsip list
Subject: Re: [pjsip] Using pjsip TURN code on Symbian

Hello,

I have been playing around with the code and found that the RSocket
Send method using UDP had a bug in it. I have changed that method call
to SendTo and that seems to work OK... I think that was in the
ioqueue_symbian.c file (not at computer, so not 100% sure!).

michael

On 9 Dec 2008, at 17:57, Rawshan Iajdani wrote:

Well, I did not specifically tried TURN but tried ICE with symbian
which is
already in symbian_ua_gui. ICE does use TURN in the back. ICE did
crash on
me and it is already reported. I think your and my case came from
the same
origin.. Let me know if you had any luck on that..

-----Original Message-----
From: pjsip-bounces@lists.pjsip.org [mailto:pjsip-bounces@lists.pjsip.org
]
On Behalf Of Michael Wilson
Sent: Monday, December 08, 2008 10:52 PM
To: pjsip@lists.pjsip.org
Subject: [pjsip] Using pjsip TURN code on Symbian

Hi there,

I have been playing around with the Symbian port of the pjsip code and
have been trying to get the TURN client working on a handset.

I am using three libraries: pjlib, pjlib-util and pjnath and they all
compile OK. I have taken the test client for turn, but cannot get it
to work on the emulator. I am able to call the init (pj_init,
pjlib_util_init, pjnath_init) methods OK, but can not create the relay
(create_relay).... when this is called, it crashes.

I was wondering if anyone else had any experience of using the TURN
client on Symbian and whether they got it working?

Many thanks for your help,

Michael


Visit our blog: http://blog.pjsip.org

pjsip mailing list
pjsip@lists.pjsip.org
http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org


Visit our blog: http://blog.pjsip.org

pjsip mailing list
pjsip@lists.pjsip.org
http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org

Could you help me showing what exactly you did there? If possible the code example which will save some of my time -----Original Message----- From: pjsip-bounces@lists.pjsip.org [mailto:pjsip-bounces@lists.pjsip.org] On Behalf Of Michael Wilson Sent: Wednesday, December 10, 2008 12:10 AM To: pjsip list Subject: Re: [pjsip] Using pjsip TURN code on Symbian Hello, I have been playing around with the code and found that the RSocket Send method using UDP had a bug in it. I have changed that method call to SendTo and that seems to work OK... I think that was in the ioqueue_symbian.c file (not at computer, so not 100% sure!). michael -- On 9 Dec 2008, at 17:57, Rawshan Iajdani wrote: > Well, I did not specifically tried TURN but tried ICE with symbian > which is > already in symbian_ua_gui. ICE does use TURN in the back. ICE did > crash on > me and it is already reported. I think your and my case came from > the same > origin.. Let me know if you had any luck on that.. > > > > -----Original Message----- > From: pjsip-bounces@lists.pjsip.org [mailto:pjsip-bounces@lists.pjsip.org > ] > On Behalf Of Michael Wilson > Sent: Monday, December 08, 2008 10:52 PM > To: pjsip@lists.pjsip.org > Subject: [pjsip] Using pjsip TURN code on Symbian > > Hi there, > > I have been playing around with the Symbian port of the pjsip code and > have been trying to get the TURN client working on a handset. > > I am using three libraries: pjlib, pjlib-util and pjnath and they all > compile OK. I have taken the test client for turn, but cannot get it > to work on the emulator. I am able to call the init (pj_init, > pjlib_util_init, pjnath_init) methods OK, but can not create the relay > (create_relay).... when this is called, it crashes. > > I was wondering if anyone else had any experience of using the TURN > client on Symbian and whether they got it working? > > Many thanks for your help, > > Michael > > _______________________________________________ > Visit our blog: http://blog.pjsip.org > > pjsip mailing list > pjsip@lists.pjsip.org > http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org > > > _______________________________________________ > Visit our blog: http://blog.pjsip.org > > pjsip mailing list > pjsip@lists.pjsip.org > http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org _______________________________________________ Visit our blog: http://blog.pjsip.org pjsip mailing list pjsip@lists.pjsip.org http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org