To implement pjsip to support 200 simultaneous calls

VP
varun pratapsingh
Wed, Sep 14, 2011 3:56 PM

HI All,

I need to implement in PJSIP so that it can support the 200 calls
simultaneously. I am following the steps given at:
http://trac.pjsip.org/repos/wiki/FAQ#high-perf
The steps told under heading: *How can I configure pjsip to serve thousands
of calls?

*Has anyone tried to implement such functionality in pjsip. If any body can
share his experience in this then It will be appreciated.

Regards:
Varun Pratap Singh

http://trac.pjsip.org/repos/wiki/FAQ#high-perf

HI All, I need to implement in PJSIP so that it can support the 200 calls simultaneously. I am following the steps given at: http://trac.pjsip.org/repos/wiki/FAQ#high-perf The steps told under heading: *How can I configure pjsip to serve thousands of calls? *Has anyone tried to implement such functionality in pjsip. If any body can share his experience in this then It will be appreciated. Regards: Varun Pratap Singh <http://trac.pjsip.org/repos/wiki/FAQ#high-perf>
VP
varun pratapsingh
Thu, Sep 15, 2011 2:15 PM

HI All,

I need to implement in PJSIP so that it can support the 200 calls
simultaneously. I am following the steps given at:
http://trac.pjsip.org/repos/wiki/FAQ#high-perf
The steps told under heading: *How can I configure pjsip to serve thousands
of calls?

*Has anyone tried to implement such functionality in pjsip. If any body can
share his experience in this then It will be appreciated.

Regards:
Varun Pratap Singh

http://trac.pjsip.org/repos/wiki/FAQ#high-perf

HI All, I need to implement in PJSIP so that it can support the 200 calls simultaneously. I am following the steps given at: http://trac.pjsip.org/repos/wiki/FAQ#high-perf The steps told under heading: *How can I configure pjsip to serve thousands of calls? *Has anyone tried to implement such functionality in pjsip. If any body can share his experience in this then It will be appreciated. Regards: Varun Pratap Singh <http://trac.pjsip.org/repos/wiki/FAQ#high-perf>
SO
Shayne O'Neill
Fri, Sep 16, 2011 12:09 AM

If your planning on serving thousands of calls your probably better off looking at something like Opensips with a dedicated media proxy  array. pjsips can handle a surprising call load, but your really pushing it with that sort of volume in a monolithic sip/rtp stack.

On 15/09/2011, at 10:15 PM, varun pratapsingh wrote:

HI All,

I need to implement in PJSIP so that it can support the 200 calls simultaneously. I am following the steps given at: http://trac.pjsip.org/repos/wiki/FAQ#high-perf
The steps told under heading: How can I configure pjsip to serve thousands of calls?

Has anyone tried to implement such functionality in pjsip. If any body can share his experience in this then It will be appreciated.

Regards:
Varun Pratap Singh


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

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

If your planning on serving thousands of calls your probably better off looking at something like Opensips with a dedicated media proxy array. pjsips can handle a surprising call load, but your really pushing it with that sort of volume in a monolithic sip/rtp stack. On 15/09/2011, at 10:15 PM, varun pratapsingh wrote: > > HI All, > > I need to implement in PJSIP so that it can support the 200 calls simultaneously. I am following the steps given at: http://trac.pjsip.org/repos/wiki/FAQ#high-perf > The steps told under heading: How can I configure pjsip to serve thousands of calls? > > Has anyone tried to implement such functionality in pjsip. If any body can share his experience in this then It will be appreciated. > > > Regards: > Varun Pratap Singh > > > > _______________________________________________ > Visit our blog: http://blog.pjsip.org > > pjsip mailing list > pjsip@lists.pjsip.org > http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org
VP
varun pratapsingh
Fri, Sep 16, 2011 12:30 PM

HI Shayne,

Thanks for your reply. But I don't think PJSIP is not suitable as any
other Library.

See first I don't want to serve thousands of calls but only 200 calls.
Second point is that PJSUA-LIB has only the limitation that it creates
only one conference bridge for all calls and media. But the low level
PJSIP libraries like PJSIP-UA and PJMEDIA don't limits anything. If we
can execute a proper application design on the basic PJSIP libraries
or modify the PJSUA-LIB to serve 200 calls we can do it. This is I
think.

But I really wanted to know that have somebody already tried this. If
yes then what was his approach. Can any body share some work or some
idea which can be useful.

Your help is appreciated. Thanks in advance.

Regards:
Varun Pratap Singh

On 9/16/11, Shayne O'Neill shayne.oneill@gmail.com wrote:

If your planning on serving thousands of calls your probably better off
looking at something like Opensips with a dedicated media proxy  array.
pjsips can handle a surprising call load, but your really pushing it with
that sort of volume in a monolithic sip/rtp stack.

On 15/09/2011, at 10:15 PM, varun pratapsingh wrote:

HI All,

I need to implement in PJSIP so that it can support the 200 calls
simultaneously. I am following the steps given at:
http://trac.pjsip.org/repos/wiki/FAQ#high-perf
The steps told under heading: How can I configure pjsip to serve thousands
of calls?

Has anyone tried to implement such functionality in pjsip. If any body can
share his experience in this then It will be appreciated.

Regards:
Varun Pratap Singh


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

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

HI Shayne, Thanks for your reply. But I don't think PJSIP is not suitable as any other Library. See first I don't want to serve thousands of calls but only 200 calls. Second point is that PJSUA-LIB has only the limitation that it creates only one conference bridge for all calls and media. But the low level PJSIP libraries like PJSIP-UA and PJMEDIA don't limits anything. If we can execute a proper application design on the basic PJSIP libraries or modify the PJSUA-LIB to serve 200 calls we can do it. This is I think. But I really wanted to know that have somebody already tried this. If yes then what was his approach. Can any body share some work or some idea which can be useful. Your help is appreciated. Thanks in advance. Regards: Varun Pratap Singh On 9/16/11, Shayne O'Neill <shayne.oneill@gmail.com> wrote: > > If your planning on serving thousands of calls your probably better off > looking at something like Opensips with a dedicated media proxy array. > pjsips can handle a surprising call load, but your really pushing it with > that sort of volume in a monolithic sip/rtp stack. > > On 15/09/2011, at 10:15 PM, varun pratapsingh wrote: > >> >> HI All, >> >> I need to implement in PJSIP so that it can support the 200 calls >> simultaneously. I am following the steps given at: >> http://trac.pjsip.org/repos/wiki/FAQ#high-perf >> The steps told under heading: How can I configure pjsip to serve thousands >> of calls? >> >> Has anyone tried to implement such functionality in pjsip. If any body can >> share his experience in this then It will be appreciated. >> >> >> Regards: >> Varun Pratap Singh >> >> >> >> _______________________________________________ >> Visit our blog: http://blog.pjsip.org >> >> pjsip mailing list >> pjsip@lists.pjsip.org >> http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org > >
AV
Arie Velthoen
Fri, Sep 16, 2011 1:02 PM

Hi,

