Call originate suggestion needed
HI, I need some suggestions on how to use Limit on an outbound gateway(s) and count the calls that make it past limit. Currently I have my limit fire on_originate and it works but it cause a Leg B cdr. (not a big deal) and I need to count the calls but when I count them on on_Post Originate only the successful ringing calls are counted, 503's etc are not counted. I can't count the calls on originate because that doesn't remove the exceeded limit calls So what I want to do is call my dialplan and before the calls start check limit and move on to the next bridge. Any call that makes it to the provider I need to count to keep track (cps, ports etc) Any suggestions? I don't want to do loopback since i'm trying to get the calls out of the switch as fast as possible. thanks all Andre
I use mod_lcr for routing calls to different providers based on their rate-sheets. It allows to set limit on per-provider basis in terms of ports. cps not really, but believe it's more of a carriers concern than yours... unless you are pumping some crazy values Maybe this makes no sense in your use scenario, so just an idea On 15-03-26 01:07 PM, Andre DeMattia wrote:
HI, I need some suggestions on how to use Limit on an outbound gateway(s) and count the calls that make it past limit.
Currently I have my limit fire on_originate and it works but it cause a Leg B cdr. (not a big deal) and I need to count the calls but when I count them on on_Post Originate only the successful ringing calls are counted, 503’s etc are not counted. I can’t count the calls on originate because that doesn’t remove the exceeded limit calls
So what I want to do is call my dialplan and before the calls start check limit and move on to the next bridge. Any call that makes it to the provider I need to count to keep track (cps, ports etc)
**
Any suggestions? I don't want to do loopback since i'm trying to get the calls out of the switch as fast as possible.
thanks all
Andre
_________________________________________________________________________ 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
collect call setup and hangup events via ESL, and keep count of them in a database. Then the dialplan would check that database to make routing decisions. On Thu, Mar 26, 2015 at 6:07 PM, Andre DeMattia <andretodd@verizon.net> wrote:
HI, I need some suggestions on how to use Limit on an outbound gateway(s) and count the calls that make it past limit.
Currently I have my limit fire on_originate and it works but it cause a Leg B cdr. (not a big deal) and I need to count the calls but when I count them on on_Post Originate only the successful ringing calls are counted, 503’s etc are not counted. I can’t count the calls on originate because that doesn’t remove the exceeded limit calls
So what I want to do is call my dialplan and before the calls start check limit and move on to the next bridge. Any call that makes it to the provider I need to count to keep track (cps, ports etc)
Any suggestions? I don't want to do loopback since i'm trying to get the calls out of the switch as fast as possible.
thanks all
Andre
_________________________________________________________________________ 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
What about https://freeswitch.org/confluence/display/FREESWITCH/Limit#Limit-limit_execu... ? On Thu, Mar 26, 2015 at 10:40 PM, Stanislav Sinyagin <ssinyagin@gmail.com> wrote:
collect call setup and hangup events via ESL, and keep count of them in a database. Then the dialplan would check that database to make routing decisions.
On Thu, Mar 26, 2015 at 6:07 PM, Andre DeMattia <andretodd@verizon.net> wrote:
HI, I need some suggestions on how to use Limit on an outbound gateway(s) and count the calls that make it past limit.
Currently I have my limit fire on_originate and it works but it cause a Leg B cdr. (not a big deal) and I need to count the calls but when I count them on on_Post Originate only the successful ringing calls are counted, 503’s etc are not counted. I can’t count the calls on originate because that doesn’t remove the exceeded limit calls
So what I want to do is call my dialplan and before the calls start check limit and move on to the next bridge. Any call that makes it to the provider I need to count to keep track (cps, ports etc)
Any suggestions? I don't want to do loopback since i'm trying to get the calls out of the switch as fast as possible.
thanks all
Andre
_________________________________________________________________________ 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
-- Ítalo Rossi
limit_execute is probably the best option in this case. Per Ítalo's email. On Thu, Mar 26, 2015 at 9:24 PM, Ítalo Rossi <italorossib@gmail.com> wrote:
What about https://freeswitch.org/confluence/display/FREESWITCH/Limit#Limit-limit_execu... ?
On Thu, Mar 26, 2015 at 10:40 PM, Stanislav Sinyagin <ssinyagin@gmail.com> wrote:
collect call setup and hangup events via ESL, and keep count of them in a database. Then the dialplan would check that database to make routing decisions.
On Thu, Mar 26, 2015 at 6:07 PM, Andre DeMattia <andretodd@verizon.net> wrote:
HI, I need some suggestions on how to use Limit on an outbound gateway(s) and count the calls that make it past limit.
Currently I have my limit fire on_originate and it works but it cause a Leg B cdr. (not a big deal) and I need to count the calls but when I count them on on_Post Originate only the successful ringing calls are counted, 503’s etc are not counted. I can’t count the calls on originate because that doesn’t remove the exceeded limit calls
So what I want to do is call my dialplan and before the calls start check limit and move on to the next bridge. Any call that makes it to the provider I need to count to keep track (cps, ports etc)
Any suggestions? I don't want to do loopback since i'm trying to get the calls out of the switch as fast as possible.
thanks all
Andre
_________________________________________________________________________
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
-- Ítalo Rossi
_________________________________________________________________________ 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 ClueCon 2015 Call for Speakers <https://www.cluecon.com/call-for-speakers/> | Register <https://freeswitch.com/cart.php?gid=1> TODAY! *T:*+19184209001 | *F:*+19184209002 | *M:*+1918424WEST (9378) *iNUM:*+883 5100 1420 9001 | *ISN:*410*543 | *Skype:*briankwest
participants (5)
-
Andre DeMattia
-
Brian West
-
Stanislav Sinyagin
-
Victor Chukalovskiy
-
Ítalo Rossi