[asterisk-bugs] [Asterisk 0016147]: [patch] ExternalIVR does not return event for file when file playing is interrupted

Asterisk Bug Tracker noreply at bugs.digium.com
Fri Nov 6 13:38:59 CST 2009


A NOTE has been added to this issue. 
====================================================================== 
https://issues.asterisk.org/view.php?id=16147 
====================================================================== 
Reported By:                thedavidfactor
Assigned To:                mnick
====================================================================== 
Project:                    Asterisk
Issue ID:                   16147
Category:                   Applications/app_externalivr
Reproducibility:            always
Severity:                   minor
Priority:                   normal
Status:                     assigned
Asterisk Version:           SVN 
JIRA:                        
Regression:                 No 
Reviewboard Link:            
SVN Branch (only for SVN checkouts, not tarball releases):  trunk 
SVN Revision (number only!): 226308 
Request Review:              
====================================================================== 
Date Submitted:             2009-10-28 14:46 CDT
Last Modified:              2009-11-06 13:38 CST
====================================================================== 
Summary:                    [patch] ExternalIVR does not return event for file
when file playing is interrupted
Description: 
If the autoclear option is set ExternalIVR automatically interrupts and
clears the playlist upon reception of DTMF input. According to the
documentation a D event should be sent for each file that is dropped from
the play list. If a file is currently playing it will not be in the
playlist so it will not have a D event generated for it, however it is not
yet finished so there will be no F event either. I added an additional list
"playinglist" that contains entries in this "limbo" state. Upon the
interruption and clearing of the playlist due to a DTMF event this list
will be used to create a D event for any currently playing file.
====================================================================== 

---------------------------------------------------------------------- 
 (0113333) mnick (manager) - 2009-11-06 13:38
 https://issues.asterisk.org/view.php?id=16147#c113333 
---------------------------------------------------------------------- 
added a patch, without having a new List
and changed from
'ast_fileexists(&input[2], NULL, u->chan->language) == -1'
to
'ast_fileexists(&input[2], NULL, u->chan->language) == 0' 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2009-11-06 13:38 mnick          Note Added: 0113333                          
======================================================================




More information about the asterisk-bugs mailing list