[asterisk-bugs] [JIRA] (ASTERISK-21065) Asterisk 11 TCP AGI fail

Matt Jordan (JIRA) noreply at issues.asterisk.org
Tue Feb 12 07:08:58 CST 2013


    [ https://issues.asterisk.org/jira/browse/ASTERISK-21065?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=202816#comment-202816 ] 

Matt Jordan commented on ASTERISK-21065:
----------------------------------------

So, your patch reverts r357610, which added IPv6 support to FastAGI. So that's probably not good :-)

I think we need to understand why your connection is failing, as we run FastAGI on IPv4 connections all the time. Your log file shows:

{noformat}
    -- Executing [s at VXML:3] AGI("SIP/143-00000000", "agi://localhost/url=http%3A%2F%2Fexample.com%2Fcgi-bin%2Favxml") in new stack
[Feb 12 01:50:04] DEBUG[3634][C-00000000]: netsock2.c:138 ast_sockaddr_split_hostport: Splitting 'localhost' into...
[Feb 12 01:50:04] DEBUG[3634][C-00000000]: netsock2.c:192 ast_sockaddr_split_hostport: ...host 'localhost' and port ''.
{noformat}

What happens if:
# You put in the explicit IPv4 address/port that you are listening on?
# You put in localhost:port/url?

                
> Asterisk 11 TCP AGI fail
> ------------------------
>
>                 Key: ASTERISK-21065
>                 URL: https://issues.asterisk.org/jira/browse/ASTERISK-21065
>             Project: Asterisk
>          Issue Type: Bug
>      Security Level: None
>          Components: Resources/res_agi
>    Affects Versions: 11.2.1
>            Reporter: Jeremy Kister
>         Attachments: 21065-1.patch, console_debug.txt, console.txt, extensions.conf
>
>
> exten => 1,1,AGI(agi://localhost/foo) always fails with "Connect failed"

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira



More information about the asterisk-bugs mailing list