Hi, I have a gateway registered with my freeswitch. Currently I generate(originate) calls with python script using ESL to 500 to 2000 numbers to that gateway. Is there anyway to send call to gateway with required CPS. Like my gateway allows calls not greater than 5 CPS. Any suggestion would be much appreciated. Thanks.
Theres 2 ways to handle this If your ESL scipt is handing the routing to the gateways, it needs to track and account for the CPS limits on the gateways. If you are routing the calls via the dialplan you can use limit execute to restrict the CPS to any gateway as it will skip execute of the bridge dialplan app to that gateway… From: freeswitch-users-bounces@lists.freeswitch.org [mailto:freeswitch-users-bounces@lists.freeswitch.org] On Behalf Of Aqs Younas Sent: Thursday, December 10, 2015 10:23 AM To: FreeSWITCH Users Help <freeswitch-users@lists.freeswitch.org> Subject: [Freeswitch-users] Generate calls with required CPS. Hi, I have a gateway registered with my freeswitch. Currently I generate(originate) calls with python script using ESL to 500 to 2000 numbers to that gateway. Is there anyway to send call to gateway with required CPS. Like my gateway allows calls not greater than 5 CPS. Any suggestion would be much appreciated. Thanks.
see mod_limit. On Thu, Dec 10, 2015 at 10:23 AM, Aqs Younas <aqsyounas@gmail.com> wrote:
Hi,
I have a gateway registered with my freeswitch. Currently I generate(originate) calls with python script using ESL to 500 to 2000 numbers to that gateway.
Is there anyway to send call to gateway with required CPS. Like my gateway allows calls not greater than 5 CPS.
Any suggestion would be much appreciated. Thanks.
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
Official FreeSWITCH Sites http://www.freeswitch.org http://confluence.freeswitch.org http://www.cluecon.com
FreeSWITCH-users mailing list 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
-- *Brian West* brian@freeswitch.org *Twitter: @FreeSWITCH , @briankwest* http://www.freeswitchbook.com http://www.freeswitchcookbook.com Got Bugs? Report them here <https://freeswitch.org/jira>! | Reddit: /r/freeswitch <https://www.reddit.com/r/freeswitch> *T:*+19184209001 | *F:*+19184209002 | *M:*+1918424WEST (9378) *iNUM:*+883 5100 1420 9001 | *ISN:*410*543 | *Skype:*briankwest
here's my script that might help: https://github.com/voxserv/freeswitch-perf-dialer On Thu, Dec 10, 2015 at 5:23 PM, Aqs Younas <aqsyounas@gmail.com> wrote:
Hi,
I have a gateway registered with my freeswitch. Currently I generate(originate) calls with python script using ESL to 500 to 2000 numbers to that gateway.
Is there anyway to send call to gateway with required CPS. Like my gateway allows calls not greater than 5 CPS.
Any suggestion would be much appreciated. Thanks.
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
Official FreeSWITCH Sites http://www.freeswitch.org http://confluence.freeswitch.org http://www.cluecon.com
FreeSWITCH-users mailing list 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
Thank you guys and Stanislav Sinyagin thanks for the script. On 10 December 2015 at 21:28, Stanislav Sinyagin <ssinyagin@gmail.com> wrote:
here's my script that might help:
https://github.com/voxserv/freeswitch-perf-dialer
On Thu, Dec 10, 2015 at 5:23 PM, Aqs Younas <aqsyounas@gmail.com> wrote:
Hi,
I have a gateway registered with my freeswitch. Currently I generate(originate) calls with python script using ESL to 500 to 2000 numbers to that gateway.
Is there anyway to send call to gateway with required CPS. Like my gateway allows calls not greater than 5 CPS.
Any suggestion would be much appreciated. Thanks.
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
Official FreeSWITCH Sites http://www.freeswitch.org http://confluence.freeswitch.org http://www.cluecon.com
FreeSWITCH-users mailing list 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@freeswitch.org http://www.freeswitchsolutions.com
Official FreeSWITCH Sites http://www.freeswitch.org http://confluence.freeswitch.org http://www.cluecon.com
FreeSWITCH-users mailing list 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
participants (4)
-
Aqs Younas
-
Brian West
-
Ken Rice
-
Stanislav Sinyagin