this custom message must replace the principal IVR automatically.
When she comes back from holidays, the secretary must be able to remove her custom vocal message and the Principal IVR must automatically be played again.
Problem is : I don’t know how to permit the secretary remove her own custom-message back to work.
Can someone help ?
I assume you actually wrote $[${EXISTS(custom-menu)}=1] and it has been garbled by failing to mark it up as pre-formatted text for the forum.
However, EXISTS doesn’t test the existence of a sound recording, it simply checks whether its parameters expand to a null string. Testing whether it is equal to 1 is redundant, as it already is a truth value at that point. In fact the whole expression evaluates to true, as a literal argument evaluates to itself and “custom-menu” is not a a null string.
You probably want to use ASTDB to store the normal versus holiday status.
Thank you david551 and TheMark.
My question is, how the secretary can remove this custom message on her own, back after holidays ?
Because, what I understand in this solution is that she can only record the message… not delete it.