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 Can you please resend this to freeswitch-dev@lists.freeswitch.org -MC On Wed, Oct 19, 2011 at 9:10 AM, adam harris <admharris@gmx.com> wrote: After sending api playback command I want to wait until the file is done playing How do I do this is C
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
participants (2)
-
adam harris
-
Michael Collins