Hello Is it possible to do something like this (pseudo code): set call_timeout=20 bridge somehere if timeout bridge somewhereElse else javascript unexpectedFailure.js that is invoke one action if the bridge fails due to call timeout, and to do something else for every other reason. //Jonas
Jonas, Try something like this: <extension name="example"> <condition field="destination_number" expression="^1234$"> <action application="set" data="call_timeout=20"/> <action application="set" data="continue_on_fail=true"/> <action application="bridge" data="sofia/blah/blah/1234,sofia/ blah/blah/1235"/> <action application="javascript" data="unexpectedFailure.js"/> </condition> </extension> /b On Sep 11, 2008, at 4:53 AM, Jonas Gauffin wrote:
set call_timeout=20 bridge somehere if timeout bridge somewhereElse else javascript unexpectedFailure.js
Brian West sip:brian@freeswitch.org
participants (2)
-
Brian West
-
Jonas Gauffin