[asterisk-users] Max concurrent calls

2009-03-20 Thread michel freiha
Hi all,
I mentioned in asterisk.conf there is a property "maxcalls"...I know that
this is the max number of concurrent calls but i need to know please if this
entry is commented out, what is the default number of MAX concurrent calls
supported by asterisk?

Regards
___
-- Bandwidth and Colocation Provided by http://www.api-digital.com --

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users

[Asterisk-Users] Max concurrent calls

2006-01-26 Thread Andrew Nowrot
Hi,Does anyone know what is the amount of max concurrent calls that can be made in one Asterisk box?I heard that it is 256 and it doesn't depend on how good your machine is. It is the program constraint. What can I do when I need to have more calls than that. I read about connecting Asterisk boxes with IAX. Is it a good solution?
Does anyone have other proposals?CheersAndrew  
___
--Bandwidth and Colocation provided by Easynews.com --

Asterisk-Users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


Re: [asterisk-users] Max concurrent calls

2009-03-23 Thread Matt Riddell
On 20/03/2009 9:27 p.m., michel freiha wrote:
> Hi all,
> I mentioned in asterisk.conf there is a property "maxcalls"...I know that
> this is the max number of concurrent calls but i need to know please if this
> entry is commented out, what is the default number of MAX concurrent calls
> supported by asterisk?

Kinda two things.

1. If commented there is no max.
2. There are (or were) actually #defines in the code which optimized 
channel usage - i.e. max buckets etc

How many channels are you looking to do?

-- 
Kind Regards,

Matt Riddell
Director
___

http://www.venturevoip.com (Great new VoIP end to end solution)
http://www.venturevoip.com/news.php (Daily Asterisk News - html)
http://www.venturevoip.com/newrssfeed.php (Daily Asterisk News - rss)

___
-- Bandwidth and Colocation Provided by http://www.api-digital.com --

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


Re: [Asterisk-Users] Max concurrent calls

2006-01-27 Thread Zoa


There is no such thing as a hard limit in asterisk. (Except for zap 
channels, those are limited to 256 iirc).
With iax you can go higher, but the limit might be lower than 256 if you 
are doing a lot of transcoding.


The limit depends on what exactly the server has to do with your call, 
and how fast your server is.


Zoa


Andrew Nowrot wrote:


Hi,

Does anyone know what is the amount of max concurrent calls that can 
be made in one Asterisk box?
I heard that it is 256 and it doesn't depend on how good your machine 
is. It is the program constraint. What can I do when I need to have 
more calls than that. I read about connecting Asterisk boxes with IAX. 
Is it a good solution?

Does anyone have other proposals?

Cheers

Andrew






___
--Bandwidth and Colocation provided by Easynews.com --

Asterisk-Users mailing list
To UNSUBSCRIBE or update options visit:
  http://lists.digium.com/mailman/listinfo/asterisk-users
 



___
--Bandwidth and Colocation provided by Easynews.com --

Asterisk-Users mailing list
To UNSUBSCRIBE or update options visit:
  http://lists.digium.com/mailman/listinfo/asterisk-users


Re: [Asterisk-Users] Max concurrent calls

2006-01-27 Thread Jean-Michel Hiver

Andrew Nowrot a écrit :


Hi,

Does anyone know what is the amount of max concurrent calls that can 
be made in one Asterisk box?
I heard that it is 256 and it doesn't depend on how good your machine 
is. It is the program constraint.


I wasn't aware of such limit and I seriously doubt it. Where are you 
pulling this number from? (other than the obvious "traditional" 2^8)?


--
Jean-Michel Hiver - http://ykoz.net/
Découvrez la Réunion des Technologies IP & Telecom
TEL: +262 (0)262 55 03 98 - RCS 434 273 330 SAINT PIERRE


___
--Bandwidth and Colocation provided by Easynews.com --

Asterisk-Users mailing list
To UNSUBSCRIBE or update options visit:
  http://lists.digium.com/mailman/listinfo/asterisk-users


Re: [Asterisk-Users] Max concurrent calls

2006-01-27 Thread Andrew Nowrot
Hi,Yeah, I think it was all about thew zap channelsBut what opportunities I have when I need to connect two or more Asterisk boxes. IAX, SIP or what?What is most efficient.CheersAndrew