My experience is that one can use PJSUA-lib with more than 500 simultaneous calls, and 500 bothway RTP channels when using conferences with 8kHz sampling, PCMA or PCMU codec, and no echo cancelling.
I used a Win2003 server on a Xeon5130 machine (pretty old now).

I also had to undo ticket #1015 Disable ioqueue Completion Port backend
See http://lists.pjsip.org/pipermail/pjsip_lists.pjsip.org/2010-June/011104.html

Regards,

Arie

Date: Fri, 16 Sep 2011 18:00:23 +0530
From: varunps2003@gmail.com
To: pjsip@lists.pjsip.org
Subject: Re: [pjsip] To implement pjsip to support 200 simultaneous calls

HI Shayne,

Thanks for your reply. But I don't think PJSIP is not suitable as any
other Library.

See first I don't want to serve thousands of calls but only 200 calls.
Second point is that PJSUA-LIB has only the limitation that it creates
only one conference bridge for all calls and media. But the low level
PJSIP libraries like PJSIP-UA and PJMEDIA don't limits anything. If we
can execute a proper application design on the basic PJSIP libraries
or modify the PJSUA-LIB to serve 200 calls we can do it. This is I
think.

But I really wanted to know that have somebody already tried this. If
yes then what was his approach. Can any body share some work or some
idea which can be useful.

Your help is appreciated. Thanks in advance.

Regards:
Varun Pratap Singh

On 9/16/11, Shayne O'Neill shayne.oneill@gmail.com wrote:

If your planning on serving thousands of calls your probably better off
looking at something like Opensips with a dedicated media proxy array.
pjsips can handle a surprising call load, but your really pushing it with
that sort of volume in a monolithic sip/rtp stack.

On 15/09/2011, at 10:15 PM, varun pratapsingh wrote:

HI All,

I need to implement in PJSIP so that it can support the 200 calls
simultaneously. I am following the steps given at:
http://trac.pjsip.org/repos/wiki/FAQ#high-perf
The steps told under heading: How can I configure pjsip to serve thousands
of calls?

Has anyone tried to implement such functionality in pjsip. If any body can
share his experience in this then It will be appreciated.

Regards:
Varun Pratap Singh


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

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

Hi, My experience is that one can use PJSUA-lib with more than 500 simultaneous calls, and 500 bothway RTP channels when using conferences with 8kHz sampling, PCMA or PCMU codec, and no echo cancelling. I used a Win2003 server on a Xeon5130 machine (pretty old now). I also had to undo ticket #1015 Disable ioqueue Completion Port backend See http://lists.pjsip.org/pipermail/pjsip_lists.pjsip.org/2010-June/011104.html Regards, Arie > Date: Fri, 16 Sep 2011 18:00:23 +0530 > From: varunps2003@gmail.com > To: pjsip@lists.pjsip.org > Subject: Re: [pjsip] To implement pjsip to support 200 simultaneous calls > > HI Shayne, > > Thanks for your reply. But I don't think PJSIP is not suitable as any > other Library. > > See first I don't want to serve thousands of calls but only 200 calls. > Second point is that PJSUA-LIB has only the limitation that it creates > only one conference bridge for all calls and media. But the low level > PJSIP libraries like PJSIP-UA and PJMEDIA don't limits anything. If we > can execute a proper application design on the basic PJSIP libraries > or modify the PJSUA-LIB to serve 200 calls we can do it. This is I > think. > > But I really wanted to know that have somebody already tried this. If > yes then what was his approach. Can any body share some work or some > idea which can be useful. > > Your help is appreciated. Thanks in advance. > > > Regards: > Varun Pratap Singh > > On 9/16/11, Shayne O'Neill <shayne.oneill@gmail.com> wrote: > > > > If your planning on serving thousands of calls your probably better off > > looking at something like Opensips with a dedicated media proxy array. > > pjsips can handle a surprising call load, but your really pushing it with > > that sort of volume in a monolithic sip/rtp stack. > > > > On 15/09/2011, at 10:15 PM, varun pratapsingh wrote: > > > >> > >> HI All, > >> > >> I need to implement in PJSIP so that it can support the 200 calls > >> simultaneously. I am following the steps given at: > >> http://trac.pjsip.org/repos/wiki/FAQ#high-perf > >> The steps told under heading: How can I configure pjsip to serve thousands > >> of calls? > >> > >> Has anyone tried to implement such functionality in pjsip. If any body can > >> share his experience in this then It will be appreciated. > >> > >> > >> Regards: > >> Varun Pratap Singh > >> > >> > >> > >> _______________________________________________ > >> 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
VP
varun pratapsingh
Fri, Sep 16, 2011 5:56 PM

Hi Arie,

Thanks for your reply.

But don't you think when you had 500 simultaneous calls and 500 RTP streams
then your call qualities were bad. In my case if I use the same conference
bridge for all calls the quality goes bad after 20 simultaneous calls. Is
there any trick or settings you are using. Or have you done some changes at
code level to achieve this. Can you share this information.

Thanks in advance.

Regards:
Varun

On Fri, Sep 16, 2011 at 6:32 PM, Arie Velthoen arie_velthoen@hotmail.comwrote:

Hi,

My experience is that one can use PJSUA-lib with more than 500 simultaneous
calls, and 500 bothway RTP channels when using conferences with 8kHz
sampling, PCMA or PCMU codec, and no echo cancelling.
I used a Win2003 server on a Xeon5130 machine (pretty old now).

I also had to undo ticket #1015 Disable ioqueue Completion Port backend
See
http://lists.pjsip.org/pipermail/pjsip_lists.pjsip.org/2010-June/011104.html

Regards,

Arie

Date: Fri, 16 Sep 2011 18:00:23 +0530
From: varunps2003@gmail.com
To: pjsip@lists.pjsip.org
Subject: Re: [pjsip] To implement pjsip to support 200 simultaneous calls

HI Shayne,

Thanks for your reply. But I don't think PJSIP is not suitable as any
other Library.

See first I don't want to serve thousands of calls but only 200 calls.
Second point is that PJSUA-LIB has only the limitation that it creates
only one conference bridge for all calls and media. But the low level
PJSIP libraries like PJSIP-UA and PJMEDIA don't limits anything. If we
can execute a proper application design on the basic PJSIP libraries
or modify the PJSUA-LIB to serve 200 calls we can do it. This is I
think.

But I really wanted to know that have somebody already tried this. If
yes then what was his approach. Can any body share some work or some
idea which can be useful.

Your help is appreciated. Thanks in advance.

Regards:
Varun Pratap Singh

On 9/16/11, Shayne O'Neill shayne.oneill@gmail.com wrote:

If your planning on serving thousands of calls your probably better off
looking at something like Opensips with a dedicated media proxy array.
pjsips can handle a surprising call load, but your really pushing it

with

that sort of volume in a monolithic sip/rtp stack.

On 15/09/2011, at 10:15 PM, varun pratapsingh wrote:

HI All,

I need to implement in PJSIP so that it can support the 200 calls
simultaneously. I am following the steps given at:
http://trac.pjsip.org/repos/wiki/FAQ#high-perf
The steps told under heading: How can I configure pjsip to serve

