[asterisk-bugs] [Asterisk 0010894]: pulsedial=no setting is runtime changed in chan_zap.c so you can't simply disable pulse dialling

noreply at bugs.digium.com noreply at bugs.digium.com
Fri Nov 2 15:13:41 CDT 2007


The following issue has been RESOLVED. 
====================================================================== 
http://bugs.digium.com/view.php?id=10894 
====================================================================== 
Reported By:                arekm
Assigned To:                qwell
====================================================================== 
Project:                    Asterisk
Issue ID:                   10894
Category:                   Channels/chan_zap
Reproducibility:            always
Severity:                   minor
Priority:                   normal
Status:                     resolved
Asterisk Version:           1.4.11  
SVN Branch (only for SVN checkouts, not tarball releases): N/A  
SVN Revision (number only!):  
Disclaimer on File?:        N/A 
Request Review:              
Resolution:                 no change required
Fixed in Version:           
====================================================================== 
Date Submitted:             10-05-2007 01:34 CDT
Last Modified:              11-02-2007 15:13 CDT
====================================================================== 
Summary:                    pulsedial=no setting is runtime changed in
chan_zap.c so you can't simply disable pulse dialling
Description: 
The problem is that pulsedial=no setting is ignored in zapata.conf. If
pulse dialing is detected on the zap channel then chan_zap automaticly
changes pulsedial to yes runtime.

The pulsedial option should be IMO changed to some tristate value:
yes/no/auto to obey administrator whishes.

Relevant channels/chan_zap.c code:

        ast_log(LOG_DEBUG, "Got event %s(%d) on channel %d (index %d)\n",
event2str(res), res, p->channel, index);

        if (res & (ZT_EVENT_PULSEDIGIT | ZT_EVENT_DTMFUP)) {
                p->pulsedial =  (res & ZT_EVENT_PULSEDIGIT) ? 1 : 0;

                ast_log(LOG_DEBUG, "Detected %sdigit '%c'\n", p->pulsedial
? "pulse ": "", res & 0xff);

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

---------------------------------------------------------------------- 
 qwell - 11-02-07 15:13  
---------------------------------------------------------------------- 
Closing per comment from tzafrir.  Please reopen if you are able to provide
the requested information. 

Issue History 
Date Modified   Username       Field                    Change               
====================================================================== 
11-02-07 15:13  qwell          Status                   new => resolved     
11-02-07 15:13  qwell          Resolution               open => no change
required
11-02-07 15:13  qwell          Assigned To               => qwell           
11-02-07 15:13  qwell          Note Added: 0073009                          
======================================================================




More information about the asterisk-bugs mailing list