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 playback. That action is completed and don't want to receive events for those application.
I set $|=1 in my ESL script.
But it doesn't seems to solve the above issue.
Any help!!!!pls!!!
$| = 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.
_______________________________________________
FreeSWITCH-users mailing list
FreeSWITCH-users@lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org