Re: [Freeswitch-users] Flushing the Event buffer in Perl Event Socket

2009-11-10 Thread lakshmanan
Hi anthony, I was in a need of flushing the events buffer without reading it.I've done the following ESL(Async) program to flush the events. First I register for events. I answered the call and playback some message. Now the events would have been queued. I, then send noevents. After sending

Re: [Freeswitch-users] Flushing the Event buffer in Perl Event Socket

2009-11-10 Thread Brian West
$| = 1; I think that is what you're lookin for. /b On Nov 10, 2009, at 4:51 AM, lakshmanan wrote: I was in a need of flushing the events buffer without reading it.I've done the following ESL(Async) program to flush the events. ___

Re: [Freeswitch-users] Flushing the Event buffer in Perl Event Socket

2009-11-10 Thread lakshmanan ganapathy
That doesn't seems to work for me. Here is my need. I'm using Async in the Event socket outbound. I'll register for events plain all I'll answer the call. I'll playback a message. I'll sleep for 5 seconds. After that, I'll receive the events. I don't need the events that are for answer and

[Freeswitch-users] Flushing the Event buffer in Perl Event Socket

2009-10-30 Thread velusamy velu
Dear All, I receiving the events in while loop by using recvEventTimed method in ESL.pm. I have to flush that Event buffer after some particular time. How can I do it? Thanks, Velusamy ___ FreeSWITCH-users mailing list

Re: [Freeswitch-users] Flushing the Event buffer in Perl Event Socket

2009-10-30 Thread Anthony Minessale
read them in a timed loop of some small number of MS until you get a timeout meaning you have flushed them all. On Fri, Oct 30, 2009 at 1:57 AM, velusamy velu velu.techni...@gmail.comwrote: Dear All, I receiving the events in while loop by using recvEventTimed method in ESL.pm. I have