[asterisk-bugs] [Asterisk 0013315]: Dial h option not operating as defined when disconnect redefined in features.conf

Asterisk Bug Tracker noreply at bugs.digium.com
Wed Sep 3 12:54:32 CDT 2008


A NOTE has been added to this issue. 
====================================================================== 
http://bugs.digium.com/view.php?id=13315 
====================================================================== 
Reported By:                p_lindheimer
Assigned To:                
====================================================================== 
Project:                    Asterisk
Issue ID:                   13315
Category:                   Applications/app_dial
Reproducibility:            always
Severity:                   minor
Priority:                   normal
Status:                     new
Asterisk Version:           1.4.21.1 
SVN Branch (only for SVN checkouts, not tarball releases): N/A 
SVN Revision (number only!):  
Disclaimer on File?:        N/A 
Request Review:              
====================================================================== 
Date Submitted:             2008-08-15 15:00 CDT
Last Modified:              2008-09-03 12:54 CDT
====================================================================== 
Summary:                    Dial h option not operating as defined when
disconnect redefined in features.conf
Description: 
when making a call with the 'h' and 'H' set and disconnect redefined in
features.conf, the called party can not hang up by pressing '*' they must
hangup by pressing '**'

The above is a real bug. The bigger issue which I guess borders on a
feature request is the inconsistency. Here is the scenario. You define the
hangup code a '*' and you include 'H' in your dial options so the calling
party can initiate a hangup. But you redefine the disconnect code to '**'
because '*' is not a very useful disconnect code given the issue it can
cause when calling outside IVRs.

While the phone is ringing, pressing a single '*' disconnects the call, as
documented in the Dial() application. Once answered, '**' disconnects it.
In my humble opinion, the Dial() application should be consistent and
should use what is defined in features.conf - it is what users of the
system would expect.


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

---------------------------------------------------------------------- 
 (0092029) putnopvut (administrator) - 2008-09-03 12:54
 http://bugs.digium.com/view.php?id=13315#c92029 
---------------------------------------------------------------------- 
I agree with you. The single '*' as the hangup seems to be a relic of the
days when there were no custom disconnect codes. In fact, there's a comment
on the line in app_dial where the '*' is read that says 

/* hmm it is not guaranteed to be '*' anymore. */

It seems as though someone acknowledged the fact that something wrong was
going on here but that the proper fix was not put in place.

Furthermore, I am going to mark this issue related to number 11583 since
they're more or less about the same issue. 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2008-09-03 12:54 putnopvut      Note Added: 0092029                          
======================================================================




More information about the asterisk-bugs mailing list