[asterisk-users] FastAGI not working

Tony Mountifield tony at softins.co.uk
Wed Dec 16 06:00:11 CST 2015


In article <26820_1450199905_56704B61_26820_4934_1_9222B1F3842BDF4A9CDAB9E738A7114E8334BB at OPEXCNORM53.corporate.adroot.infra.ftgroup>,
 <pierre.guyard at orange.com> wrote:
> 
> Hello everyone,
> 
> I have a problem with a FastAGI connection, could you help me fix this problem please?
> 
> Here is my log:
> 
> [2015-12-15 16:17:09] WARNING[23936][C-00000015]: res_agi.c:1658 handle_connection: Connecting to '10.171.54.149:9110'
> failed for url
> 'agi://10.171.54.149:9110/DatabaseQuery.agi?vars=name%3Bfirst+name%3BStatut&db=Oracle+database&query=VIP&as=10.171.54.149':
> Connection refused
> [2015-12-15 16:17:09] WARNING[23936][C-00000015]: res_agi.c:1730 launch_netscript: Couldn't connect to any host. 
> FastAGI failed.

This means that either:
a) Nothing on 10.171.54.149 is listening to port 9110, or:
b) The firewall on 10.171.54.149 is rejecting connections to port 9110.

You didn't tell us whether 10.171.54.149 is the same box as the asterisk
one, or a different one.

On 10.171.54.149, do "netstat -nltp" as root to see what processes are
listening, and see if port 9110 is among them.

So if you can describe how you have set up your FastAGI server, and how it
invokes DatabaseQuery.agi, that would help us to help you!

Cheers
Tony

-- 
Tony Mountifield
Work: tony at softins.co.uk - http://www.softins.co.uk
Play: tony at mountifield.org - http://tony.mountifield.org



More information about the asterisk-users mailing list