That's what asynchronous means "do not block" try $con->setEventLock("true"); with the socket in async mode, then your requests will stack in order. On Wed, Oct 14, 2009 at 12:50 AM, velusamy velu <velu.technical@gmail.com>wrote:
Dear All, I am implementing an IVR framework using Perl event socket libraries. At first I set socket mode async full. I have faced problem that the Perl statements executing before dailplan execution. So, I couldn't control my process.
Next I have tried without async mode, it solved that race condition problem. I had another requirement that while executing external application I need to play some voice file some time limit. When I played that voice file in playback, the playback application blocked. So, I can't break that playback application after some time limit.
I am hanging on this problem for past one week. Please any one help me to solve above problems...
Thanks, Velusamy.
_______________________________________________ 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
-- Anthony Minessale II FreeSWITCH http://www.freeswitch.org/ ClueCon http://www.cluecon.com/ Twitter: http://twitter.com/FreeSWITCH_wire AIM: anthm MSN:anthony_minessale@hotmail.com <MSN%3Aanthony_minessale@hotmail.com> GTALK/JABBER/PAYPAL:anthony.minessale@gmail.com<PAYPAL%3Aanthony.minessale@gmail.com> IRC: irc.freenode.net #freeswitch FreeSWITCH Developer Conference sip:888@conference.freeswitch.org <sip%3A888@conference.freeswitch.org> iax:guest@conference.freeswitch.org/888 googletalk:conf+888@conference.freeswitch.org<googletalk%3Aconf%2B888@conference.freeswitch.org> pstn:213-799-1400