[Freeswitch-users] Limit concurrent calls
alex_ynema
alex at opensystems.net.au
Tue May 14 06:57:07 MSD 2013
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.
Join us at ClueCon 2011 Aug 9-11, 2011
More information about the FreeSWITCH-users
mailing list