thousands

of calls?

Has anyone tried to implement such functionality in pjsip. If any body

can

share his experience in this then It will be appreciated.

Regards:
Varun Pratap Singh


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

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

Hi Arie, Thanks for your reply. But don't you think when you had 500 simultaneous calls and 500 RTP streams then your call qualities were bad. In my case if I use the same conference bridge for all calls the quality goes bad after 20 simultaneous calls. Is there any trick or settings you are using. Or have you done some changes at code level to achieve this. Can you share this information. Thanks in advance. Regards: Varun On Fri, Sep 16, 2011 at 6:32 PM, Arie Velthoen <arie_velthoen@hotmail.com>wrote: > Hi, > > My experience is that one can use PJSUA-lib with more than 500 simultaneous > calls, and 500 bothway RTP channels when using conferences with 8kHz > sampling, PCMA or PCMU codec, and no echo cancelling. > I used a Win2003 server on a Xeon5130 machine (pretty old now). > > I also had to undo ticket #1015 Disable ioqueue Completion Port backend > See > http://lists.pjsip.org/pipermail/pjsip_lists.pjsip.org/2010-June/011104.html > > Regards, > > Arie > > > > > Date: Fri, 16 Sep 2011 18:00:23 +0530 > > From: varunps2003@gmail.com > > To: pjsip@lists.pjsip.org > > Subject: Re: [pjsip] To implement pjsip to support 200 simultaneous calls > > > > > HI Shayne, > > > > Thanks for your reply. But I don't think PJSIP is not suitable as any > > other Library. > > > > See first I don't want to serve thousands of calls but only 200 calls. > > Second point is that PJSUA-LIB has only the limitation that it creates > > only one conference bridge for all calls and media. But the low level > > PJSIP libraries like PJSIP-UA and PJMEDIA don't limits anything. If we > > can execute a proper application design on the basic PJSIP libraries > > or modify the PJSUA-LIB to serve 200 calls we can do it. This is I > > think. > > > > But I really wanted to know that have somebody already tried this. If > > yes then what was his approach. Can any body share some work or some > > idea which can be useful. > > > > Your help is appreciated. Thanks in advance. > > > > > > Regards: > > Varun Pratap Singh > > > > On 9/16/11, Shayne O'Neill <shayne.oneill@gmail.com> wrote: > > > > > > If your planning on serving thousands of calls your probably better off > > > looking at something like Opensips with a dedicated media proxy array. > > > pjsips can handle a surprising call load, but your really pushing it > with > > > that sort of volume in a monolithic sip/rtp stack. > > > > > > On 15/09/2011, at 10:15 PM, varun pratapsingh wrote: > > > > > >> > > >> HI All, > > >> > > >> I need to implement in PJSIP so that it can support the 200 calls > > >> simultaneously. I am following the steps given at: > > >> http://trac.pjsip.org/repos/wiki/FAQ#high-perf > > >> The steps told under heading: How can I configure pjsip to serve > thousands > > >> of calls? > > >> > > >> Has anyone tried to implement such functionality in pjsip. If any body > can > > >> share his experience in this then It will be appreciated. > > >> > > >> > > >> Regards: > > >> Varun Pratap Singh > > >> > > >> > > >> > > >> _______________________________________________ > > >> 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 > >
JD
Joel Dodson
Fri, Sep 16, 2011 6:35 PM

Hi Varun,

I wrote a signaling and media gateway running on Windows using PJSIP.
I used the lower layer APIs you mention but did not use the bridge.  I
directly accessed the RTP, and passed it manually between the ports.
I was able to run 256 simultaneous calls on a 3 GHz dual core
processor with 4G RAM.  I did most of my testing on VMs and still had
good call quality and the systems was still approx 50% idle.  I made
real calls through the system while load tests were running and
actually listened to the audio.  I was using PJSIP 1.0 (or maybe 1.1).

For directly accessing the RTP, see pjsip-apps/src/samples/siprtp.c

good luck,

Joel

On Fri, Sep 16, 2011 at 10:56 AM, varun pratapsingh
varunps2003@gmail.com wrote:

Hi Arie,

Thanks for your reply.

But don't you think when you had 500 simultaneous calls and 500 RTP streams
then your call qualities were bad. In my case if I use the same conference
bridge for all calls the quality goes bad after 20 simultaneous calls. Is
there any trick or settings you are using. Or have you done some changes at
code level to achieve this. Can you share this information.

Thanks in advance.

Regards:
Varun

On Fri, Sep 16, 2011 at 6:32 PM, Arie Velthoen arie_velthoen@hotmail.com
wrote:

Hi,

My experience is that one can use PJSUA-lib with more than 500
simultaneous calls, and 500 bothway RTP channels when using conferences with
8kHz sampling, PCMA or PCMU codec, and no echo cancelling.
I used a Win2003 server on a Xeon5130 machine (pretty old now).

I also had to undo ticket #1015 Disable ioqueue Completion Port backend
See
http://lists.pjsip.org/pipermail/pjsip_lists.pjsip.org/2010-June/011104.html

Regards,

Arie

Date: Fri, 16 Sep 2011 18:00:23 +0530
From: varunps2003@gmail.com
To: pjsip@lists.pjsip.org
Subject: Re: [pjsip] To implement pjsip to support 200 simultaneous
calls

HI Shayne,

Thanks for your reply. But I don't think PJSIP is not suitable as any
other Library.

See first I don't want to serve thousands of calls but only 200 calls.
Second point is that PJSUA-LIB has only the limitation that it creates
only one conference bridge for all calls and media. But the low level
PJSIP libraries like PJSIP-UA and PJMEDIA don't limits anything. If we
can execute a proper application design on the basic PJSIP libraries
or modify the PJSUA-LIB to serve 200 calls we can do it. This is I
think.

But I really wanted to know that have somebody already tried this. If
yes then what was his approach. Can any body share some work or some
idea which can be useful.

Your help is appreciated. Thanks in advance.

Regards:
Varun Pratap Singh

On 9/16/11, Shayne O'Neill shayne.oneill@gmail.com wrote:

If your planning on serving thousands of calls your probably better
off
looking at something like Opensips with a dedicated media proxy array.
pjsips can handle a surprising call load, but your really pushing it
with
that sort of volume in a monolithic sip/rtp stack.

On 15/09/2011, at 10:15 PM, varun pratapsingh wrote:

HI All,

I need to implement in PJSIP so that it can support the 200 calls
simultaneously. I am following the steps given at:
http://trac.pjsip.org/repos/wiki/FAQ#high-perf
The steps told under heading: How can I configure pjsip to serve
thousands
of calls?

Has anyone tried to implement such functionality in pjsip. If any
body can
share his experience in this then It will be appreciated.

Regards:
Varun Pratap Singh


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

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