___
--Bandwidth and Colocation provided by Easynews.com --

Asterisk-Users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


Re: [Asterisk-Users] Max concurrent calls

2006-01-27 Thread Andrew Nowrot
Hi, Where are you pulling this number from? (other than the obvious "traditional" 2^8)?
That is not my imagination ;).Actually I talked with a guy who was one of the designers of Asterisk. He told me about this limitation but I don't know if he was talking about Zap channels only or in general. I will ask him asap.
CheersAndrew
___
--Bandwidth and Colocation provided by Easynews.com --

Asterisk-Users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


Re: [Asterisk-Users] Max concurrent calls

2006-01-27 Thread Jean-Michel Hiver

Andrew Nowrot a écrit :


Hi,

Yeah, I think it was all about thew zap channels

But what opportunities I have when I need to connect two or more 
Asterisk boxes. IAX, SIP or what?

What is most efficient.


Your question doesn't make any sense.

Tell us what you are trying to do and you might get meaningful replies.

Cheers,
Jean-Michel.

--
Jean-Michel Hiver - http://ykoz.net/
Découvrez la Réunion des Technologies IP & Telecom
TEL: +262 (0)262 55 03 98 - RCS 434 273 330 SAINT PIERRE


___
--Bandwidth and Colocation provided by Easynews.com --

Asterisk-Users mailing list
To UNSUBSCRIBE or update options visit:
  http://lists.digium.com/mailman/listinfo/asterisk-users


Re: [Asterisk-Users] Max concurrent calls

2006-01-27 Thread Jean-Michel Hiver

Andrew Nowrot a écrit :


Hi,

Where are you pulling this number from? (other than the obvious
"traditional" 2^8)? 



That is not my imagination ;).
Actually I talked with a guy who was one of the designers of Asterisk. 
He told me about this limitation but I don't know if he was talking 
about Zap channels only or in general. I will ask him asap.


It does sound like a typical case of urban legend, where "Zap is limited 
to 256 channels" becomes "Asterisk is limited to 256 channels". Asterisk 
!= Zap.


Speaking of Zap, what happened to Digiums' DS3 card? Did it got hit by 
the 256 channel limit? :-)


Cheers,
Jean-Michel.

--
Jean-Michel Hiver - http://ykoz.net/
Découvrez la Réunion des Technologies IP & Telecom
TEL: +262 (0)262 55 03 98 - RCS 434 273 330 SAINT PIERRE


___
--Bandwidth and Colocation provided by Easynews.com --

Asterisk-Users mailing list
To UNSUBSCRIBE or update options visit:
  http://lists.digium.com/mailman/listinfo/asterisk-users


Re: [Asterisk-Users] Max concurrent calls

2006-01-27 Thread Andrew Nowrot
Hi, It does sound like a typical case of urban legend, where "Zap is limited
to 256 channels" becomes "Asterisk is limited to 256 channels". Asterisk!= Zap.I've never said that Asterisk is limited to 256 channels. I only asked a question. That is the main reason of this list isn't it?
But leave the limitation thing :).I need to connect two (or more) asterisk boxes. They will exchange a lot calls. What is the best approach? Which protocol should I use IAX or SIP or what? I never did that so first I want to ask people who have some experience.
Thanks in advanceCheers
___
--Bandwidth and Colocation provided by Easynews.com --

Asterisk-Users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


Re: [Asterisk-Users] Max concurrent calls

2006-01-27 Thread Jean-Michel Hiver


I need to connect two (or more) asterisk boxes. They will exchange a 
lot calls. What is the best approach? Which protocol should I use IAX 
or SIP or what? I never did that so first I want to ask people who 
have some experience.


If you're connecting Asterisk boxes between each other, it would make 
sense to use IAX as it's Asterisk's 'native' protocol.



Things which weight in favor of SIP. [1].

- It's an industry standard, so you can interoperate with many other SIP 
compliant systems.
- Signaling and RTP are separate, so you have a central "signaling / 
routing / billing" server, for example using SER.



Things which weight in favor of IAX. [2] [3]

- Works very well in NATed / Firewalled environments since it uses only 
one UDP port and needs only one of both parties to be accessible.



