FreeSWITCH一个网关组拨号失败后转到另一个网关组继续处理
以下三种情况生效:
NORMAL_TEMPORARY_FAILURE: 正常临时失败
TIMEOUT: 超时
NO_ROUTE_DESTINATION: 没有渠道
<condition field="destination_number" expression="^(.*)$">
<action application="set" data="continue_on_fail=true"/>
<action application="set" data="continue_on_fail=NORMAL_TEMPORARY_FAILURE,TIMEOUT,NO_ROUTE_DESTINATION"/>
<action application="bridge" data="sofia/gateway/${distributor <listname1> ${sofia profile <profilename1> gwlist down}}/$1"/>
<action application="bridge" data="sofia/gateway/${distributor <listname2> ${sofia profile <profilename2> gwlist down}}/$1"/>
</condition>