How to Set Timeout for FastAGI in Asterisk
问题 I have a server that sends FastAGI requests over TCP to another server in the Internet. The problem is that the default timeout for FastAGI is very short and the error below is raised. How can I set FastAGI timeout in my dialplan? FastAGI connection to 'agi://Myserver/agi' timed out after MAX_AGI_CONNECT (2000) milliseconds. 回答1: 2sec timeout is not "very short". I can't imagine situation when application can't answer in 2 sec. Very likly you have issue with other side. However if you are