one question about PjSIP for Symbian with OpenC on PjSipStack-Developers and VAS

PP
Pai Peng
Tue, Jan 13, 2009 10:18 AM

Hello,

as I can see in the source code, the system-dependent-level, such as
RSocket, is written in Symbian C++. Because the Open C for Symbian is
already published to the world. I would like here ask the developers of
PjSIPStack, if there is a plan to port PjSIPStack with OpenC?

by the way, one more question: if you are going to port sound-device code
with the VoIP Audio Service VAS API, beside APS?

Thanks

Pai

Hello, as I can see in the source code, the system-dependent-level, such as RSocket, is written in Symbian C++. Because the Open C for Symbian is already published to the world. I would like here ask the developers of PjSIPStack, if there is a plan to port PjSIPStack with OpenC? by the way, one more question: if you are going to port sound-device code with the VoIP Audio Service VAS API, beside APS? Thanks Pai
MC
Miquel Castelijns
Tue, Jan 13, 2009 10:37 AM

Hello,

I am using pjsua as a test app. What it does is making a call, and after 10 seconds it ends.
After that I read the log and filter the jitter en packetloss.

One problem is that I need pjsua to quit after the call ends.
Is there a simple solution for this?

I tried to make it work with perl scripts but it couldn't solve the problem that pjsua still runs..
Also google couldn't help me.

Thanks in advance,

Mcmiek
Netherlands


Express yourself instantly with MSN Messenger! Download today it's FREE!
http://messenger.msn.click-url.com/go/onm00200471ave/direct/01/

Hello, I am using pjsua as a test app. What it does is making a call, and after 10 seconds it ends. After that I read the log and filter the jitter en packetloss. One problem is that I need pjsua to quit after the call ends. Is there a simple solution for this? I tried to make it work with perl scripts but it couldn't solve the problem that pjsua still runs.. Also google couldn't help me. Thanks in advance, Mcmiek Netherlands _________________________________________________________________ Express yourself instantly with MSN Messenger! Download today it's FREE! http://messenger.msn.click-url.com/go/onm00200471ave/direct/01/
MT
Michael Toop
Wed, Jan 14, 2009 7:06 AM

Hi Miquel,

The way I terminate calls after a specific duration is with a loop that
looks at the call durations & then hangs up the call.

I am not sure this is the 'right' way to do this especially .  I have
some Python stub code below for you to reference if you would like.
This is called every 50 seconds in my case.

Make a call

call_cb = ACallCallback(call, playbackMessage, uid)
call.set_callback(call_cb)
callList.append(call)