Hi Varun, I wrote a signaling and media gateway running on Windows using PJSIP. I used the lower layer APIs you mention but did not use the bridge. I directly accessed the RTP, and passed it manually between the ports. I was able to run 256 simultaneous calls on a 3 GHz dual core processor with 4G RAM. I did most of my testing on VMs and still had good call quality and the systems was still approx 50% idle. I made real calls through the system while load tests were running and actually listened to the audio. I was using PJSIP 1.0 (or maybe 1.1). For directly accessing the RTP, see pjsip-apps/src/samples/siprtp.c good luck, Joel On Fri, Sep 16, 2011 at 10:56 AM, varun pratapsingh <varunps2003@gmail.com> wrote: > Hi Arie, > > Thanks for your reply. > > But don't you think when you had 500 simultaneous calls and 500 RTP streams > then your call qualities were bad. In my case if I use the same conference > bridge for all calls the quality goes bad after 20 simultaneous calls. Is > there any trick or settings you are using. Or have you done some changes at > code level to achieve this. Can you share this information. > > Thanks in advance. > > Regards: > Varun > > On Fri, Sep 16, 2011 at 6:32 PM, Arie Velthoen <arie_velthoen@hotmail.com> > wrote: >> >> Hi, >> >> My experience is that one can use PJSUA-lib with more than 500 >> simultaneous calls, and 500 bothway RTP channels when using conferences with >> 8kHz sampling, PCMA or PCMU codec, and no echo cancelling. >> I used a Win2003 server on a Xeon5130 machine (pretty old now). >> >> I also had to undo ticket #1015 Disable ioqueue Completion Port backend >> See >> http://lists.pjsip.org/pipermail/pjsip_lists.pjsip.org/2010-June/011104.html >> >> Regards, >> >> Arie >> >> >> >> > Date: Fri, 16 Sep 2011 18:00:23 +0530 >> > From: varunps2003@gmail.com >> > To: pjsip@lists.pjsip.org >> > Subject: Re: [pjsip] To implement pjsip to support 200 simultaneous >> > calls >> > >> > HI Shayne, >> > >> > Thanks for your reply. But I don't think PJSIP is not suitable as any >> > other Library. >> > >> > See first I don't want to serve thousands of calls but only 200 calls. >> > Second point is that PJSUA-LIB has only the limitation that it creates >> > only one conference bridge for all calls and media. But the low level >> > PJSIP libraries like PJSIP-UA and PJMEDIA don't limits anything. If we >> > can execute a proper application design on the basic PJSIP libraries >> > or modify the PJSUA-LIB to serve 200 calls we can do it. This is I >> > think. >> > >> > But I really wanted to know that have somebody already tried this. If >> > yes then what was his approach. Can any body share some work or some >> > idea which can be useful. >> > >> > Your help is appreciated. Thanks in advance. >> > >> > >> > Regards: >> > Varun Pratap Singh >> > >> > On 9/16/11, Shayne O'Neill <shayne.oneill@gmail.com> wrote: >> > > >> > > If your planning on serving thousands of calls your probably better >> > > off >> > > looking at something like Opensips with a dedicated media proxy array. >> > > pjsips can handle a surprising call load, but your really pushing it >> > > with >> > > that sort of volume in a monolithic sip/rtp stack. >> > > >> > > On 15/09/2011, at 10:15 PM, varun pratapsingh wrote: >> > > >> > >> >> > >> HI All, >> > >> >> > >> I need to implement in PJSIP so that it can support the 200 calls >> > >> simultaneously. I am following the steps given at: >> > >> http://trac.pjsip.org/repos/wiki/FAQ#high-perf >> > >> The steps told under heading: How can I configure pjsip to serve >> > >> thousands >> > >> of calls? >> > >> >> > >> Has anyone tried to implement such functionality in pjsip. If any >> > >> body can >> > >> share his experience in this then It will be appreciated. >> > >> >> > >> >> > >> Regards: >> > >> Varun Pratap Singh >> > >> >> > >> >> > >> >> > >> _______________________________________________ >> > >> 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 >> > > > _______________________________________________ > Visit our blog: http://blog.pjsip.org > > pjsip mailing list > pjsip@lists.pjsip.org > http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org > >
VP
varun pratapsingh
Sat, Sep 17, 2011 7:48 AM

Great work Joel.

But how did you increased the number of calls. Did you implemented some
strategy for it.

or it just work by increasing the app.max_calls = 1; from 1 to 256 in
init_options functions.
Also what were the other changes done by you to achieve the simultaneous
calls to 256.
Also have you increased the app.thread_count to achieve this.

Thanks in advance Joel.

Regards:
Varun Singh

On Sat, Sep 17, 2011 at 12:05 AM, Joel Dodson jdodson@acm.org wrote:

Hi Varun,

I wrote a signaling and media gateway running on Windows using PJSIP.
I used the lower layer APIs you mention but did not use the bridge.  I
directly accessed the RTP, and passed it manually between the ports.
I was able to run 256 simultaneous calls on a 3 GHz dual core
processor with 4G RAM.  I did most of my testing on VMs and still had
good call quality and the systems was still approx 50% idle.  I made
real calls through the system while load tests were running and
actually listened to the audio.  I was using PJSIP 1.0 (or maybe 1.1).

For directly accessing the RTP, see pjsip-apps/src/samples/siprtp.c

good luck,

Joel

On Fri, Sep 16, 2011 at 10:56 AM, varun pratapsingh
varunps2003@gmail.com wrote:

Hi Arie,

Thanks for your reply.

But don't you think when you had 500 simultaneous calls and 500 RTP

streams

then your call qualities were bad. In my case if I use the same

conference

bridge for all calls the quality goes bad after 20 simultaneous calls. Is
there any trick or settings you are using. Or have you done some changes

at

code level to achieve this. Can you share this information.

Thanks in advance.

Regards:
Varun

On Fri, Sep 16, 2011 at 6:32 PM, Arie Velthoen <

wrote:

Hi,

My experience is that one can use PJSUA-lib with more than 500
simultaneous calls, and 500 bothway RTP channels when using conferences

with

8kHz sampling, PCMA or PCMU codec, and no echo cancelling.
I used a Win2003 server on a Xeon5130 machine (pretty old now).

I also had to undo ticket #1015 Disable ioqueue Completion Port backend
See

Regards,

Arie

Date: Fri, 16 Sep 2011 18:00:23 +0530
From: varunps2003@gmail.com
To: pjsip@lists.pjsip.org
Subject: Re: [pjsip] To implement pjsip to support 200 simultaneous
calls

HI Shayne,

Thanks for your reply. But I don't think PJSIP is not suitable as any
other Library.

See first I don't want to serve thousands of calls but only 200 calls.
Second point is that PJSUA-LIB has only the limitation that it creates
only one conference bridge for all calls and media. But the low level
PJSIP libraries like PJSIP-UA and PJMEDIA don't limits anything. If we
can execute a proper application design on the basic PJSIP libraries
or modify the PJSUA-LIB to serve 200 calls we can do it. This is I
think.

But I really wanted to know that have somebody already tried this. If
yes then what was his approach. Can any body share some work or some
idea which can be useful.

Your help is appreciated. Thanks in advance.

