[asterisk-bugs] [Asterisk 0014012]: Channel "hangs"

Asterisk Bug Tracker noreply at bugs.digium.com
Fri Dec 5 12:03:11 CST 2008


A NOTE has been added to this issue. 
====================================================================== 
http://bugs.digium.com/view.php?id=14012 
====================================================================== 
Reported By:                dveiga
Assigned To:                
====================================================================== 
Project:                    Asterisk
Issue ID:                   14012
Category:                   PBX/General
Reproducibility:            always
Severity:                   major
Priority:                   normal
Status:                     new
Asterisk Version:           1.6.1-beta3 
SVN Branch (only for SVN checkouts, not tarball releases):  trunk 
SVN Revision (number only!): 160442 
Disclaimer on File?:        N/A 
Request Review:              
====================================================================== 
Date Submitted:             2008-12-02 21:29 CST
Last Modified:              2008-12-05 12:03 CST
====================================================================== 
Summary:                    Channel "hangs"
Description: 
Function collect_digits() in main/pbx.c calls ast_waitfordigit() passing
waittime*1000 as a paramenter, but waittime is already in milliseconds!
Thus, ast_waitfordigit() takes a REAL LONG TIME to return, making the user
think the channel is "hanged".

====================================================================== 

---------------------------------------------------------------------- 
 (0095880) bkruse (manager) - 2008-12-05 12:03
 http://bugs.digium.com/view.php?id=14012#c95880 
---------------------------------------------------------------------- 
This is in fact true. waittime is either set to c->pbx->dtimeoutms or
c->pbx->rtimeoutms.

The default options for these are 10000 and 5000 respectively.

Attaching a patch, just for giggles.

-bk 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2008-12-05 12:03 bkruse         Note Added: 0095880                          
======================================================================




More information about the asterisk-bugs mailing list