[asterisk-bugs] [Asterisk 0012160]: [patch] channel alarm set when a channel is opened

noreply at bugs.digium.com noreply at bugs.digium.com
Mon Mar 31 14:12:57 CDT 2008


The following issue has been UPDATED. 
====================================================================== 
http://bugs.digium.com/view.php?id=12160 
====================================================================== 
Reported By:                tzafrir
Assigned To:                
====================================================================== 
Project:                    Asterisk
Issue ID:                   12160
Category:                   Channels/chan_zap
Reproducibility:            always
Severity:                   minor
Priority:                   normal
Status:                     new
Asterisk Version:           SVN 
SVN Branch (only for SVN checkouts, not tarball releases):  trunk 
SVN Revision (number only!): 106393 
Disclaimer on File?:        N/A 
Request Review:              
====================================================================== 
Date Submitted:             03-06-2008 10:11 CST
Last Modified:              03-31-2008 14:12 CDT
====================================================================== 
Summary:                    [patch] channel alarm set when a channel is opened
Description: 
If a channel alarm is already set when a channel is opened by Asterisk,
whose responsibility is it to check for the alarms?

1. The channe l driver should detect that and re-send alarms on zt_open

2. Zaptel should  send an alarm event at channel open time. The
applicaiton opening the channel should then be able to read those events
and will have the proper information.

3. The application should read channel alarms at channel initialization
time. No need for Zaptel to send extra events.

As senseless as (1) is, it has been used in practice by the xpp d FXO
module driver. I figure you all agree with me it is not the way to go.


The behaviour with regards to span alarm seems in Asterisk seems to be
(3).

Attached are patches implementing both (2) and (3)
====================================================================== 

---------------------------------------------------------------------- 
 tzafrir - 03-31-08 14:12  
---------------------------------------------------------------------- 
Does this go to chan_zap or to zaptel?

I need an answer to that before zaptel 1.4.10 is released. 

Issue History 
Date Modified   Username       Field                    Change               
====================================================================== 
03-31-08 14:12  tzafrir        Asterisk Version          => SVN             
03-31-08 14:12  tzafrir        SVN Branch (only for SVN checkou 1.4  =>  trunk  
  
03-31-08 14:12  tzafrir        SVN Revision (number only!)3949 => 106393      
03-31-08 14:12  tzafrir        Note Added: 0084804                          
03-31-08 14:12  tzafrir        Category                 General =>
Channels/chan_zap
======================================================================




More information about the asterisk-bugs mailing list