[asterisk-bugs] [Asterisk 0009503]: [patch] separate sections in zapata.conf

noreply at bugs.digium.com noreply at bugs.digium.com
Sun Mar 9 21:39:37 CDT 2008


A NOTE has been added to this issue. 
====================================================================== 
http://bugs.digium.com/view.php?id=9503 
====================================================================== 
Reported By:                tzafrir
Assigned To:                kpfleming
====================================================================== 
Project:                    Asterisk
Issue ID:                   9503
Category:                   Channels/chan_zap
Reproducibility:            always
Severity:                   feature
Priority:                   normal
Status:                     assigned
Asterisk Version:           1.6.0-beta4 
SVN Branch (only for SVN checkouts, not tarball releases):  trunk 
SVN Revision (number only!): 106240 
Disclaimer on File?:        Yes 
Request Review:              
====================================================================== 
Date Submitted:             04-08-2007 14:29 CDT
Last Modified:              03-09-2008 21:39 CDT
====================================================================== 
Summary:                    [patch] separate sections in zapata.conf
Description: 
As chan_zap already supports parsing separate sections from users.conf,
there's no reason why it should parse sections in zapata.conf as well.

Possible issues:

* The name of the section is meaningless. This is quite unexpected.

* Which should be parsed first: users.conf's sections or zapata.conf's
sections?

======================================================================
Relationships       ID      Summary
----------------------------------------------------------------------
related to          0007290 [patch] asterisk should not fail on cha...
====================================================================== 

---------------------------------------------------------------------- 
 tzafrir - 03-09-08 21:39  
---------------------------------------------------------------------- 
conf_sample - updates the sample configuration file.

skipchannel_options passes the requested flag:

The last argument of process_zap() is called 'skipchannels'. It is
intended when calling it to process sections from users.conf , and has
two effect:

1. Not process 'channel =>' and 'crv =>' keywords (only build channel at
   the end of the section).
2. Skip warnings for unknown keywords, as with users.conf this is
   expected.

Processing of sections in zapata.conf requires only (1). Using (2) as
well would hide configuration file typos.

This patch makes that parameter a bit-field with two separate options .
Note that now the default call is to this parameter with a value of 0
rather than 1. Thus it is possible to use (1) without (2). 

Issue History 
Date Modified   Username       Field                    Change               
====================================================================== 
03-09-08 21:39  tzafrir        Note Added: 0083653                          
======================================================================




More information about the asterisk-bugs mailing list