[Home]

Summary:ASTERISK-03308: incorrect loading of dialplan from database
Reporter:ys_spac (ys_spac)Labels:
Date Opened:2005-01-19 10:02:25.000-0600Date Closed:2008-01-15 15:22:35.000-0600
Priority:MinorRegression?No
Status:Closed/CompleteComponents:Core/Configuration
Versions:Frequency of
Occurrence
Related
Issues:
Environment:Attachments:
Description:the mysql addon is not loading correctly the dialplan from mysql database. The problem is in realtime_multi_mysql function      in res_config_mysql.c file. When the while loop is iterating through rows, the prev, var and title variables mut be set to NULL before each new iteration, otherwise the list of variables is incorrect.
Comments:By: Mark Spencer (markster) 2005-01-19 11:02:52.000-0600

This bug is not a block bug as per the bug guidelines.  Please read the bug guidelines (the link highlighted in yellow when you went to place your bug) before placing any further bug reports.

In the mean time, I recommend using res_config_odbc with the mysql backend to work around your problem.

By: Mark Spencer (markster) 2005-01-19 22:51:53.000-0600

Should be fixed in CVS head.  Please feel free to reopen if you continue to have trouble.  Thanks!

By: Digium Subversion (svnbot) 2008-01-15 15:22:35.000-0600

Repository: asterisk
Revision: 4851

U   trunk/include/asterisk/utils.h
U   trunk/res/res_config_odbc.c

------------------------------------------------------------------------
r4851 | markster | 2008-01-15 15:22:35 -0600 (Tue, 15 Jan 2008) | 2 lines

Fix ODBC to clear title each time (bug ASTERISK-3308)

------------------------------------------------------------------------

http://svn.digium.com/view/asterisk?view=rev&revision=4851