Hello! Here is an extension: <extension name="ext_domestic_e164"> <condition field="destination_number" expression="^(7[0-9]{10})$"> <action application="set" data="hangup_after_bridge=true"/> <action application="set" data="continue_on_fail=true"/> <!-- Least Cost Routing scheme --> <action application="lcr" data="$1 lcr_tagnet"/> <action application="set" data="call_timeout=60"/> <action application="set" data="bridge_answer_timeout=60"/> <action application="set" data="disable-transcoding=true"/> <action application="bridge" data="${lcr_auto_route}"/> </condition> </extension> lcr_auto_route returns 2 bridges to a same destination. [lcr_carrier=naukanet.ru,lcr_rate=1.45140,v_ats_dstport=50002]sofia/epbx/89979049898ZZZ@X.X.X.42:5061|[lcr_carrier=mtt.ru,lcr_rate=1.60480,v_ats_dstport=50006]sofia/epbx/79049898ZZZ@Y.Y.Y.132:5060 Here is a problem: when the reject from the remote is [CS_CONSUME_MEDIA] [USER_BUSY] the call is routed to the next bridge. When the reject is [CS_EXCHANGE_MEDIA] [USER_BUSY] the bridge hangs up. So, what is the right way to stop processing when USER_BUSY arrived? I tried continue_on_fail=NORMAL_TEMPORARY_FAILURE,NO_ROUTE_DESTINATION without success. -- Regards, Boris
participants (1)
-
Boris Kovalenko