25 Jun
2010
25 Jun
'10
2:41 a.m.
Hi, As I can see, You cannot do this in inbound erlang sendmsg(FS, uuid, playback, "1.wav"); sendmsg(FS, uuid, playback, "2.wav"); sendmsg(FS, uuid, transfer, "xxxxx because it's async, and it will play 2.wav immediately. 1) Sure if I know the length of 1.wav I can sendmsg(FS, uuid, playback, 1.wav sleep(3000 sendmsg(FS, uuid, playback, 2.wav 2) Or I could wait the execute_complete event which will be a little complicated According to http://wiki.freeswitch.org/wiki/Event_socket_outbound Is it possible to send a event-lock param to lock the message temporarily? like sendmsg(FS, UUID, App, Args, [{"event-lock", "true"}]). -- Blog: http://www.dujinfang.com Proj: http://www.freeswitch.org.cn