[asterisk-bugs] [JIRA] (ASTERISK-21065) Asterisk 11 IPv6 - FastAGI fail
Jeremy Kister (JIRA)
noreply at issues.asterisk.org
Thu Feb 14 21:58:58 CST 2013
[ https://issues.asterisk.org/jira/browse/ASTERISK-21065?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=203000#comment-203000 ]
Jeremy Kister edited comment on ASTERISK-21065 at 2/14/13 9:58 PM:
-------------------------------------------------------------------
I added localhost back to ::1 so that localhost is multihomed on ipv4 and ipv6. my daemon is still only listening on ipv4.
the new code makes asterisk try to connect to ::1:4573 which fails then tries 127.0.0.1:4573, succeeds and continues.
{code}
[Feb 14 22:18:10] WARNING[2861][C-00000000]: res_agi.c:1525 launch_netscript: Connecting to '[::1]:4573' failed for url 'agi://localhost/url=http%3A%2F%2Fexample.com%2Fcgi-bin%2Favxml': Connection refused
-- Playing 'local/tts/bbWHEJViRO68xuFMQnHPRDQMIvkKTr8R4________For_fur' (escape_digits=0123456789*#) (sample_offset 0)
-- <SIP/143-00000000>AGI Script agi://localhost/url=http%3A%2F%2Fexample.com%2Fcgi-bin%2Favxml completed, returning 4
== Spawn extension (VXML, s, 3) exited non-zero on 'SIP/143-00000000'
{code}
this is the behavior i thought asterisk was trying to have when [i asked someone to check out the code|https://issues.asterisk.org/jira/browse/ASTERISK-21065?focusedCommentId=202868&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-202868]. good work..
was (Author: jkister):
I added localhost back to ::1 so that localhost is multihomed on ipv4 and ipv6. my daemon is still only listening on ipv4.
the new code makes asterisk try to connect to ::1:4573 which fails then tries 127.0.0.1:4573, succeeds and continues.
{code}
[Feb 14 22:18:10] WARNING[2861][C-00000000]: res_agi.c:1525 launch_netscript: Connecting to '[::1]:4573' failed for url 'agi://localhost/url=http%3A%2F%2Fexample.com%2Fcgi-bin%2Favxml': Connection refused
-- Playing 'local/tts/bbWHEJViRO68xuFMQnHPRDQMIvkKTr8R4________For_fur' (escape_digits=0123456789*#) (sample_offset 0)
-- <SIP/143-00000000>AGI Script agi://localhost/url=http%3A%2F%2Fexample.com%2Fcgi-bin%2Favxml completed, returning 4
== Spawn extension (VXML, s, 3) exited non-zero on 'SIP/143-00000000'
{code}
> Asterisk 11 IPv6 - FastAGI 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
> Assignee: Jeremy Kister
> Attachments: 21065-1.patch, asterisk-21065_poll_correctly_v2.diff, 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