[Freeswitch-users] Max calls Limit?

Anita Hall anita.hall at simmortel.com
Mon Jan 9 12:55:23 MSK 2012


Thanks guys, I was able to do more than 1200 calls on a lowly AMD machine,
after which the 2 GB RAM went out and 1 GB swap got used.

Is there a way to automatically get a sense of the call "quality"?
Something like, find if UDP packets are getting dropped :)

regards,
Anita



On Sun, Jan 8, 2012 at 2:48 AM, Ken Rice <krice at freeswitch.org> wrote:

>  This is also adjustable from the FS CLI via the fsctl max_sessions ###
> command... Replace ### with the max number of sessions you want.
>
> Note this is MAX Sessions, not max calls... So if you are doing 2 legged
> calls, the number of calls you can do is effective 1/2 that setting since
> each call leg is a session.
>
> Setting it from the CLI is not kept across restarts of freeswitch for that
> see switch.xml
>
> This setting should be set at a sane level for your particular hardware as
> yes it does keep freeswitch starving the server of memory and causes FS to
> start failing calls at that point.
>
> The similar setting max_sps is for max sessions per second and this is
> again to keep you from melting down your hardware. The current setting is
> sufficient for 99% of installs however if you are doing something out of
> the norm ie: high volume calling you may need to adjust it up
>
> K
>
>
>
> On 1/7/12 2:31 PM, "Sherif Omran" <sherifomran2000 at yahoo.com> wrote:
>
> Yes
> con/autoload/switch.xml
>
>
> --- On *Sat, 1/7/12, Anita Hall <anita.hall at simmortel.com>* wrote:
>
>
> From: Anita Hall <anita.hall at simmortel.com>
> Subject: [Freeswitch-users] Max calls Limit?
> To: "FreeSWITCH Users Help" <freeswitch-users at lists.freeswitch.org>
> Date: Saturday, January 7, 2012, 10:32 AM
>
> Is there any config variable somewhere which is limiting the max call
> limit on FS to 1000?
>
> Set-up:
> Taking FS for max call load on my machine.
>
> User freeswitch is calling internal gateway and playing demo-ivr
>
> User freeswitch defined in vars.xml
>  <X-PRE-PROCESS cmd="set" data="default_provider=10.60.20.145"/>
>   <X-PRE-PROCESS cmd="set" data="default_provider_username=freeswitch"/>
>   <X-PRE-PROCESS cmd="set" data="default_provider_password=freeswitch"/>
>   <X-PRE-PROCESS cmd="set"
> data="default_provider_from_domain=10.60.20.145"/>
>   <!-- true or false -->
>   <X-PRE-PROCESS cmd="set" data="default_provider_register=false"/>
>   <X-PRE-PROCESS cmd="set" data="default_provider_contact=5000"/>
>
> Internal Gateway defined in directory/default/freeswitch.xml
> <include>
>   <user id="freeswitch">
>     <params>
>       <param name="password" value="freeswitch"/>
>       <param name="vm-password" value="5000"/>
>     </params>
>     <variables>
>       <variable name="toll_allow" value="domestic,international,local"/>
>       <variable name="accountcode" value="5000"/>
>       <variable name="user_context" value="default"/>
>       <variable name="effective_caller_id_name" value="Extension 5000"/>
>       <variable name="effective_caller_id_number" value="5000"/>
>       <variable name="outbound_caller_id_name"
> value="$${outbound_caller_name}"/>
>       <variable name="outbound_caller_id_number"
> value="$${outbound_caller_id}"/>
>       <variable name="callgroup" value="techsupport"/>
>     </variables>
>   </user>
>
> After 1000 calls, it is giving the same error
> -ERR DESTINATION_OUT_OF_ORDER
>
> Yes, my CPU (quad-core AMD) and RAM (2GB only) are under heavy stress by
> the time 1000 calls are being done, but is it not a little strange that
> every time the resources get exhausted at precisely 1000 calls!
>
>
> regards,
> Anita
>
>
> -----Inline Attachment Follows-----
>
> _________________________________________________________________________
> Professional FreeSWITCH Consulting Services:
> consulting at freeswitch.org </mc/compose?to=consulting at freeswitch.org<http://mc/compose?to=consulting@freeswitch.org>>
>
> http://www.freeswitchsolutions.com
>
> 
> 
>
> Official FreeSWITCH Sites
> http://www.freeswitch.org
> http://wiki.freeswitch.org
> http://www.cluecon.com
>
> FreeSWITCH-users mailing list
> FreeSWITCH-users at lists.freeswitch.org <
> /mc/compose?to=FreeSWITCH-users at lists.freeswitch.org<http://mc/compose?to=FreeSWITCH-users@lists.freeswitch.org>>
>
> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
> http://www.freeswitch.org
>
>
> ------------------------------
> _________________________________________________________________________
> Professional FreeSWITCH Consulting Services:
> consulting at freeswitch.org
> http://www.freeswitchsolutions.com
>
> 
> 
>
> Official FreeSWITCH Sites
> http://www.freeswitch.org
> http://wiki.freeswitch.org
> http://www.cluecon.com
>
> FreeSWITCH-users mailing list
> FreeSWITCH-users at lists.freeswitch.org
> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
> http://www.freeswitch.org
>
>
> _________________________________________________________________________
> Professional FreeSWITCH Consulting Services:
> consulting at freeswitch.org
> http://www.freeswitchsolutions.com
>
> 
> 
>
> Official FreeSWITCH Sites
> http://www.freeswitch.org
> http://wiki.freeswitch.org
> http://www.cluecon.com
>
> FreeSWITCH-users mailing list
> FreeSWITCH-users at lists.freeswitch.org
> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
> http://www.freeswitch.org
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20120109/bfa65666/attachment-0001.html 


Join us at ClueCon 2011 Aug 9-11, 2011
More information about the FreeSWITCH-users mailing list