[asterisk-bugs] [Asterisk 0012697]: [patch] ExternalIVR will never read from a socket

noreply at bugs.digium.com noreply at bugs.digium.com
Wed May 21 08:35:37 CDT 2008


A NOTE has been added to this issue. 
====================================================================== 
http://bugs.digium.com/view.php?id=12697 
====================================================================== 
Reported By:                ctooley
Assigned To:                svnbot
====================================================================== 
Project:                    Asterisk
Issue ID:                   12697
Category:                   Applications/app_externalivr
Reproducibility:            always
Severity:                   major
Priority:                   normal
Status:                     closed
Asterisk Version:           1.6.0-beta8 
SVN Branch (only for SVN checkouts, not tarball releases): 1.6.0 
SVN Revision (number only!): 117430 
Disclaimer on File?:        N/A 
Request Review:              
Resolution:                 fixed
Fixed in Version:           
====================================================================== 
Date Submitted:             05-21-2008 07:58 CDT
Last Modified:              05-21-2008 08:35 CDT
====================================================================== 
Summary:                    [patch] ExternalIVR will never read from a socket
Description: 
ExternalIVR's socket support is prevented from determining that there is
something waiting on the socket because ast_waitfor_nandfds is not being
called correctly.  This patch checks for the existence of an error file
descriptor before telling ast_waitfor_nandfds which one to use.  As there
is no error fd on a socket, it will not work.
====================================================================== 

---------------------------------------------------------------------- 
 svnbot - 05-21-08 08:35  
---------------------------------------------------------------------- 
Repository: asterisk
Revision: 117432

_U  branches/1.6.0/

------------------------------------------------------------------------
r117432 | tilghman | 2008-05-21 08:35:34 -0500 (Wed, 21 May 2008) | 13
lines

Blocked revisions 117431 via svnmerge

........
r117431 | tilghman | 2008-05-21 08:39:41 -0500 (Wed, 21 May 2008) | 6
lines

On socket-based connections, there is no error FD, so don't try waiting on
one.
(closes issue http://bugs.digium.com/view.php?id=12697)
 Reported by: ctooley
 Patches: 
       fix_externalivr_waitfor_nandfds-v3.diff uploaded by ctooley
(license 136)

........

------------------------------------------------------------------------

http://svn.digium.com/view/asterisk?view=rev&revision=117432 

Issue History 
Date Modified   Username       Field                    Change               
====================================================================== 
05-21-08 08:35  svnbot         Checkin                                      
05-21-08 08:35  svnbot         Note Added: 0087106                          
======================================================================




More information about the asterisk-bugs mailing list