Regards:
Varun Pratap Singh

On 9/16/11, Shayne O'Neill shayne.oneill@gmail.com wrote:

If your planning on serving thousands of calls your probably better
off
looking at something like Opensips with a dedicated media proxy

array.

pjsips can handle a surprising call load, but your really pushing it
with
that sort of volume in a monolithic sip/rtp stack.

On 15/09/2011, at 10:15 PM, varun pratapsingh wrote:

HI All,

I need to implement in PJSIP so that it can support the 200 calls
simultaneously. I am following the steps given at:
http://trac.pjsip.org/repos/wiki/FAQ#high-perf
The steps told under heading: How can I configure pjsip to serve
thousands
of calls?

Has anyone tried to implement such functionality in pjsip. If any
body can
share his experience in this then It will be appreciated.

Regards:
Varun Pratap Singh


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

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

Great work Joel. But how did you increased the number of calls. Did you implemented some strategy for it. or it just work by increasing the app.max_calls = 1; from 1 to 256 in init_options functions. Also what were the other changes done by you to achieve the simultaneous calls to 256. Also have you increased the app.thread_count to achieve this. Thanks in advance Joel. Regards: Varun Singh On Sat, Sep 17, 2011 at 12:05 AM, Joel Dodson <jdodson@acm.org> wrote: > Hi Varun, > > I wrote a signaling and media gateway running on Windows using PJSIP. > I used the lower layer APIs you mention but did not use the bridge. I > directly accessed the RTP, and passed it manually between the ports. > I was able to run 256 simultaneous calls on a 3 GHz dual core > processor with 4G RAM. I did most of my testing on VMs and still had > good call quality and the systems was still approx 50% idle. I made > real calls through the system while load tests were running and > actually listened to the audio. I was using PJSIP 1.0 (or maybe 1.1). > > For directly accessing the RTP, see pjsip-apps/src/samples/siprtp.c > > good luck, > > Joel > > On Fri, Sep 16, 2011 at 10:56 AM, varun pratapsingh > <varunps2003@gmail.com> wrote: > > Hi Arie, > > > > Thanks for your reply. > > > > But don't you think when you had 500 simultaneous calls and 500 RTP > streams > > then your call qualities were bad. In my case if I use the same > conference > > bridge for all calls the quality goes bad after 20 simultaneous calls. Is > > there any trick or settings you are using. Or have you done some changes > at > > code level to achieve this. Can you share this information. > > > > Thanks in advance. > > > > Regards: > > Varun > > > > On Fri, Sep 16, 2011 at 6:32 PM, Arie Velthoen < > arie_velthoen@hotmail.com> > > wrote: > >> > >> Hi, > >> > >> My experience is that one can use PJSUA-lib with more than 500 > >> simultaneous calls, and 500 bothway RTP channels when using conferences > with > >> 8kHz sampling, PCMA or PCMU codec, and no echo cancelling. > >> I used a Win2003 server on a Xeon5130 machine (pretty old now). > >> > >> I also had to undo ticket #1015 Disable ioqueue Completion Port backend > >> See > >> > http://lists.pjsip.org/pipermail/pjsip_lists.pjsip.org/2010-June/011104.html > >> > >> Regards, > >> > >> Arie > >> > >> > >> > >> > Date: Fri, 16 Sep 2011 18:00:23 +0530 > >> > From: varunps2003@gmail.com > >> > To: pjsip@lists.pjsip.org > >> > Subject: Re: [pjsip] To implement pjsip to support 200 simultaneous > >> > calls > >> > > >> > HI Shayne, > >> > > >> > Thanks for your reply. But I don't think PJSIP is not suitable as any > >> > other Library. > >> > > >> > See first I don't want to serve thousands of calls but only 200 calls. > >> > Second point is that PJSUA-LIB has only the limitation that it creates > >> > only one conference bridge for all calls and media. But the low level > >> > PJSIP libraries like PJSIP-UA and PJMEDIA don't limits anything. If we > >> > can execute a proper application design on the basic PJSIP libraries > >> > or modify the PJSUA-LIB to serve 200 calls we can do it. This is I > >> > think. > >> > > >> > But I really wanted to know that have somebody already tried this. If > >> > yes then what was his approach. Can any body share some work or some > >> > idea which can be useful. > >> > > >> > Your help is appreciated. Thanks in advance. > >> > > >> > > >> > Regards: > >> > Varun Pratap Singh > >> > > >> > On 9/16/11, Shayne O'Neill <shayne.oneill@gmail.com> wrote: > >> > > > >> > > If your planning on serving thousands of calls your probably better > >> > > off > >> > > looking at something like Opensips with a dedicated media proxy > array. > >> > > pjsips can handle a surprising call load, but your really pushing it > >> > > with > >> > > that sort of volume in a monolithic sip/rtp stack. > >> > > > >> > > On 15/09/2011, at 10:15 PM, varun pratapsingh wrote: > >> > > > >> > >> > >> > >> HI All, > >> > >> > >> > >> I need to implement in PJSIP so that it can support the 200 calls > >> > >> simultaneously. I am following the steps given at: > >> > >> http://trac.pjsip.org/repos/wiki/FAQ#high-perf > >> > >> The steps told under heading: How can I configure pjsip to serve > >> > >> thousands > >> > >> of calls? > >> > >> > >> > >> Has anyone tried to implement such functionality in pjsip. If any > >> > >> body can > >> > >> share his experience in this then It will be appreciated. > >> > >> > >> > >> > >> > >> Regards: > >> > >> Varun Pratap Singh > >> > >> > >> > >> > >> > >> > >> > >> _______________________________________________ > >> > >> 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 > >> > > > > > > _______________________________________________ > > 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 >
JD
Joel Dodson
Sun, Sep 18, 2011 4:31 AM

Hi Varun,

I wouldn't recommend simply using siprtp.c as is with a few changes.
But I guess that depends on what exactly you're trying to build.

I used siprtp.c as a starting place for how to use the APIs in pjsip,
pjmedia, pjsip_ua and others.  You'll get a good idea how to use the
endpoints, pjmedia_transport, pjmedia_rtp_session, pjsip_inv_session,
just to name a few.  I integrated these and other pjsip constructs
into my application.

There's a lot of good stuff in the samples directory.  I'd highly
recommend spending several days in there before doing any coding on
your app.  You'll get a much better idea of how the various APIs work
and what's appropriate for you.

good luck,
Joel

On Sat, Sep 17, 2011 at 12:48 AM, varun pratapsingh
varunps2003@gmail.com wrote:

Great work Joel.

But how did you increased the number of calls. Did you implemented some
strategy for it.

or it just work by increasing the app.max_calls = 1; from 1 to 256 in
init_options functions.
Also what were the other changes done by you to achieve the simultaneous
calls to 256.
Also have you increased the app.thread_count to achieve this.

Thanks in advance Joel.

Regards:
Varun Singh

On Sat, Sep 17, 2011 at 12:05 AM, Joel Dodson jdodson@acm.org wrote:

Hi Varun,

