this is the XML code that i have in order to play some announce-sound that says press 1 to leave a message
<param name="announce-sound" value="/var/lib/freeswitch/recordings/dp/on_hold_msg.wav"/>
<param name="announce-frequency" value="30"/>
<action application="set" data="cc_exit_keys=1"/>
This works great,
the problem if an agent picks up the phone while the
announce-sound is palying the system will connect the call however the caller will still hear the announce sound and will only connect to agent when the sound is done
--
Moshe Rosenberg
Tel. 718 633 1444
Cel. 347 678 3993
Moshe@dataphone.cloud