[asterisk-bugs] [Asterisk 0010907]: "port" configuration parameter conflicts with runtime status

noreply at bugs.digium.com noreply at bugs.digium.com
Mon Jan 28 14:42:11 CST 2008


The following issue has been CLOSED 
====================================================================== 
http://bugs.digium.com/view.php?id=10907 
====================================================================== 
Reported By:                dimas
Assigned To:                
====================================================================== 
Project:                    Asterisk
Issue ID:                   10907
Category:                   PBX/pbx_realtime
Reproducibility:            always
Severity:                   feature
Priority:                   normal
Status:                     closed
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-06-2007 14:53 CDT
Last Modified:              01-28-2008 14:42 CST
====================================================================== 
Summary:                    "port" configuration parameter conflicts with
runtime status
Description: 
When IAX/SIP updates realtime database on peer registration etc, it updates
(among others) "ipaddr" and "host" columns. The problem is that "port" is 
also an input parameter for peer configuration.

Why this is a problem:

1. It is just not good that one of important peer configuration parameters
gets overwritten with runtime data. As I understand currently it is not a
problem but what if in the future, "input" port parameter will allow
specifying multiple ports or name instead of value for example? As soon as
channel driver registers the peer and updates realtime, original
configuration value is lost.

2. Realtime behaviour is just inconsistent with what you do with the text
file config. With text files, you can completely omit "port" parameter from
both [general] section and from specific peer sections. This will cause
default port to be used. With realtime, you HAVE TO specify port. Otherwise
default 0/NULL value will be used and nothing will work.

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

---------------------------------------------------------------------- 
 Corydon76 - 01-28-08 14:42  
---------------------------------------------------------------------- 
No response from reporter. 

Issue History 
Date Modified   Username       Field                    Change               
====================================================================== 
01-28-08 14:42  Corydon76      Asterisk Version         1.4.11  => 1.4.11   
01-28-08 14:42  Corydon76      SVN Branch (only for SVN checkouN/A  => N/A      
  
01-28-08 14:42  Corydon76      Note Added: 0081295                          
01-28-08 14:42  Corydon76      Status                   new => closed       
01-28-08 14:42  Corydon76      Resolution               open => no change
required
======================================================================




More information about the asterisk-bugs mailing list