[Freeswitch-users] Limit concurrent calls

Ken Rice krice at freeswitch.org
Tue May 14 07:15:24 MSD 2013


You know you can set max sessions on freeswitch each session is basically a call leg also check with newfies they probably have a method for that

Sent from my iPhone

On May 13, 2013, at 9:57 PM, alex_ynema <alex at opensystems.net.au> wrote:

> Would this work to limit the total concurrent outgoing calls for a system. 
> I'm running newfies-dialer and we are pushing beyond our concurrent call
> limit of 100 concurrent calls.
> 
> I was thinking somthing along these lines
> 
> <extension name="Call_Limit" >
>   <condition field="caller_id_number" expression="^$" />
>   <condition field="destination_number" expression="^(61\d{7})$" >
>       <action application="limit" data="hash fraud_protection
> calls_max_intl 100 !NORMAL_TEMPORARY_FAILURE" />
>       <action application="set" data="RECORD_TITLE=Recording
> ${destination_number} ${caller_id_number} ${strftime(%Y-%m-%d %H:%M)}" />
>       <action application="set" data="media_bug_answer_req=true" />
>       <action application="set" data="recording_follow_transfer=true" />
>       <action application="set" data="continue_on_fail=true" />
>       <action application="set" data="hangup_after_bridge=true" />
>       <action application="bridge"
> data="{codec_string='PCMA'}sofia/gateway/${distributor(distributor1)}/$1"
> loop="2" />
>   </condition>
> </extension>
> 
> 
> 
> --
> View this message in context: http://freeswitch-users.2379917.n2.nabble.com/Limit-concurrent-calls-tp7589225p7590648.html
> Sent from the freeswitch-users mailing list archive at Nabble.com.
> 
> _________________________________________________________________________
> 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



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