[asterisk-bugs] [Asterisk 0017144]: [patch] Endpoints are not loaded when using Realtime

Asterisk Bug Tracker noreply at bugs.digium.com
Mon May 24 13:30:45 CDT 2010


A NOTE has been added to this issue. 
====================================================================== 
https://issues.asterisk.org/view.php?id=17144 
====================================================================== 
Reported By:                nahuelgreco
Assigned To:                tilghman
====================================================================== 
Project:                    Asterisk
Issue ID:                   17144
Category:                   Channels/chan_mgcp
Reproducibility:            always
Severity:                   minor
Priority:                   normal
Status:                     ready for testing
Target Version:             1.6.2.9
Asterisk Version:           SVN 
JIRA:                       SWP-1273 
Regression:                 No 
Reviewboard Link:            
SVN Branch (only for SVN checkouts, not tarball releases): N/A 
SVN Revision (number only!): 256373 
Request Review:              
====================================================================== 
Date Submitted:             2010-04-06 15:44 CDT
Last Modified:              2010-05-24 13:30 CDT
====================================================================== 
Summary:                    [patch] Endpoints are not loaded when using Realtime
Description: 
When using Realtime, endpoints are loaded only if they are defined with a
trailing comma. So, if in the "lines" field of the "mgcpgw" table you have
"aaln/1,aaln/2", only "aaln/1" is loaded, because the code loads the
endpoint only when it encounters a comma, not the end of the string.

The attached patch trivially fixes the issue. 

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

---------------------------------------------------------------------- 
 (0122318) tilghman (administrator) - 2010-05-24 13:30
 https://issues.asterisk.org/view.php?id=17144#c122318 
---------------------------------------------------------------------- 
nahuelgreco:  your feedback on this new patch would be greatly appreciated. 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2010-05-24 13:30 tilghman       Note Added: 0122318                          
======================================================================




More information about the asterisk-bugs mailing list