[Freeswitch-users] recvEventTimed - SERVER_DISCONNECTED
Brian West
brian at freeswitch.org
Mon Mar 8 20:49:02 PST 2010
This is because you're timing out and ending your loop and loosing the event. while($con->connected()) { becomes false and you can't come back around to pickup the event because you would have been disconnected before you had a chance to get the event. recvEventTimed allows you to do other things if you don't receive events in a set amount of time.
One example of proper usage on inbound event socket:
http://svn.freeswitch.org/svn/freeswitch/trunk/libs/esl/perl/ESL/Dispatch.pm
http://svn.freeswitch.org/svn/freeswitch/trunk/libs/esl/perl/dispatch.pl
/b
On Mar 8, 2010, at 10:33 PM, Nagalenoj H. wrote:
> Anything wrong with this question?! I didn't find any replies for this..
More information about the FreeSWITCH-users
mailing list