I wrote a signaling and media gateway running on Windows using PJSIP.
I used the lower layer APIs you mention but did not use the bridge.  I
directly accessed the RTP, and passed it manually between the ports.
I was able to run 256 simultaneous calls on a 3 GHz dual core
processor with 4G RAM.  I did most of my testing on VMs and still had
good call quality and the systems was still approx 50% idle.  I made
real calls through the system while load tests were running and
actually listened to the audio.  I was using PJSIP 1.0 (or maybe 1.1).

For directly accessing the RTP, see pjsip-apps/src/samples/siprtp.c

good luck,

Joel

On Fri, Sep 16, 2011 at 10:56 AM, varun pratapsingh
varunps2003@gmail.com wrote:

Hi Arie,

Thanks for your reply.

But don't you think when you had 500 simultaneous calls and 500 RTP
streams
then your call qualities were bad. In my case if I use the same
conference
bridge for all calls the quality goes bad after 20 simultaneous calls.
Is
there any trick or settings you are using. Or have you done some changes
at
code level to achieve this. Can you share this information.

Thanks in advance.

Regards:
Varun

On Fri, Sep 16, 2011 at 6:32 PM, Arie Velthoen
arie_velthoen@hotmail.com
wrote:

Hi,

My experience is that one can use PJSUA-lib with more than 500
simultaneous calls, and 500 bothway RTP channels when using conferences
with
8kHz sampling, PCMA or PCMU codec, and no echo cancelling.
I used a Win2003 server on a Xeon5130 machine (pretty old now).

I also had to undo ticket #1015 Disable ioqueue Completion Port backend
See

http://lists.pjsip.org/pipermail/pjsip_lists.pjsip.org/2010-June/011104.html

Regards,

Arie

Date: Fri, 16 Sep 2011 18:00:23 +0530
From: varunps2003@gmail.com
To: pjsip@lists.pjsip.org
Subject: Re: [pjsip] To implement pjsip to support 200 simultaneous
calls

HI Shayne,

Thanks for your reply. But I don't think PJSIP is not suitable as any
other Library.

See first I don't want to serve thousands of calls but only 200
calls.
Second point is that PJSUA-LIB has only the limitation that it
creates
only one conference bridge for all calls and media. But the low level
PJSIP libraries like PJSIP-UA and PJMEDIA don't limits anything. If
we
can execute a proper application design on the basic PJSIP libraries
or modify the PJSUA-LIB to serve 200 calls we can do it. This is I
think.

But I really wanted to know that have somebody already tried this. If
yes then what was his approach. Can any body share some work or some
idea which can be useful.

Your help is appreciated. Thanks in advance.

Regards:
Varun Pratap Singh

On 9/16/11, Shayne O'Neill shayne.oneill@gmail.com wrote:

If your planning on serving thousands of calls your probably better
off
looking at something like Opensips with a dedicated media proxy
array.
pjsips can handle a surprising call load, but your really pushing
it
with
that sort of volume in a monolithic sip/rtp stack.

On 15/09/2011, at 10:15 PM, varun pratapsingh wrote:

HI All,

I need to implement in PJSIP so that it can support the 200 calls
simultaneously. I am following the steps given at:
http://trac.pjsip.org/repos/wiki/FAQ#high-perf
The steps told under heading: How can I configure pjsip to serve
thousands
of calls?

Has anyone tried to implement such functionality in pjsip. If any
body can
share his experience in this then It will be appreciated.

Regards:
Varun Pratap Singh


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

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

Hi Varun, I wouldn't recommend simply using siprtp.c as is with a few changes. But I guess that depends on what exactly you're trying to build. I used siprtp.c as a starting place for how to use the APIs in pjsip, pjmedia, pjsip_ua and others. You'll get a good idea how to use the endpoints, pjmedia_transport, pjmedia_rtp_session, pjsip_inv_session, just to name a few. I integrated these and other pjsip constructs into my application. There's a lot of good stuff in the samples directory. I'd highly recommend spending several days in there before doing any coding on your app. You'll get a much better idea of how the various APIs work and what's appropriate for you. good luck, Joel On Sat, Sep 17, 2011 at 12:48 AM, varun pratapsingh <varunps2003@gmail.com> wrote: > Great work Joel. > > But how did you increased the number of calls. Did you implemented some > strategy for it. > > or it just work by increasing the app.max_calls = 1; from 1 to 256 in > init_options functions. > Also what were the other changes done by you to achieve the simultaneous > calls to 256. > Also have you increased the app.thread_count to achieve this. > > Thanks in advance Joel. > > Regards: > Varun Singh > > > > On Sat, Sep 17, 2011 at 12:05 AM, Joel Dodson <jdodson@acm.org> wrote: >> >> Hi Varun, >> >> I wrote a signaling and media gateway running on Windows using PJSIP. >> I used the lower layer APIs you mention but did not use the bridge.  I >> directly accessed the RTP, and passed it manually between the ports. >> I was able to run 256 simultaneous calls on a 3 GHz dual core >> processor with 4G RAM.  I did most of my testing on VMs and still had >> good call quality and the systems was still approx 50% idle.  I made >> real calls through the system while load tests were running and >> actually listened to the audio.  I was using PJSIP 1.0 (or maybe 1.1). >> >> For directly accessing the RTP, see pjsip-apps/src/samples/siprtp.c >> >> good luck, >> >> Joel >> >> On Fri, Sep 16, 2011 at 10:56 AM, varun pratapsingh >> <varunps2003@gmail.com> wrote: >> > Hi Arie, >> > >> > Thanks for your reply. >> > >> > But don't you think when you had 500 simultaneous calls and 500 RTP >> > streams >> > then your call qualities were bad. In my case if I use the same >> > conference >> > bridge for all calls the quality goes bad after 20 simultaneous calls. >> > Is >> > there any trick or settings you are using. Or have you done some changes >> > at >> > code level to achieve this. Can you share this information. >> > >> > Thanks in advance. >> > >> > Regards: >> > Varun >> > >> > On Fri, Sep 16, 2011 at 6:32 PM, Arie Velthoen >> > <arie_velthoen@hotmail.com> >> > wrote: >> >> >> >> Hi, >> >> >> >> My experience is that one can use PJSUA-lib with more than 500 >> >> simultaneous calls, and 500 bothway RTP channels when using conferences >> >> with >> >> 8kHz sampling, PCMA or PCMU codec, and no echo cancelling. >> >> I used a Win2003 server on a Xeon5130 machine (pretty old now). >> >> >> >> I also had to undo ticket #1015 Disable ioqueue Completion Port backend >> >> See >> >> >> >> http://lists.pjsip.org/pipermail/pjsip_lists.pjsip.org/2010-June/011104.html >> >> >> >> Regards, >> >> >> >> Arie >> >> >> >> >> >> >> >> > Date: Fri, 16 Sep 2011 18:00:23 +0530 >> >> > From: varunps2003@gmail.com >> >> > To: pjsip@lists.pjsip.org >> >> > Subject: Re: [pjsip] To implement pjsip to support 200 simultaneous >> >> > calls >> >> > >> >> > HI Shayne, >> >> > >> >> > Thanks for your reply. But I don't think PJSIP is not suitable as any >> >> > other Library. >> >> > >> >> > See first I don't want to serve thousands of calls but only 200 >> >> > calls. >> >> > Second point is that PJSUA-LIB has only the limitation that it >> >> > creates >> >> > only one conference bridge for all calls and media. But the low level >> >> > PJSIP libraries like PJSIP-UA and PJMEDIA don't limits anything. If >> >> > we >> >> > can execute a proper application design on the basic PJSIP libraries >> >> > or modify the PJSUA-LIB to serve 200 calls we can do it. This is I >> >> > think. >> >> > >> >> > But I really wanted to know that have somebody already tried this. If >> >> > yes then what was his approach. Can any body share some work or some >> >> > idea which can be useful. >> >> > >> >> > Your help is appreciated. Thanks in advance. >> >> > >> >> > >> >> > Regards: >> >> > Varun Pratap Singh >> >> > >> >> > On 9/16/11, Shayne O'Neill <shayne.oneill@gmail.com> wrote: >> >> > > >> >> > > If your planning on serving thousands of calls your probably better >> >> > > off >> >> > > looking at something like Opensips with a dedicated media proxy >> >> > > array. >> >> > > pjsips can handle a surprising call load, but your really pushing >> >> > > it >> >> > > with >> >> > > that sort of volume in a monolithic sip/rtp stack. >> >> > > >> >> > > On 15/09/2011, at 10:15 PM, varun pratapsingh wrote: >> >> > > >> >> > >> >> >> > >> HI All, >> >> > >> >> >> > >> I need to implement in PJSIP so that it can support the 200 calls >> >> > >> simultaneously. I am following the steps given at: >> >> > >> http://trac.pjsip.org/repos/wiki/FAQ#high-perf >> >> > >> The steps told under heading: How can I configure pjsip to serve >> >> > >> thousands >> >> > >> of calls? >> >> > >> >> >> > >> Has anyone tried to implement such functionality in pjsip. If any >> >> > >> body can >> >> > >> share his experience in this then It will be appreciated. >> >> > >> >> >> > >> >> >> > >> Regards: >> >> > >> Varun Pratap Singh >> >> > >> >> >> > >> >> >> > >> >> >> > >> _______________________________________________ >> >> > >> 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 >> >> >> > >> > >> > _______________________________________________ >> > 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 > >
MS
Mukesh Srivastav
Sun, Sep 18, 2011 4:51 AM

