<html><head><style type="text/css"><!-- DIV {margin:0px;} --></style></head><body><div style="font-family:courier,monaco,monospace,sans-serif;font-size:12pt"><condition field="destination_number" expression="8337"><br> <action application="set" data="hangup_after_bridge=true"/><br> <action application="set" data="continue_on_fail=true"/><br> <action application="bridge" data="somewhere"/><br> <action application="javascript" data="noanswer.js"/><br></condition><br><div> <br><br>This will make the execution stop when a sucessful bridge was over or continue if the attempt to originate a call is not sucessful<br><br>so if it works it will hangup and if not it will move on.<br><br><br><br></div><div>Anthony Minessale II<br><br><span>FreeSWITCH <a target="_blank" href="http://www.freeswitch.org/">http://www.freeswitch.org/</a></span><br><span>ClueCon <a target="_blank"
href="http://www.cluecon.com/">http://www.cluecon.com/</a></span><br><br>AIM: anthm<br>MSN:anthony_minessale@hotmail.com<br>JABBER:anthony.minessale@gmail.com<br>IRC: irc.freenode.net #freeswitch</div><div><br>FreeSWITCH Developer Conference<br>sip:888@conference.freeswitch.org<br>iax:guest@conference.freeswitch.org/888<br>googletalk:conf+888@conference.freeswitch.org<br>pstn:213-799-1400</div><div style="font-family: courier,monaco,monospace,sans-serif; font-size: 12pt;"><br><br><div style="font-family: times new roman,new york,times,serif; font-size: 12pt;">----- Original Message ----<br>From: Jonas Gauffin <jonas.gauffin@gmail.com><br>To: freeswitch-users@lists.freeswitch.org<br>Sent: Thursday, August 2, 2007 1:55:25 PM<br>Subject: Re: [Freeswitch-users] Dial<br><br><div>Wont the javascript be called when the destination of the bridge answers?<br><br><br>On 8/2/07, Bernhard Suttner <suttner@comdasys.com> wrote:<br>> this should work
(sleep in milliseconds)<br>><br>> <condition field="destination_number" expression="8337"><br>> <action application="bridge" data="somewhere"/><br>> <action application="sleep" data="20000"/><br>> <action application="javascript" data="noanswer.js"/><br>> </condition><br>><br>><br>> Am Donnerstag, den 02.08.2007, 17:52 +0200 schrieb Jonas Gauffin:<br>> > Hello<br>> ><br>> > Is it possible to add a delayed action that only is executed if the<br>> > previous action was not successful?<br>> ><br>> > for instance:<br>> ><br>> > <condition field="destination_number" expression="8337"><br>> > <action application="bridge" data="somewhere"/><br>> > <action application="javascript" delay="20" data="noanswer.js"/><br>> > </condition><br>> ><br>> >
//Jonas<br>> ><br>> > _______________________________________________<br>> > Freeswitch-users mailing list<br>> > Freeswitch-users@lists.freeswitch.org<br>> > <a target="_blank" href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>> > UNSUBSCRIBE:<a target="_blank" href="http://lists.freeswitch.org/mailman/options/freeswitch-users">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>> > <a target="_blank" href="http://www.freeswitch.org">http://www.freeswitch.org</a><br>><br>><br>> _______________________________________________<br>> Freeswitch-users mailing list<br>> Freeswitch-users@lists.freeswitch.org<br>> <a target="_blank" href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>> UNSUBSCRIBE:<a
target="_blank" href="http://lists.freeswitch.org/mailman/options/freeswitch-users">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>> <a target="_blank" href="http://www.freeswitch.org">http://www.freeswitch.org</a><br>><br><br>_______________________________________________<br>Freeswitch-users mailing list<br>Freeswitch-users@lists.freeswitch.org<br><a target="_blank" href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>UNSUBSCRIBE:<a target="_blank" href="http://lists.freeswitch.org/mailman/options/freeswitch-users">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br><a target="_blank" href="http://www.freeswitch.org">http://www.freeswitch.org</a><br></div></div><br></div></div><br>
<hr size=1>Shape Yahoo! in your own image.
<a href="http://us.rd.yahoo.com/evt=48517/*http://surveylink.yahoo.com/gmrs/yahoo_panel_invite.asp?a=7">Join our Network Research Panel today!</a>
</body></html>