[Freeswitch-users] outbound calls control

shayne.alone at gmail.com shayne.alone at gmail.com
Sat Feb 23 10:48:10 MSK 2013

I need to control over the return value of bridge application:

How should on find if the call was rejected bye Carrier_One ( before I fill
10 calls which I am permitted to ) and route then via Carrier_Two?

  <extension name="noPerfixed">
    <condition field="destination_number" expression="^([0-9]+)$">
    <action application="set" data="ignore_early_media=true"/>
    <action application="set"
    <action application="limit_execute" data="hash outbound carrierOne 10
bridge sofia/gateway/xxx.xxx.xxx.101/$1" />
    <!--     what should i place here?       -->
    <action application="hangup"/>
    <action application="bridge"
    <action application="hangup"/>

  <extension name="Perfixed">
    <condition field="destination_number" expression="^[0-9]+#([0-9]+)$">
            <action application="transfer" data="$1 XML CallPlan"/>

Ali R. Taleghani
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20130223/08be1ce2/attachment.html 

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