On Wed, Oct 19, 2011 at 12:21 PM, adam harris <admharris@gmx.com> wrote:
A few questions about esl in C

1, After sending api playback command I want to wait until the file is done playing. How do I do this is C 

2, Whats the proper way to use esl_recv_event_timed and esl_recv_even I tried it like this esl_recv_event_timed(call_info->global_handle, 10, 0, NULL); but that printed the complete event on screen. I want to do this in a while loop to check for event-name

Would you mind putting some code snippets here or in pastebin.freeswitch.org?
-MC