Summary: | ASTERISK-12958: [patch] New option to specify mysql charset | ||
Reporter: | Sergey Tamkovich (sergee) | Labels: | |
Date Opened: | 2008-10-24 02:36:33 | Date Closed: | 2008-12-11 15:16:08.000-0600 |
Priority: | Major | Regression? | No |
Status: | Closed/Complete | Components: | Addons/cdr_mysql |
Versions: | Frequency of Occurrence | ||
Related Issues: | |||
Environment: | Attachments: | ( 0) cdr_mysql_charset-r679.diff ( 1) cdr_mysql_charset-r679-v2.diff | |
Description: | new option for cdr_mysql.conf: ;charset=koi8r if uncommented, cdr_addon_mysql.so will execute "set names 'koi8r'" after each (re)connect to DB. This option allows you to work with non latin characters in DB when DB's character set differs from asterisk's locale. ****** ADDITIONAL INFORMATION ****** Patch is tested with 1.6.0 | ||
Comments: | By: Sergey Tamkovich (sergee) 2008-10-24 12:00:45 patch updated to fit coding guidelines. By: Digium Subversion (svnbot) 2008-12-11 15:16:08.000-0600 Repository: asterisk-addons Revision: 707 U trunk/cdr/cdr_addon_mysql.c U trunk/configs/cdr_mysql.conf.sample ------------------------------------------------------------------------ r707 | tilghman | 2008-12-11 15:16:08 -0600 (Thu, 11 Dec 2008) | 6 lines Allow setting the MySQL character set on each connect. (closes issue ASTERISK-12958) Reported by: sergee Patches: cdr_mysql_charset-r679-v2.diff uploaded by sergee (license 138) ------------------------------------------------------------------------ http://svn.digium.com/view/asterisk-addons?view=rev&revision=707 |