[asterisk-users] FastAGI not working

pierre.guyard at orange.com pierre.guyard at orange.com
Wed Dec 16 09:53:16 CST 2015


Hello, 

Thank you for these advices, but the problem was in fact that the service of the application which was connected to Asterisk in AGI was stopped. 
All I have to do is to restart it.

So the firewall isn't rejecting connections to port 9110.

Thank you very much for your help,
Best regards,
Pierre

-----Message d'origine-----
De : asterisk-users-bounces at lists.digium.com [mailto:asterisk-users-bounces at lists.digium.com] De la part de Tony Mountifield
Envoyé : mercredi 16 décembre 2015 13:00
À : asterisk-users at lists.digium.com
Objet : Re: [asterisk-users] FastAGI not working

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

--
_____________________________________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com -- New to Asterisk? Join us for a live introductory webinar every Thurs:
               http://www.asterisk.org/hello

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users

_________________________________________________________________________________________________________________________

Ce message et ses pieces jointes peuvent contenir des informations confidentielles ou privilegiees et ne doivent donc
pas etre diffuses, exploites ou copies sans autorisation. Si vous avez recu ce message par erreur, veuillez le signaler
a l'expediteur et le detruire ainsi que les pieces jointes. Les messages electroniques etant susceptibles d'alteration,
Orange decline toute responsabilite si ce message a ete altere, deforme ou falsifie. Merci.

This message and its attachments may contain confidential or privileged information that may be protected by law;
they should not be distributed, used or copied without authorisation.
If you have received this email in error, please notify the sender and delete this message and its attachments.
As emails may be altered, Orange is not liable for messages that have been modified, changed or falsified.
Thank you.




More information about the asterisk-users mailing list