VoIP Mailing List Archives
Mailing list archives for the VoIP community |
|
View previous topic :: View next topic |
Author |
Message |
pierre.guyard at orang... Guest
|
Posted: Tue Dec 15, 2015 12:18 pm Post subject: [asterisk-users] FastAGI not working |
|
|
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.
And my extensions.conf :
[950-IVR-mainmenu]
exten => s,1,Playback(${message accueil})
exten => s,n,Set(PhoneNumber=${CALLERID(num)})
exten => s,n,AGI(agi://10.171.54.149:9110/DatabaseQuery.agi?vars=name%3Bfirst+name%3BStatut&db=Oracle+database&query=VIP&as=10.171.54.149)
.
.
.
Thank you in advance,
Pierre
_________________________________________________________________________________________________________________________ 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. |
|
Back to top |
|
|
asterisk at voipbusine... Guest
|
Posted: Tue Dec 15, 2015 12:46 pm Post subject: [asterisk-users] FastAGI not working |
|
|
Hey;
Is there a reason why you aren’t using the standard FastAGI port 4573?
Regards;
John V.
From: asterisk-users-bounces@lists.digium.com [mailto:asterisk-users-bounces@lists.digium.com] On Behalf Of pierre.guyard@orange.com
Sent: Tuesday, December 15, 2015 12:18 PM
To: asterisk-users@lists.digium.com
Subject: [asterisk-users] FastAGI not working
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.
And my extensions.conf :
[950-IVR-mainmenu]
exten => s,1,Playback(${message accueil})
exten => s,n,Set(PhoneNumber=${CALLERID(num)})
exten => s,n,AGI(agi://10.171.54.149:9110/DatabaseQuery.agi?vars=name%3Bfirst+name%3BStatut&db=Oracle+database&query=VIP&as=10.171.54.149)
.
.
.
Thank you in advance,
Pierre
Quote: | _________________________________________________________________________________________________________________________ Ce message et ses pieces jointes peuvent contenir des informations confidentielles ou privilegiees et ne doivent doncpas etre diffuses, exploites ou copies sans autorisation. Si vous avez recu ce message par erreur, veuillez le signalera 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. | 01 |
|
Back to top |
|
|
tony at softins.co.uk Guest
|
Posted: Wed Dec 16, 2015 7:00 am Post subject: [asterisk-users] FastAGI not working |
|
|
In article <26820_1450199905_56704B61_26820_4934_1_9222B1F3842BDF4A9CDAB9E738A7114E8334BB@OPEXCNORM53.corporate.adroot.infra.ftgroup>,
<pierre.guyard@orange.com> wrote:
Quote: |
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@softins.co.uk - http://www.softins.co.uk
Play: tony@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 |
|
Back to top |
|
|
pierre.guyard at orang... Guest
|
Posted: Wed Dec 16, 2015 10:54 am Post subject: [asterisk-users] FastAGI not working |
|
|
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@lists.digium.com [mailto:asterisk-users-bounces@lists.digium.com] De la part de Tony Mountifield
Envoyé : mercredi 16 décembre 2015 13:00
À : asterisk-users@lists.digium.com
Objet : Re: [asterisk-users] FastAGI not working
In article <26820_1450199905_56704B61_26820_4934_1_9222B1F3842BDF4A9CDAB9E738A7114E8334BB@OPEXCNORM53.corporate.adroot.infra.ftgroup>,
<pierre.guyard@orange.com> wrote:
Quote: |
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@softins.co.uk - http://www.softins.co.uk
Play: tony@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.
--
_____________________________________________________________________
-- 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 |
|
Back to top |
|
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
Powered by phpBB © 2001, 2005 phpBB Group
|