So I would say that if you are having only asterisk boxes to 
interconnect, IAX is totally the way to go. It will be a lot easier for 
you to setup, especially firewall / NAT wise.


If your Asterisk boxes are fitted with timing devices (such as TDM4XX 
cards) you might even want to try IAX trunking to save some bandwith. 
Although personally, if bandwith is not a problem, I would leave 
trunking out of the equation.


If you have more than 2 * boxes, you might want to try Dundi [4] to have 
some kind of "shared dialplan" between the boxes.


Hope this helps.

Cheers,
Jean-Michel.

[1] http://www.voip-info.org/wiki/view/SIP
[2] http://www.voip-info.org/wiki-IAX
[3] http://www.voip-info.org/wiki-IAX+versus+SIP (read the comments also!)
[4] http://www.dundi.com/

--
Jean-Michel Hiver - http://ykoz.net/
Découvrez la Réunion des Technologies IP & Telecom
TEL: +262 (0)262 55 03 98 - RCS 434 273 330 SAINT PIERRE


___
--Bandwidth and Colocation provided by Easynews.com --

Asterisk-Users mailing list
To UNSUBSCRIBE or update options visit:
  http://lists.digium.com/mailman/listinfo/asterisk-users


Re: [Asterisk-Users] Max concurrent calls

2006-01-27 Thread Andrew Nowrot
HiIn my environment I have to connect 6 * boxes with each other so IAX is probably the best solutionThanksCheers
___
--Bandwidth and Colocation provided by Easynews.com --

Asterisk-Users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


Re: [Asterisk-Users] Max concurrent calls

2006-01-27 Thread C F
Whatever happened to Google? why don't people use that?
Tha actual limit according to Google/wiki is/was 255 for zap channels:
http://voip-info.org/tiki-index.php?page=Asterisk+dimensioning
However, in that same post someone corrected it that it is no longer limited.

On 1/27/06, Andrew Nowrot <[EMAIL PROTECTED]> wrote:
> Hi
>
> In my environment I have to connect 6 * boxes with each other so IAX is
> probably the best solution
>
> Thanks
>
> Cheers
>
> ___
> --Bandwidth and Colocation provided by Easynews.com --
>
> Asterisk-Users mailing list
> To UNSUBSCRIBE or update options visit:
>
> http://lists.digium.com/mailman/listinfo/asterisk-users
>
>
>
___
--Bandwidth and Colocation provided by Easynews.com --

Asterisk-Users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


[asterisk-users] max concurrent calls with bundled pjproject

2016-08-18 Thread ian gilmour
Hi,

PJSIP in the past had limitations on the max concurrent calls, etc. There were 
ways to overcome them by changing the source code. (e.g. 
http://lists.pjsip.org/pipermail/pjsip_lists.pjsip.org/2013-February/015721.html
 
)

Do any similar tweaks need to be done to the bundled pjproject to handle high 
volumes of concurrent calls with Asterisk?

What (if any) are the current default asterisk 13 + pjproject audio + video 
concurrent call limits if using the bundled pjproject + asterisk patches as is?

Thanks in advance.

Regards,

IanG-- 
_
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
   http://www.asterisk.org/hello

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users

Re: [asterisk-users] max concurrent calls with bundled pjproject

2016-08-18 Thread Marek Červenka

you can patch it in

[cervenka@matrix asterisk-13.9.1]$ ll third-party/pjproject/
total 24
-rwxrwxr-x. 1 cervenka cervenka  877 May 13 19:41 apply_patches
-rw-rw-r--. 1 cervenka cervenka 1794 May 13 19:41 configure.m4
-rw-rw-r--. 1 cervenka cervenka 5352 May 13 19:41 Makefile
-rw-rw-r--. 1 cervenka cervenka  428 May 13 19:41 Makefile.rules
drwxrwxr-x. 2 cervenka cervenka 4096 May 13 19:41 patches


Dne 18.8.2016 v 11:33 ian gilmour napsal(a):


Hi,

