[Freeswitch-users] failover in freeswitch dialplan using | or lcr

Jason Holden jason.holden at start.ca
Thu Mar 12 19:53:08 MSK 2015


Hi,

If I send an invite for a call and don't receive a response to the initial
invite message how can I force FS to try the next route right away?

 

Here is one of my lcr dialplan chunks.

    <condition field="destination_number" expression="^(.*)$">

      <action application="set" data="continue_on_fail=true"/>

      <action application="set" data="hangup_after_bridge=true"/>

      <action application="set" data="domain_name=$${domain}"/>

      <action application="set" data="instant_ringback=true"/>

      <action application="ring_ready" />

      <action application="set" data="ringback=${us-ring}"/>

      <action application="set" data="transfer-ringback=${us-ring}"/>  

      <action application="lcr" data="$1 inbound"/>

      <action application="set" data="bypass_media=true"/>

      <action application="bridge" data="${lcr_auto_route}"/>

    </condition>

  </extension>

 

All advise is welcome, thanks.

 

 

 

 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20150312/9d68bacb/attachment.html 


Join us at ClueCon 2016 Aug 8-12, 2016
More information about the FreeSWITCH-users mailing list