[Freeswitch-users] timeout for curl

Yuriy Nasida nasida at live.ru
Wed Jan 4 00:40:37 MSK 2012


Hello FS users,
I do some curl request from my dialplan. It looks like this:<action application="set" data="lookup=${curl(http://mycnameprovider.com/cname.php?number=${myvar})}" inline="true"/>If cname provider doesn't answer for long time, I have issue because FS doesn't process a call.whether there are any method to add some timeout for curl (3 sec for example) ? Thus, if cname provider doesn't answer for 3 sec,  FS must continue the logic of dialplan.
I read about  mod_cidlookup but it looks like that this module have same issuehttp://wiki.freeswitch.org/wiki/Mod_cidlookup 
Please advise
Thanks. 		 	   		  
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20120104/503b2448/attachment.html 


Join us at ClueCon 2011 Aug 9-11, 2011
More information about the FreeSWITCH-users mailing list