[Bug 3367] New: Asterisk fastagi does not work

bugzilla at busybox.net bugzilla at busybox.net
Thu Mar 3 15:21:15 UTC 2011


https://bugs.busybox.net/show_bug.cgi?id=3367

           Summary: Asterisk fastagi does not work
           Product: uClibc
           Version: 0.9.32
          Platform: Other
        OS/Version: Linux
            Status: NEW
          Severity: critical
          Priority: P5
         Component: Networking
        AssignedTo: unassigned at uclibc.org
        ReportedBy: peter.katzmann at edag.de
                CC: uclibc-cvs at uclibc.org
   Estimated Hours: 0.0


asterisk fastagi works with uclicb 0.9.30 well but since 0.9.31 it fails.

it seems that the return value at creating a network connection is not what
expected.
The log spills out :
[Jan  1 03:10:50] WARNING[2585]: res_agi.c:1390 launch_netscript: Connect
failed with unexpected error: Success
[Jan  1 03:10:51] WARNING[2587]: manager.c:4564 get_input: poll() returned
error: Success
[Jan  1 03:10:53] WARNING[2585]: channel.c:3718 __ast_read: read() failed:
Success

The code for this message is:

        if (connect(s, (struct sockaddr *)&addr_in, sizeof(addr_in)) && (errno
!= EINPROGRESS)) {
                ast_log(LOG_WARNING, "Connect failed with unexpected error:
%s\n", strerror(errno));
                close(s);
                return AGI_RESULT_FAILURE;
        }

-- 
Configure bugmail: https://bugs.busybox.net/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.


More information about the uClibc-cvs mailing list