Sponsor: VoiceMeUp - Corporate & Wholesale VoIP Services

VoIP Mailing List Archives
Mailing list archives for the VoIP community
 SearchSearch 

[Freeswitch-users] Perl event socket library problem


 
Post new topic   Reply to topic    VoIP Mailing List Archives Forum Index -> freeSWITCH Users
View previous topic :: View next topic  
Author Message
velu.technical at gmai...
Guest





PostPosted: Wed Oct 14, 2009 1:02 am    Post subject: [Freeswitch-users] Perl event socket library problem Reply with quote

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.
Back to top
anthony.minessale at g...
Guest





PostPosted: Wed Oct 14, 2009 3:16 pm    Post subject: [Freeswitch-users] Perl event socket library problem Reply with quote

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 (velu.technical@gmail.com)> wrote:
Quote:
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 (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 ([email]MSN%3Aanthony_minessale@hotmail.com[/email])
GTALK/JABBER/PAYPAL:anthony.minessale@gmail.com ([email]PAYPAL%3Aanthony.minessale@gmail.com[/email])
IRC: irc.freenode.net #freeswitch

FreeSWITCH Developer Conference
sip:888@conference.freeswitch.org ([email]sip%3A888@conference.freeswitch.org[/email])
iax:guest@conference.freeswitch.org/888
googletalk:conf+888@conference.freeswitch.org ([email]googletalk%3Aconf%2B888@conference.freeswitch.org[/email])
pstn:213-799-1400
Back to top
Display posts from previous:   
Post new topic   Reply to topic    VoIP Mailing List Archives Forum Index -> freeSWITCH Users All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group

VoiceMeUp - Corporate & Wholesale VoIP Services