<HTML>
<HEAD>
<TITLE>Re: [Freeswitch-users] Max calls Limit?</TITLE>
</HEAD>
<BODY>
<FONT FACE="Monaco, Courier New"><SPAN STYLE='font-size:11pt'>This is also adjustable from the FS CLI via the fsctl max_sessions ### command... Replace ### with the max number of sessions you want.<BR>
<BR>
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.<BR>
<BR>
Setting it from the CLI is not kept across restarts of freeswitch for that see switch.xml<BR>
<BR>
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.<BR>
<BR>
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<BR>
<BR>
K<BR>
<BR>
<BR>
On 1/7/12 2:31 PM, "Sherif Omran" <<a href="sherifomran2000@yahoo.com">sherifomran2000@yahoo.com</a>> wrote:<BR>
<BR>
</SPAN></FONT><BLOCKQUOTE><FONT FACE="Monaco, Courier New"><SPAN STYLE='font-size:11pt'>Yes<BR>
con/autoload/switch.xml<BR>
<BR>
<BR>
--- On <B>Sat, 1/7/12, Anita Hall <I><<a href="anita.hall@simmortel.com">anita.hall@simmortel.com</a>></I></B> wrote:<BR>
</SPAN></FONT><BLOCKQUOTE><FONT FACE="Monaco, Courier New"><SPAN STYLE='font-size:11pt'><BR>
From: Anita Hall <<a href="anita.hall@simmortel.com">anita.hall@simmortel.com</a>><BR>
Subject: [Freeswitch-users] Max calls Limit?<BR>
To: "FreeSWITCH Users Help" <<a href="freeswitch-users@lists.freeswitch.org">freeswitch-users@lists.freeswitch.org</a>><BR>
Date: Saturday, January 7, 2012, 10:32 AM<BR>
<BR>
Is there any config variable somewhere which is limiting the max call limit on FS to 1000?<BR>
<BR>
Set-up:<BR>
Taking FS for max call load on my machine. <BR>
<BR>
User freeswitch is calling internal gateway and playing demo-ivr<BR>
<BR>
User freeswitch defined in vars.xml<BR>
<X-PRE-PROCESS cmd="set" data="default_provider=10.60.20.145"/><BR>
<X-PRE-PROCESS cmd="set" data="default_provider_username=freeswitch"/><BR>
<X-PRE-PROCESS cmd="set" data="default_provider_password=freeswitch"/><BR>
<X-PRE-PROCESS cmd="set" data="default_provider_from_domain=10.60.20.145"/><BR>
<!-- true or false --><BR>
<X-PRE-PROCESS cmd="set" data="default_provider_register=false"/><BR>
<X-PRE-PROCESS cmd="set" data="default_provider_contact=5000"/><BR>
<BR>
Internal Gateway defined in directory/default/freeswitch.xml<BR>
<include><BR>
<user id="freeswitch"><BR>
<params><BR>
<param name="password" value="freeswitch"/><BR>
<param name="vm-password" value="5000"/><BR>
</params><BR>
<variables><BR>
<variable name="toll_allow" value="domestic,international,local"/><BR>
<variable name="accountcode" value="5000"/><BR>
<variable name="user_context" value="default"/><BR>
<variable name="effective_caller_id_name" value="Extension 5000"/><BR>
<variable name="effective_caller_id_number" value="5000"/><BR>
<variable name="outbound_caller_id_name" value="$${outbound_caller_name}"/><BR>
<variable name="outbound_caller_id_number" value="$${outbound_caller_id}"/><BR>
<variable name="callgroup" value="techsupport"/><BR>
</variables><BR>
</user><BR>
<BR>
After 1000 calls, it is giving the same error<BR>
-ERR DESTINATION_OUT_OF_ORDER<BR>
<BR>
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!<BR>
<BR>
<BR>
regards,<BR>
Anita<BR>
<BR>
<BR>
-----Inline Attachment Follows-----<BR>
<BR>
_________________________________________________________________________<BR>
Professional FreeSWITCH Consulting Services:<BR>
<a href="consulting@freeswitch.org">consulting@freeswitch.org</a> <<a href="/mc/compose?to=consulting@freeswitch.org">/mc/compose?to=consulting@freeswitch.org</a>> <BR>
<a href="http://www.freeswitchsolutions.com">http://www.freeswitchsolutions.com</a><BR>
<BR>
FreeSWITCH-powered IP PBX: The CudaTel Communication Server<BR>
<a href="http://www.cudatel.com">http://www.cudatel.com</a><BR>
<BR>
Official FreeSWITCH Sites<BR>
<a href="http://www.freeswitch.org">http://www.freeswitch.org</a><BR>
<a href="http://wiki.freeswitch.org">http://wiki.freeswitch.org</a><BR>
<a href="http://www.cluecon.com">http://www.cluecon.com</a><BR>
<BR>
FreeSWITCH-users mailing list<BR>
<a href="FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a> <<a href="/mc/compose?to=FreeSWITCH-users@lists.freeswitch.org">/mc/compose?to=FreeSWITCH-users@lists.freeswitch.org</a>> <BR>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><BR>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><BR>
<a href="http://www.freeswitch.org">http://www.freeswitch.org</a><BR>
</SPAN></FONT></BLOCKQUOTE><FONT FACE="Monaco, Courier New"><SPAN STYLE='font-size:11pt'><BR>
<HR ALIGN=CENTER SIZE="3" WIDTH="95%"></SPAN></FONT><FONT SIZE="2"><FONT FACE="Consolas, Courier New, Courier"><SPAN STYLE='font-size:10pt'>_________________________________________________________________________<BR>
Professional FreeSWITCH Consulting Services:<BR>
<a href="consulting@freeswitch.org">consulting@freeswitch.org</a><BR>
<a href="http://www.freeswitchsolutions.com">http://www.freeswitchsolutions.com</a><BR>
<BR>
FreeSWITCH-powered IP PBX: The CudaTel Communication Server<BR>
<a href="http://www.cudatel.com">http://www.cudatel.com</a><BR>
<BR>
Official FreeSWITCH Sites<BR>
<a href="http://www.freeswitch.org">http://www.freeswitch.org</a><BR>
<a href="http://wiki.freeswitch.org">http://wiki.freeswitch.org</a><BR>
<a href="http://www.cluecon.com">http://www.cluecon.com</a><BR>
<BR>
FreeSWITCH-users mailing list<BR>
<a href="FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a><BR>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><BR>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><BR>
<a href="http://www.freeswitch.org">http://www.freeswitch.org</a><BR>
</SPAN></FONT></FONT></BLOCKQUOTE>
</BODY>
</HTML>