Displaying 1 result from an estimated 1 matches for "lookup_failed".
2010 Jan 07
4
AGI perl script set timeout within script?
Hi All,
I'm running an AGI, calling a perl script the does number lookups to a
remote server. I would like to put a timeout in the script. The
problem I'm running into is if the DNS server is not responding, the
script hangs and waits for 30 seconds before returning to the Asterisk
dialplan. I would like a timeout of 1 second, then return.
Here is my clean script: