[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:33:43 CDT 2008


A NOTE has been added to this issue. 
====================================================================== 
http://bugs.digium.com/view.php?id=12697 
====================================================================== 
Reported By:                ctooley
Assigned To:                
====================================================================== 
Project:                    Asterisk
Issue ID:                   12697
Category:                   Applications/app_externalivr
Reproducibility:            always
Severity:                   major
Priority:                   normal
Status:                     new
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:              
====================================================================== 
Date Submitted:             05-21-2008 07:58 CDT
Last Modified:              05-21-2008 08:33 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:33  
---------------------------------------------------------------------- 
Repository: asterisk
Revision: 117431

U   trunk/apps/app_externalivr.c

------------------------------------------------------------------------
r117431 | tilghman | 2008-05-21 08:33:33 -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=117431 

Issue History 
Date Modified   Username       Field                    Change               
====================================================================== 
05-21-08 08:33  svnbot         Note Added: 0087105                          
======================================================================




More information about the asterisk-bugs mailing list