4 Mar
2010
4 Mar
'10
11:55 p.m.
On Fri, Mar 5, 2010 at 2:22 AM, Mark Sobkow <m.sobkow@marketelsystems.com>wrote:
I have the UUID of a parked call. I've waited n seconds for an operator to answer that call, but none are available so I want to play a message to the customer. How do I do that from Erlang? I've tried the following, but it doesn't seem to actually play the file, and I'm not getting any useful information in fs_cli about the playback attempt that would indicate why it's not working.
bgapi( eval, "uuid:1f6d7a61-fd1a-4efd-bf84-31c4eea652c2 playback /opt/freeswitch/sounds/en/us/callie/misc/8000/sorry.wav" )
Command playback is used in the dialplan. For parked calls you must use uuid_broadcast: http://wiki.freeswitch.org/wiki/Mod_commands#uuid_broadcast