<div dir="ltr"><div>Different macros are defined in the phrases.xml file, I want to know if it is possible to implement a condition in the macro to check if the audio file exists and if not, play an alternative one. <br></div><div>Thanks.</div><div><br></div><macro name="greeting"><br>    <input pattern="(.*)"><br>        <match><br>            <action function="play-file" data="/home/admin/freeswitch/conf/lang/en/ivr/wav/greeting.wav"/><br>        </match><br>    </input><br></macro><br clear="all"><div><br></div>-- <br><div dir="ltr" class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><table cellpadding="0" cellspacing="0" border="0" style="border-collapse:collapse;background:none;font-family:-apple-system,system-ui,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue",Arial,sans-serif;border:0px;margin:0px;padding:0px"><tbody><tr></tr><tr><td valign="top" style="padding:0px;line-height:23px;vertical-align:top"><span style="font-weight:bolder"><span style="font-size:13pt;color:rgb(34,50,118);font-family:Montserrat">Lucas Eduardo Dúcculi</span></span></td></tr><tr><td valign="top" style="padding:0px;line-height:18px;vertical-align:top;font-family:Montserrat;font-size:12pt"><span style="font-size:9pt;color:rgb(0,0,0)">Software Developer</span></td></tr><tr><td valign="top" style="padding:8px 0px 0px;line-height:18px;font-family:Montserrat;font-size:9pt;vertical-align:top"><span style="font-size:10pt"><span><img width="12" src="https://toptive-signature-generator.herokuapp.com/static/images/skype.png" style="border-style:none;vertical-align:middle;height:15px;width:15px"> </span><a href="mailto:lucaseduc@hotmail.com" target="_blank">lucaseduc@hotmail.com</a><span><br></span></span><span style="font-size:10pt"><span><img width="12" src="https://toptive-signature-generator.herokuapp.com/static/images/phone.png" style="border-style:none;vertical-align:middle;height:15px;width:15px"> </span>+54 0358 4853837<span><br></span></span><span style="font-size:10pt"><span><img width="12" src="https://toptive-signature-generator.herokuapp.com/static/images/email.png" style="border-style:none;vertical-align:middle;height:15px;width:15px"> </span><a href="mailto:lucas@toptive.co" target="_blank">lucas@toptive.co</a><span><br></span></span><hr align="left" width="275" style="height:0px;overflow:visible;margin-top:1rem;margin-bottom:1rem;border-right:0px;border-bottom:0px;border-left:0px;border-top-style:solid;border-top-color:rgba(0,0,0,0.1)"></td></tr><tr><td style="padding:0px"><table width="300" cellpadding="0" cellspacing="0" style="border-collapse:collapse;background-color:transparent;width:auto;font-size:11pt;font-family:Montserrat;color:rgb(0,0,0)"><tbody><tr><td valign="top" style="padding-right:12px"><img src="https://toptive-signature-generator.herokuapp.com/static/images/toptive.png" height="75px" width="75px" style="border-style:none;vertical-align:middle"></td><td valign="top" style="padding:0px;line-height:25px;font-family:Montserrat;font-size:11pt;vertical-align:top"><span style="font-size:12pt">TOP TIER DEVELOPERS<br></span><span style="font-size:11pt">Av. Italia 1684 - Plata Alta, Río Cuarto, Cba. Argentina<br></span><span style="font-size:11pt"><a href="http://www.toptive.co/" style="background-color:transparent;color:rgb(0,0,0);font-size:10pt" target="_blank">www.toptive.co</a><br></span><span><a href="https://www.linkedin.com/company/toptive" style="background-color:transparent;color:rgb(2,117,216)" target="_blank"><img border="0" width="12" alt="LinkedIn icon" src="https://toptive-signature-generator.herokuapp.com/static/images/linkedin.png" style="border:0px;vertical-align:middle;height:15px;width:15px"></a> </span><span><a href="https://www.facebook.com/toptive/" style="background-color:transparent;color:rgb(2,117,216)" target="_blank"><img border="0" width="12" alt="Facebook icon" src="https://toptive-signature-generator.herokuapp.com/static/images/facebook.png" style="border:0px;vertical-align:middle;height:15px;width:15px"></a> </span><span><a href="https://www.instagram.com/toptierdevelopers/" style="background-color:transparent;color:rgb(2,117,216)" target="_blank"><img border="0" width="12" alt="Facebook icon" src="https://toptive-signature-generator.herokuapp.com/static/images/instagram.png" style="border:0px;vertical-align:middle;height:15px;width:15px"></a> </span><span><a href="https://medium.com/@toptive" style="background-color:transparent;color:rgb(2,117,216)" target="_blank"><img border="0" width="12" alt="Facebook icon" src="https://toptive-signature-generator.herokuapp.com/static/images/medium.png" style="border:0px;vertical-align:middle;height:15px;width:15px"></a></span></td></tr></tbody></table></td></tr><tr><td width="430" colspan="2" valign="top" style="font-size:6pt;font-family:Montserrat;color:rgb(105,105,105);line-height:10px;vertical-align:top"><span style="font-size:6pt;font-family:Arial,Helvetica,sans-serif"><br>This email is confidential and for the exclusive use of the person(s) to whom it is addressed. If you have received this email by mistake we ask you to immediately notify the person who sent it.</span></td></tr></tbody></table></div></div></div>