<div dir="ltr"><div>Hello guys,</div><div><br></div><div>Does anyone see anything wrong with this? The first extension gets executed, but not the second, even though i have continue="true"</div><div><br></div><div><br></div><div><div><extension name="do_this_for_all_9" continue="true"></div><div> <condition field="destination_number" expression="^(9.*)$"></div><div> <action application="set" data="rand_val=${expr(randomize(&x);ceil(random(0,10,&x)))}"/></div><div> <action application="log" data="ERR Random Value: <${rand_val}>"/></div><div> </condition></div><div></extension></div><div><br></div><div><extension name="local_call2"></div><div> <condition field="destination_number" expression="^(9.*)$"></div><div> <condition field="${cond(${rand_val} > 4 ? YES : NO)}" expression="^YES$"></div><div> <action application="set" data="continue_on_fail=true"/></div><div> <action application="ring_ready"/></div><div> <action application="sleep" data="3000"/></div><div> <action application="hangup" data="USER_BUSY"/></div><div><br></div><div> <anti-action application="set" data="continue_on_fail=true"/></div><div> <anti-action application="ring_ready"/></div><div> <anti-action application="sleep" data="3000"/></div><div> <anti-action application="sched_hangup" data="+10 allotted_timeout"/></div><div> <anti-action application="answer"/></div><div> <acti-action application="callcenter" data="support@default"/></div><div> <anti-action application="hangup"/></div><div> </condition></div><div> </condition></div><div></extension></div></div><div><br></div><div><br></div><div><br></div><br clear="all"><div><div class="gmail_signature"><div dir="ltr"><div>Regards,</div><div><br></div>David Villasmil<div>email: <a href="mailto:david.villasmil.work@gmail.com" target="_blank">david.villasmil.work@gmail.com</a></div><div>phone: +34669448337</div></div></div></div>
</div><div hspace="streak-pt-mark" style="max-height:1px"><img style="width:0px;max-height:0px;overflow:hidden" src="https://mailfoogae.appspot.com/t?sender=aZGF2aWQudmlsbGFzbWlsLndvcmtAZ21haWwuY29t&type=zerocontent&guid=5e711359-f397-4bc1-bddf-9c05c4e53c5b"><font color="#ffffff" size="1">ᐧ</font></div>