[asterisk-bugs] [Asterisk 0017514]: [patch] udptl parameters differ with and without udptl.conf

Asterisk Bug Tracker noreply at bugs.digium.com
Thu Jun 17 13:21:39 CDT 2010


A NOTE has been added to this issue. 
====================================================================== 
https://issues.asterisk.org/view.php?id=17514 
====================================================================== 
Reported By:                wdoekes
Assigned To:                
====================================================================== 
Project:                    Asterisk
Issue ID:                   17514
Category:                   Core/General
Reproducibility:            always
Severity:                   trivial
Priority:                   normal
Status:                     new
Asterisk Version:           SVN 
JIRA:                        
Regression:                 No 
Reviewboard Link:            
SVN Branch (only for SVN checkouts, not tarball releases):  trunk 
SVN Revision (number only!): 270834 
Request Review:              
====================================================================== 
Date Submitted:             2010-06-16 11:09 CDT
Last Modified:              2010-06-17 13:21 CDT
====================================================================== 
Summary:                    [patch] udptl parameters differ with and without
udptl.conf
Description: 
Hi,

if you don't have an udptl.conf, you get the range 4500-4599. If you do
have one (but without anything in it), you get 4500-4999.

This is inconsistent and confusing.

The supplied patch fixes:
(1) That you get 4500-4999 even if you do not have an udptl.conf.
(2) Re-orders the use_even_ports check so you can't supply the range
1235-1236 and get 1236-1235, which will probably lead to funny results.

I've patched SVN-trunk, but 1.6.2.8 is also "affected".

Regards,
Walter Doekes
OSSO B.V.
====================================================================== 

---------------------------------------------------------------------- 
 (0123551) lmadsen (administrator) - 2010-06-17 13:21
 https://issues.asterisk.org/view.php?id=17514#c123551 
---------------------------------------------------------------------- 
I wonder if this is technically a change in behaviour (in regards to the
4500-4599 being changed to 4500-4999).

I wonder if it would make more sense to make it so having a blank
udptl.conf file actually gives you 4500-4599 as well. If someone has made
this work without a udptl.conf file, then we may break something for them,
but the chances of someone having a udptl.conf which is blank is much less
likely. If the udptl.conf file exists, it will more likely define a range
than not.

Thoughts? 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2010-06-17 13:21 lmadsen        Note Added: 0123551                          
======================================================================




More information about the asterisk-bugs mailing list