| Summary: | Asterisk fastagi does not work | ||
|---|---|---|---|
| Product: | uClibc | Reporter: | Peter Katzmann <peter.katzmann> |
| Component: | Networking | Assignee: | unassigned |
| Status: | RESOLVED FIXED | ||
| Severity: | critical | CC: | uclibc-cvs |
| Priority: | P5 | ||
| Version: | unspecified | ||
| Target Milestone: | --- | ||
| Hardware: | Other | ||
| OS: | Linux | ||
| Host: | Target: | ||
| Build: | |||
Please attach your .config and retry with 0.9.32. (In reply to comment #1) > Please attach your .config and retry with 0.9.32. (and if that fails please provide the relevant strace output). thanks, Works with uClibc 0.9.32 and buildroot 2011.08 |
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; }