def killLongCalls(maxDuration):
'''Kill long calls'''
try:
for c in callList:
log.log(log.DEBUG,'Call time now: %s' % c.info().call_time)
if c.info().call_time > int(maxDuration):
log.log(log.DEBUG,'About to kill the following call over
%s s: %s' %
(maxDuration, str(c)))
callList.remove(c)
c.hangup()
except pj.Error,e:
log.log(log.DEBUG,'Couldnt remove call %s, assuming PJ cleaned
up.  Removing from my call list' % e)
callList.remove(c)
pass
return

Cheers,

Michael

Miquel Castelijns wrote:

Hello,

I am using pjsua as a test app. What it does is making a call, and
after 10 seconds it ends.
After that I read the log and filter the jitter en packetloss.

One problem is that I need pjsua to quit after the call ends.
Is there a simple solution for this?

I tried to make it work with perl scripts but it couldn't solve the
problem that pjsua still runs..
Also google couldn't help me.

Thanks in advance,

Mcmiek
Netherlands


Express yourself instantly with MSN Messenger! MSN Messenger
http://clk.atdmt.com/AVE/go/onm00200471ave/direct/01/


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

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

--

Vox Telecom Limited
Block B, Rutherford Estate

tel: +27 11 809 1500
direct: +27 11 809 1646
mobile: +27 83 364 2370
fax: 0865 023 695

http://www.voxtelecom.co.za
email:michaelt@voxtelecom.co.za

Disclaimer: BizCall does not accept responsibility or liability for the unauthorised use of its e-mail facility and/or opinions relating to bona fide company matters.  Save for statements and/or opinions relating to bona fide company matters, Bizcall denies responsibility or liability for the contents of this communication.

Hi Miquel, The way I terminate calls after a specific duration is with a loop that looks at the call durations & then hangs up the call. I am not sure this is the 'right' way to do this especially . I have some Python stub code below for you to reference if you would like. This is called every 50 seconds in my case. # Make a call call_cb = ACallCallback(call, playbackMessage, uid) call.set_callback(call_cb) callList.append(call) def killLongCalls(maxDuration): '''Kill long calls''' try: for c in callList: log.log(log.DEBUG,'Call time now: %s' % c.info().call_time) if c.info().call_time > int(maxDuration): log.log(log.DEBUG,'About to kill the following call over %s s: %s' % \ (maxDuration, str(c))) callList.remove(c) c.hangup() except pj.Error,e: log.log(log.DEBUG,'Couldnt remove call %s, assuming PJ cleaned up. Removing from my call list' % e) callList.remove(c) pass return Cheers, Michael Miquel Castelijns wrote: > Hello, > > I am using pjsua as a test app. What it does is making a call, and > after 10 seconds it ends. > After that I read the log and filter the jitter en packetloss. > > One problem is that I need pjsua to quit after the call ends. > Is there a simple solution for this? > > I tried to make it work with perl scripts but it couldn't solve the > problem that pjsua still runs.. > Also google couldn't help me. > > > Thanks in advance, > > Mcmiek > Netherlands > > > ------------------------------------------------------------------------ > Express yourself instantly with MSN Messenger! MSN Messenger > <http://clk.atdmt.com/AVE/go/onm00200471ave/direct/01/> > ------------------------------------------------------------------------ > > _______________________________________________ > Visit our blog: http://blog.pjsip.org > > pjsip mailing list > pjsip@lists.pjsip.org > http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org > -- Vox Telecom Limited Block B, Rutherford Estate tel: +27 11 809 1500 direct: +27 11 809 1646 mobile: +27 83 364 2370 fax: 0865 023 695 - http://www.voxtelecom.co.za email:michaelt@voxtelecom.co.za Disclaimer: BizCall does not accept responsibility or liability for the unauthorised use of its e-mail facility and/or opinions relating to bona fide company matters. Save for statements and/or opinions relating to bona fide company matters, Bizcall denies responsibility or liability for the contents of this communication.
BP
Benny Prijono
Wed, Jan 14, 2009 1:45 PM

On Tue, Jan 13, 2009 at 10:18 AM, Pai Peng sipaipv6@gmail.com wrote:

Hello,

as I can see in the source code, the system-dependent-level, such as
RSocket, is written in Symbian C++. Because the Open C for Symbian is
already published to the world. I would like here ask the developers of
PjSIPStack, if there is a plan to port PjSIPStack with OpenC?

Personally I think C++ is the better alternative, as I imagine most of the
application code will be written in C++ too anyway, so it minimized the
number of languages that we use. Do you think there are benefits of using
OpenC instead?

by the way, one more question: if you are going to port sound-device code
with the VoIP Audio Service VAS API, beside APS?

We are aiming to do that for the next 1.1 release (
http://trac.pjsip.org/repos/milestone/release-1.1).

Cheers
Benny

On Tue, Jan 13, 2009 at 10:18 AM, Pai Peng <sipaipv6@gmail.com> wrote: > Hello, > > > as I can see in the source code, the system-dependent-level, such as > RSocket, is written in Symbian C++. Because the Open C for Symbian is > already published to the world. I would like here ask the developers of > PjSIPStack, if there is a plan to port PjSIPStack with OpenC? > > Personally I think C++ is the better alternative, as I imagine most of the application code will be written in C++ too anyway, so it minimized the number of languages that we use. Do you think there are benefits of using OpenC instead? > by the way, one more question: if you are going to port sound-device code > with the VoIP Audio Service VAS API, beside APS? > > We are aiming to do that for the next 1.1 release ( http://trac.pjsip.org/repos/milestone/release-1.1). Cheers Benny
MC
Miquel Castelijns
Thu, Jan 15, 2009 8:28 AM

Michael,

Thanks for the reply!
The answer is often too simple :)
I quit the app bij removing all the "stdin" in pjsua_media.c en remove the loop in console_app_main().

Greetz
Miquel

Date: Wed, 14 Jan 2009 09:06:45 +0200From: michaelt@bizcall.co.zaTo: pjsip@lists.pjsip.orgSubject: Re: [pjsip] automatic quit after callHi Miquel, The way I terminate calls after a specific duration is with a loop that looks at the call durations & then hangs up the call.  I am not sure this is the 'right' way to do this especially .  I have some Python stub code below for you to reference if you would like.  This is called every 50 seconds in my case.# Make a callcall_cb = ACallCallback(call, playbackMessage, uid)call.set_callback(call_cb)callList.append(call)def killLongCalls(maxDuration):    '''Kill long calls'''      try:        for c in callList:            log.log(log.DEBUG,'Call time now: %s' % c.info().call_time)            if c.info().call_time > int(maxDuration):                log.log(log.DEBUG,'About to kill the following call over %s s: %s' % \                        (maxDuration, str(c)))                callList.remove(c)                c.hangup()    except pj.Error,e:        log.log(log.DEBUG,'Couldnt remove call %s, assuming PJ cleaned up.  Removing from my call list' % e)        callList.remove(c)        pass    returnCheers,MichaelMiquel Castelijns wrote:

Hello, I am using pjsua as a test app. What it does is making a call, and after 10 seconds it ends.After that I read the log and filter the jitter en packetloss. One problem is that I need pjsua to quit after the call ends.Is there a simple solution for this? I tried to make it work with perl scripts but it couldn't solve the problem that pjsua still runs..Also google couldn't help me.  Thanks in advance, McmiekNetherlands

Express yourself instantly with MSN Messenger! MSN Messenger


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

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

Vox Telecom Limited
Block B, Rutherford Estate

tel: +27 11 809 1500
direct: +27 11 809 1646
mobile: +27 83 364 2370
fax: 0865 023 695

http://www.voxtelecom.co.za
email:michaelt@voxtelecom.co.za

Disclaimer: BizCall does not accept responsibility or liability for the unauthorised use of its e-mail facility and/or opinions relating to bona fide company matters.  Save for statements and/or opinions relating to bona fide company matters, Bizcall denies responsibility or liability for the contents of this communication.


Express yourself instantly with MSN Messenger! Download today it's FREE!
http://messenger.msn.click-url.com/go/onm00200471ave/direct/01/

Michael, Thanks for the reply! The answer is often too simple :) I quit the app bij removing all the "stdin" in pjsua_media.c en remove the loop in console_app_main(). Greetz Miquel Date: Wed, 14 Jan 2009 09:06:45 +0200From: michaelt@bizcall.co.zaTo: pjsip@lists.pjsip.orgSubject: Re: [pjsip] automatic quit after callHi Miquel, The way I terminate calls after a specific duration is with a loop that looks at the call durations & then hangs up the call. I am not sure this is the 'right' way to do this especially . I have some Python stub code below for you to reference if you would like. This is called every 50 seconds in my case.# Make a callcall_cb = ACallCallback(call, playbackMessage, uid)call.set_callback(call_cb)callList.append(call)def killLongCalls(maxDuration): '''Kill long calls''' try: for c in callList: log.log(log.DEBUG,'Call time now: %s' % c.info().call_time) if c.info().call_time > int(maxDuration): log.log(log.DEBUG,'About to kill the following call over %s s: %s' % \ (maxDuration, str(c))) callList.remove(c) c.hangup() except pj.Error,e: log.log(log.DEBUG,'Couldnt remove call %s, assuming PJ cleaned up. Removing from my call list' % e) callList.remove(c) pass returnCheers,MichaelMiquel Castelijns wrote: Hello, I am using pjsua as a test app. What it does is making a call, and after 10 seconds it ends.After that I read the log and filter the jitter en packetloss. One problem is that I need pjsua to quit after the call ends.Is there a simple solution for this? I tried to make it work with perl scripts but it couldn't solve the problem that pjsua still runs..Also google couldn't help me. Thanks in advance, McmiekNetherlands Express yourself instantly with MSN Messenger! MSN Messenger _______________________________________________ Visit our blog: http://blog.pjsip.org pjsip mailing list pjsip@lists.pjsip.org http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org -- Vox Telecom Limited Block B, Rutherford Estate tel: +27 11 809 1500 direct: +27 11 809 1646 mobile: +27 83 364 2370 fax: 0865 023 695 - http://www.voxtelecom.co.za email:michaelt@voxtelecom.co.za Disclaimer: BizCall does not accept responsibility or liability for the unauthorised use of its e-mail facility and/or opinions relating to bona fide company matters. Save for statements and/or opinions relating to bona fide company matters, Bizcall denies responsibility or liability for the contents of this communication. _________________________________________________________________ Express yourself instantly with MSN Messenger! Download today it's FREE! http://messenger.msn.click-url.com/go/onm00200471ave/direct/01/