Quantcast

Max calls Limit?

classic Classic list List threaded Threaded
5 messages Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Max calls Limit?

Anita Hall
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


_________________________________________________________________________
Professional FreeSWITCH Consulting Services:
[hidden email]
http://www.freeswitchsolutions.com

FreeSWITCH-powered IP PBX: The CudaTel Communication Server
http://www.cudatel.com

Official FreeSWITCH Sites
http://www.freeswitch.org
http://wiki.freeswitch.org
http://www.cluecon.com

FreeSWITCH-users mailing list
[hidden email]
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Max calls Limit?

sherif omran
Yes
con/autoload/switch.xml


--- On Sat, 1/7/12, Anita Hall <[hidden email]> wrote:

From: Anita Hall <[hidden email]>
Subject: [Freeswitch-users] Max calls Limit?
To: "FreeSWITCH Users Help" <[hidden email]>
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@...
http://www.freeswitchsolutions.com

FreeSWITCH-powered IP PBX: The CudaTel Communication Server
http://www.cudatel.com

Official FreeSWITCH Sites
http://www.freeswitch.org
http://wiki.freeswitch.org
http://www.cluecon.com

FreeSWITCH-users mailing list
FreeSWITCH-users@...
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:
[hidden email]
http://www.freeswitchsolutions.com

FreeSWITCH-powered IP PBX: The CudaTel Communication Server
http://www.cudatel.com

Official FreeSWITCH Sites
http://www.freeswitch.org
http://wiki.freeswitch.org
http://www.cluecon.com

FreeSWITCH-users mailing list
[hidden email]
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Max calls Limit?

Ken Rice-2
Re: [Freeswitch-users] Max calls Limit? 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@...> wrote:

Yes
con/autoload/switch.xml


--- On Sat, 1/7/12, Anita Hall <anita.hall@...> wrote:

From: Anita Hall <anita.hall@...>
Subject: [Freeswitch-users] Max calls Limit?
To: "FreeSWITCH Users Help" <freeswitch-users@...>
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@... </mc/compose?to=consulting@...>
http://www.freeswitchsolutions.com

FreeSWITCH-powered IP PBX: The CudaTel Communication Server
http://www.cudatel.com

Official FreeSWITCH Sites
http://www.freeswitch.org
http://wiki.freeswitch.org
http://www.cluecon.com

FreeSWITCH-users mailing list
FreeSWITCH-users@... </mc/compose?to=FreeSWITCH-users@...>
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@...
http://www.freeswitchsolutions.com

FreeSWITCH-powered IP PBX: The CudaTel Communication Server
http://www.cudatel.com

Official FreeSWITCH Sites
http://www.freeswitch.org
http://wiki.freeswitch.org
http://www.cluecon.com

FreeSWITCH-users mailing list
FreeSWITCH-users@...
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:
[hidden email]
http://www.freeswitchsolutions.com

FreeSWITCH-powered IP PBX: The CudaTel Communication Server
http://www.cudatel.com

Official FreeSWITCH Sites
http://www.freeswitch.org
http://wiki.freeswitch.org
http://www.cluecon.com

FreeSWITCH-users mailing list
[hidden email]
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Max calls Limit?

Anita Hall
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 <[hidden email]> 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@...> wrote:

Yes
con/autoload/switch.xml


--- On Sat, 1/7/12, Anita Hall <anita.hall@...> wrote:

From: Anita Hall <anita.hall@...>
Subject: [Freeswitch-users] Max calls Limit?
To: "FreeSWITCH Users Help" <freeswitch-users@...>
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@... </mc/compose?to=consulting@...>
http://www.freeswitchsolutions.com

FreeSWITCH-powered IP PBX: The CudaTel Communication Server
http://www.cudatel.com

Official FreeSWITCH Sites
http://www.freeswitch.org
http://wiki.freeswitch.org
http://www.cluecon.com

FreeSWITCH-users mailing list
FreeSWITCH-users@... </mc/compose?to=FreeSWITCH-users@...>


_________________________________________________________________________
Professional FreeSWITCH Consulting Services:
consulting@...
http://www.freeswitchsolutions.com

FreeSWITCH-powered IP PBX: The CudaTel Communication Server
http://www.cudatel.com

Official FreeSWITCH Sites
http://www.freeswitch.org
http://wiki.freeswitch.org
http://www.cluecon.com

FreeSWITCH-users mailing list
FreeSWITCH-users@...
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:
[hidden email]
http://www.freeswitchsolutions.com

FreeSWITCH-powered IP PBX: The CudaTel Communication Server
http://www.cudatel.com

Official FreeSWITCH Sites
http://www.freeswitch.org
http://wiki.freeswitch.org
http://www.cluecon.com

FreeSWITCH-users mailing list
[hidden email]
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:
[hidden email]
http://www.freeswitchsolutions.com

FreeSWITCH-powered IP PBX: The CudaTel Communication Server
http://www.cudatel.com

Official FreeSWITCH Sites
http://www.freeswitch.org
http://wiki.freeswitch.org
http://www.cluecon.com

FreeSWITCH-users mailing list
[hidden email]
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Max calls Limit?

Vitalie Colosov
Very good tool, which gives you lost packets, jitter and MOS for each call leg:



2012/1/9 Anita Hall <[hidden email]>
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 <[hidden email]> 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@...> wrote:

Yes
con/autoload/switch.xml


--- On Sat, 1/7/12, Anita Hall <anita.hall@...> wrote:

From: Anita Hall <anita.hall@...>
Subject: [Freeswitch-users] Max calls Limit?
To: "FreeSWITCH Users Help" <freeswitch-users@...>
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@... </mc/compose?to=consulting@...>
http://www.freeswitchsolutions.com

FreeSWITCH-powered IP PBX: The CudaTel Communication Server
http://www.cudatel.com

Official FreeSWITCH Sites
http://www.freeswitch.org
http://wiki.freeswitch.org
http://www.cluecon.com

FreeSWITCH-users mailing list
FreeSWITCH-users@... </mc/compose?to=FreeSWITCH-users@...>


_________________________________________________________________________
Professional FreeSWITCH Consulting Services:
consulting@...
http://www.freeswitchsolutions.com

FreeSWITCH-powered IP PBX: The CudaTel Communication Server
http://www.cudatel.com

Official FreeSWITCH Sites
http://www.freeswitch.org
http://wiki.freeswitch.org
http://www.cluecon.com

FreeSWITCH-users mailing list
FreeSWITCH-users@...
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:
[hidden email]
http://www.freeswitchsolutions.com

FreeSWITCH-powered IP PBX: The CudaTel Communication Server
http://www.cudatel.com

Official FreeSWITCH Sites
http://www.freeswitch.org
http://wiki.freeswitch.org
http://www.cluecon.com

FreeSWITCH-users mailing list
[hidden email]
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:
[hidden email]
http://www.freeswitchsolutions.com

FreeSWITCH-powered IP PBX: The CudaTel Communication Server
http://www.cudatel.com

Official FreeSWITCH Sites
http://www.freeswitch.org
http://wiki.freeswitch.org
http://www.cluecon.com

FreeSWITCH-users mailing list
[hidden email]
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:
[hidden email]
http://www.freeswitchsolutions.com

FreeSWITCH-powered IP PBX: The CudaTel Communication Server
http://www.cudatel.com

Official FreeSWITCH Sites
http://www.freeswitch.org
http://wiki.freeswitch.org
http://www.cluecon.com

FreeSWITCH-users mailing list
[hidden email]
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org
Loading...