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

Asterisk Bug Tracker noreply at bugs.digium.com
Fri Apr 9 12:25:41 CDT 2010


The following issue has been UPDATED. 
====================================================================== 
https://issues.asterisk.org/view.php?id=17144 
====================================================================== 
Reported By:                nahuelgreco
Assigned To:                
====================================================================== 
Project:                    Asterisk
Issue ID:                   17144
Category:                   Channels/chan_mgcp
Reproducibility:            always
Severity:                   minor
Priority:                   normal
Status:                     ready for testing
Asterisk Version:           SVN 
JIRA:                        
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-04-09 12:25 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-04-09 12:25 lmadsen        Description Updated                          
======================================================================




More information about the asterisk-bugs mailing list