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

Asterisk Bug Tracker noreply at bugs.digium.com
Thu Jun 17 03:19:05 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 03:19 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.
====================================================================== 

---------------------------------------------------------------------- 
 (0123523) wdoekes (reporter) - 2010-06-17 03:19
 https://issues.asterisk.org/view.php?id=17514#c123523 
---------------------------------------------------------------------- 
Bah. 'Twas late. 1235-1236 becomes 1236-1236 which is perfectly valid
according to other parts of the source. Except that the "udptlstart >=
udptlend" check thinks it isn't.

So, the second part of the patch is still valid. But instead, you may
probably want to change "udptlstart >= udptlend" to "udptlstart > udptlend"
while leaving it where it is. 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2010-06-17 03:19 wdoekes        Note Added: 0123523                          
======================================================================




More information about the asterisk-bugs mailing list