PJSIP in the past had limitations on the max concurrent calls, etc. 
There were ways to overcome them by changing the source code. (e.g. 
http://lists.pjsip.org/pipermail/pjsip_lists.pjsip.org/2013-February/015721.html)


Do any similar tweaks need to be done to the bundled pjproject to 
handle high volumes of concurrent calls with Asterisk?


What (if any) are the current default asterisk 13 + pjproject audio + 
video concurrent call limits if using the bundled pjproject + asterisk 
patches as is?


Thanks in advance.

Regards,

IanG





-- 
_
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
   http://www.asterisk.org/hello

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users

Re: [asterisk-users] max concurrent calls with bundled pjproject

2016-08-18 Thread George Joseph
On Thu, Aug 18, 2016 at 3:33 AM, ian gilmour 
wrote:

> Hi,
>
> PJSIP in the past had limitations on the max concurrent calls, etc. There
> were ways to overcome them by changing the source code. (e.g.
> http://lists.pjsip.org/pipermail/pjsip_lists.pjsip.
> org/2013-February/015721.html)
>
> Do any similar tweaks need to be done to the bundled pjproject to handle
> high volumes of concurrent calls with Asterisk?
>
The bundled defaults are already tuned for server type loads.  The
MAX_CALLS and MAX_PLAYERS settings mentioned in that email don't apply to
asterisk since we don't use those components.


> What (if any) are the current default asterisk 13 + pjproject audio +
> video concurrent call limits if using the bundled pjproject + asterisk
> patches as is?
>
Here are the setting we use (third-party/pjproject/patches/config_site.h).
The best optimization is the use of epoll instead of select which we
automatically turn on if the OS is Linux.  It's hard to say what the actual
call limit would be since it's dependent on memory, CPU, etc.  Technically,
it would be 2500 based on MAX_HANDLES but with epoll in use, that number
just controls the size of 1 array and can be easily increased with little
effect on memory utilization.

#include 

#define PJ_HAS_IPV6 1
#define NDEBUG 1
#define PJ_MAX_HOSTNAME (256)
#define PJSIP_MAX_URL_SIZE (512)
#ifdef PJ_HAS_LINUX_EPOLL
#define PJ_IOQUEUE_MAX_HANDLES (5000)
#else
#define PJ_IOQUEUE_MAX_HANDLES (FD_SETSIZE)
#endif
#define PJ_IOQUEUE_HAS_SAFE_UNREG 1
#define PJ_IOQUEUE_MAX_EVENTS_IN_SINGLE_POLL (16)

#define PJ_SCANNER_USE_BITWISE 0
#define PJ_OS_HAS_CHECK_STACK 0
#define PJ_LOG_MAX_LEVEL 3
#define PJ_ENABLE_EXTRA_CHECK 1
#define PJSIP_MAX_TSX_COUNT ((64*1024)-1)
#define PJSIP_MAX_DIALOG_COUNT ((64*1024)-1)
#define PJSIP_UDP_SO_SNDBUF_SIZE (512*1024)
#define PJSIP_UDP_SO_RCVBUF_SIZE (512*1024)
#define PJ_DEBUG 0
#define PJSIP_SAFE_MODULE 0
#define PJ_HAS_STRICMP_ALNUM 0
#define PJ_HASH_USE_OWN_TOLOWER 1
/*
  It is imperative that PJSIP_UNESCAPE_IN_PLACE remain 0 or undefined.
  Enabling it will result in SEGFAULTS when URIs containing escape
sequences are encountered.
*/
#undef PJSIP_UNESCAPE_IN_PLACE
#define PJSIP_MAX_PKT_LEN 6000

#undef PJ_TODO
#define PJ_TODO(x)

/* Defaults too low for WebRTC */
#define PJ_ICE_MAX_CAND 32
#define PJ_ICE_MAX_CHECKS (PJ_ICE_MAX_CAND * 2)


Thanks in advance.
>
> Regards,
>
> IanG
>
> --
> _
> -- Bandwidth and Colocation Provided by http://www.api-digital.com --
> New to Asterisk? Join us for a live introductory webinar every Thurs:
>http://www.asterisk.org/hello
>
> asterisk-users mailing list
> To UNSUBSCRIBE or update options visit:
>http://lists.digium.com/mailman/listinfo/asterisk-users
>



-- 
George Joseph
Digium, Inc. | Software Developer
445 Jan Davis Drive NW - Huntsville, AL 35806 - US
Check us out at: www.digium.com & www.asterisk.org
-- 
_
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
   http://www.asterisk.org/hello

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users