Hi Joel,
 
Thanks for the response. What we fail to understand that how did u achieve signaling the media gatway ?

Mukesh

From: Joel Dodson jdodson@acm.org
To: pjsip list pjsip@lists.pjsip.org
Sent: Sunday, September 18, 2011 10:01 AM
Subject: Re: [pjsip] To implement pjsip to support 200 simultaneous calls

Hi Varun,

I wouldn't recommend simply using siprtp.c as is with a few changes.
But I guess that depends on what exactly you're trying to build.

I used siprtp.c as a starting place for how to use the APIs in pjsip,
pjmedia, pjsip_ua and others.  You'll get a good idea how to use the
endpoints, pjmedia_transport, pjmedia_rtp_session, pjsip_inv_session,
just to name a few.  I integrated these and other pjsip constructs
into my application.

There's a lot of good stuff in the samples directory.  I'd highly
recommend spending several days in there before doing any coding on
your app.  You'll get a much better idea of how the various APIs work
and what's appropriate for you.

good luck,
Joel

On Sat, Sep 17, 2011 at 12:48 AM, varun pratapsingh
varunps2003@gmail.com wrote:

Great work Joel.

But how did you increased the number of calls. Did you implemented some
strategy for it.

or it just work by increasing the app.max_calls = 1; from 1 to 256 in
init_options functions.
Also what were the other changes done by you to achieve the simultaneous
calls to 256.
Also have you increased the app.thread_count to achieve this.

Thanks in advance Joel.

Regards:
Varun Singh

On Sat, Sep 17, 2011 at 12:05 AM, Joel Dodson jdodson@acm.org wrote:

Hi Varun,

I wrote a signaling and media gateway running on Windows using PJSIP.
I used the lower layer APIs you mention but did not use the bridge.  I
directly accessed the RTP, and passed it manually between the ports.
I was able to run 256 simultaneous calls on a 3 GHz dual core
processor with 4G RAM.  I did most of my testing on VMs and still had
good call quality and the systems was still approx 50% idle.  I made
real calls through the system while load tests were running and
actually listened to the audio.  I was using PJSIP 1.0 (or maybe 1.1).

For directly accessing the RTP, see pjsip-apps/src/samples/siprtp.c

good luck,

Joel

On Fri, Sep 16, 2011 at 10:56 AM, varun pratapsingh
varunps2003@gmail.com wrote:

Hi Arie,

Thanks for your reply.

But don't you think when you had 500 simultaneous calls and 500 RTP
streams
then your call qualities were bad. In my case if I use the same
conference
bridge for all calls the quality goes bad after 20 simultaneous calls.
Is
there any trick or settings you are using. Or have you done some changes
at
code level to achieve this. Can you share this information.

Thanks in advance.

Regards:
Varun

On Fri, Sep 16, 2011 at 6:32 PM, Arie Velthoen
arie_velthoen@hotmail.com
wrote:

Hi,

My experience is that one can use PJSUA-lib with more than 500
simultaneous calls, and 500 bothway RTP channels when using conferences
with
8kHz sampling, PCMA or PCMU codec, and no echo cancelling.
I used a Win2003 server on a Xeon5130 machine (pretty old now).

I also had to undo ticket #1015 Disable ioqueue Completion Port backend
See

http://lists.pjsip.org/pipermail/pjsip_lists.pjsip.org/2010-June/011104.html

Regards,

Arie

Date: Fri, 16 Sep 2011 18:00:23 +0530
From: varunps2003@gmail.com
To: pjsip@lists.pjsip.org
Subject: Re: [pjsip] To implement pjsip to support 200 simultaneous
calls

HI Shayne,

Thanks for your reply. But I don't think PJSIP is not suitable as any
other Library.

See first I don't want to serve thousands of calls but only 200
calls.
Second point is that PJSUA-LIB has only the limitation that it
creates
only one conference bridge for all calls and media. But the low level
PJSIP libraries like PJSIP-UA and PJMEDIA don't limits anything. If
we
can execute a proper application design on the basic PJSIP libraries
or modify the PJSUA-LIB to serve 200 calls we can do it. This is I
think.

But I really wanted to know that have somebody already tried this. If
yes then what was his approach. Can any body share some work or some
idea which can be useful.

Your help is appreciated. Thanks in advance.

Regards:
Varun Pratap Singh

On 9/16/11, Shayne O'Neill shayne.oneill@gmail.com wrote:

If your planning on serving thousands of calls your probably better
off
looking at something like Opensips with a dedicated media proxy
array.
pjsips can handle a surprising call load, but your really pushing
it
with
that sort of volume in a monolithic sip/rtp stack.

