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

Asterisk Bug Tracker noreply at bugs.digium.com
Tue Jun 1 15:54:31 CDT 2010


The following issue has been UPDATED. 
====================================================================== 
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.10
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-06-01 15:54 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. 

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

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2010-06-01 15:54 lmadsen        Target Version           1.6.2.9 => 1.6.2.10 
======================================================================




More information about the asterisk-bugs mailing list