Hello Is it possible to add a delayed action that only is executed if the previous action was not successful? for instance: <condition field="destination_number" expression="8337"> <action application="bridge" data="somewhere"/> <action application="javascript" delay="20" data="noanswer.js"/> </condition> //Jonas
this should work (sleep in milliseconds) <condition field="destination_number" expression="8337"> <action application="bridge" data="somewhere"/> <action application="sleep" data="20000"/> <action application="javascript" data="noanswer.js"/> </condition> Am Donnerstag, den 02.08.2007, 17:52 +0200 schrieb Jonas Gauffin:
Hello
Is it possible to add a delayed action that only is executed if the previous action was not successful?
for instance:
<condition field="destination_number" expression="8337"> <action application="bridge" data="somewhere"/> <action application="javascript" delay="20" data="noanswer.js"/> </condition>
//Jonas
_______________________________________________ Freeswitch-users mailing list Freeswitch-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
Wont the javascript be called when the destination of the bridge answers? On 8/2/07, Bernhard Suttner <suttner@comdasys.com> wrote:
this should work (sleep in milliseconds)
<condition field="destination_number" expression="8337"> <action application="bridge" data="somewhere"/> <action application="sleep" data="20000"/> <action application="javascript" data="noanswer.js"/> </condition>
Am Donnerstag, den 02.08.2007, 17:52 +0200 schrieb Jonas Gauffin:
Hello
Is it possible to add a delayed action that only is executed if the previous action was not successful?
for instance:
<condition field="destination_number" expression="8337"> <action application="bridge" data="somewhere"/> <action application="javascript" delay="20" data="noanswer.js"/> </condition>
//Jonas
_______________________________________________ Freeswitch-users mailing list Freeswitch-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
_______________________________________________ Freeswitch-users mailing list Freeswitch-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
participants (2)
-
Bernhard Suttner
-
Jonas Gauffin