On 15/09/2011, at 10:15 PM, varun pratapsingh wrote:

HI All,

I need to implement in PJSIP so that it can support the 200 calls
simultaneously. I am following the steps given at:
http://trac.pjsip.org/repos/wiki/FAQ#high-perf
The steps told under heading: How can I configure pjsip to serve
thousands
of calls?

Has anyone tried to implement such functionality in pjsip. If any
body can
share his experience in this then It will be appreciated.

Regards:
Varun Pratap Singh


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

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

Hi Joel,   Thanks for the response. What we fail to understand that how did u achieve signaling the media gatway ? Mukesh From: Joel Dodson <jdodson@acm.org> To: pjsip list <pjsip@lists.pjsip.org> Sent: Sunday, September 18, 2011 10:01 AM Subject: Re: [pjsip] To implement pjsip to support 200 simultaneous calls Hi Varun, I wouldn't recommend simply using siprtp.c as is with a few changes. But I guess that depends on what exactly you're trying to build. I used siprtp.c as a starting place for how to use the APIs in pjsip, pjmedia, pjsip_ua and others.  You'll get a good idea how to use the endpoints, pjmedia_transport, pjmedia_rtp_session, pjsip_inv_session, just to name a few.  I integrated these and other pjsip constructs into my application. There's a lot of good stuff in the samples directory.  I'd highly recommend spending several days in there before doing any coding on your app.  You'll get a much better idea of how the various APIs work and what's appropriate for you. good luck, Joel On Sat, Sep 17, 2011 at 12:48 AM, varun pratapsingh <varunps2003@gmail.com> wrote: > Great work Joel. > > But how did you increased the number of calls. Did you implemented some > strategy for it. > > or it just work by increasing the app.max_calls = 1; from 1 to 256 in > init_options functions. > Also what were the other changes done by you to achieve the simultaneous > calls to 256. > Also have you increased the app.thread_count to achieve this. > > Thanks in advance Joel. > > Regards: > Varun Singh > > > > On Sat, Sep 17, 2011 at 12:05 AM, Joel Dodson <jdodson@acm.org> wrote: >> >> Hi Varun, >> >> I wrote a signaling and media gateway running on Windows using PJSIP. >> I used the lower layer APIs you mention but did not use the bridge.  I >> directly accessed the RTP, and passed it manually between the ports. >> I was able to run 256 simultaneous calls on a 3 GHz dual core >> processor with 4G RAM.  I did most of my testing on VMs and still had >> good call quality and the systems was still approx 50% idle.  I made >> real calls through the system while load tests were running and >> actually listened to the audio.  I was using PJSIP 1.0 (or maybe 1.1). >> >> For directly accessing the RTP, see pjsip-apps/src/samples/siprtp.c >> >> good luck, >> >> Joel >> >> On Fri, Sep 16, 2011 at 10:56 AM, varun pratapsingh >> <varunps2003@gmail.com> wrote: >> > Hi Arie, >> > >> > Thanks for your reply. >> > >> > But don't you think when you had 500 simultaneous calls and 500 RTP >> > streams >> > then your call qualities were bad. In my case if I use the same >> > conference >> > bridge for all calls the quality goes bad after 20 simultaneous calls. >> > Is >> > there any trick or settings you are using. Or have you done some changes >> > at >> > code level to achieve this. Can you share this information. >> > >> > Thanks in advance. >> > >> > Regards: >> > Varun >> > >> > On Fri, Sep 16, 2011 at 6:32 PM, Arie Velthoen >> > <arie_velthoen@hotmail.com> >> > wrote: >> >> >> >> Hi, >> >> >> >> My experience is that one can use PJSUA-lib with more than 500 >> >> simultaneous calls, and 500 bothway RTP channels when using conferences >> >> with >> >> 8kHz sampling, PCMA or PCMU codec, and no echo cancelling. >> >> I used a Win2003 server on a Xeon5130 machine (pretty old now). >> >> >> >> I also had to undo ticket #1015 Disable ioqueue Completion Port backend >> >> See >> >> >> >> http://lists.pjsip.org/pipermail/pjsip_lists.pjsip.org/2010-June/011104.html >> >> >> >> Regards, >> >> >> >> Arie >> >> >> >> >> >> >> >> > Date: Fri, 16 Sep 2011 18:00:23 +0530 >> >> > From: varunps2003@gmail.com >> >> > To: pjsip@lists.pjsip.org >> >> > Subject: Re: [pjsip] To implement pjsip to support 200 simultaneous >> >> > calls >> >> > >> >> > HI Shayne, >> >> > >> >> > Thanks for your reply. But I don't think PJSIP is not suitable as any >> >> > other Library. >> >> > >> >> > See first I don't want to serve thousands of calls but only 200 >> >> > calls. >> >> > Second point is that PJSUA-LIB has only the limitation that it >> >> > creates >> >> > only one conference bridge for all calls and media. But the low level >> >> > PJSIP libraries like PJSIP-UA and PJMEDIA don't limits anything. If >> >> > we >> >> > can execute a proper application design on the basic PJSIP libraries >> >> > or modify the PJSUA-LIB to serve 200 calls we can do it. This is I >> >> > think. >> >> > >> >> > But I really wanted to know that have somebody already tried this. If >> >> > yes then what was his approach. Can any body share some work or some >> >> > idea which can be useful. >> >> > >> >> > Your help is appreciated. Thanks in advance. >> >> > >> >> > >> >> > Regards: >> >> > Varun Pratap Singh >> >> > >> >> > On 9/16/11, Shayne O'Neill <shayne.oneill@gmail.com> wrote: >> >> > > >> >> > > If your planning on serving thousands of calls your probably better >> >> > > off >> >> > > looking at something like Opensips with a dedicated media proxy >> >> > > array. >> >> > > pjsips can handle a surprising call load, but your really pushing >> >> > > it >> >> > > with >> >> > > that sort of volume in a monolithic sip/rtp stack. >> >> > > >> >> > > On 15/09/2011, at 10:15 PM, varun pratapsingh wrote: >> >> > > >> >> > >> >> >> > >> HI All, >> >> > >> >> >> > >> I need to implement in PJSIP so that it can support the 200 calls >> >> > >> simultaneously. I am following the steps given at: >> >> > >> http://trac.pjsip.org/repos/wiki/FAQ#high-perf >> >> > >> The steps told under heading: How can I configure pjsip to serve >> >> > >> thousands >> >> > >> of calls? >> >> > >> >> >> > >> Has anyone tried to implement such functionality in pjsip. If any >> >> > >> body can >> >> > >> share his experience in this then It will be appreciated. >> >> > >> >> >> > >> >> >> > >> Regards: >> >> > >> Varun Pratap Singh >> >> > >> >> >> > >> >> >> > >> >> >> > >> _______________________________________________ >> >> > >> 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 >> >> >> > >> > >> > _______________________________________________ >> > 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 > > _______________________________________________ Visit our blog: http://blog.pjsip.org pjsip mailing list pjsip@lists.pjsip.org http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org