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. 
Thanks.

<macro name="greeting">
    <input pattern="(.*)">
        <match>
            <action function="play-file" data="/home/admin/freeswitch/conf/lang/en/ivr/wav/greeting.wav"/>
        </match>
    </input>
</macro>

--
Lucas Eduardo Dúcculi
Software Developer
 lucaseduc@hotmail.com
 +54 0358 4853837
 lucas@toptive.co

TOP TIER DEVELOPERS
Av. Italia 1684 - Plata Alta, Río Cuarto, Cba. Argentina
www.toptive.co
LinkedIn icon Facebook icon Facebook icon Facebook icon

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.