JR Richardson
2007-Jan-08 09:47 UTC
[asterisk-users] Realtime Voicemail Table Column Name Question
Hi All, In the realtime voicemail table the column 'customer_id' is used, for my purpose, to specify the customers accountcode. The column name 'accountcode' is used in the iax and sip tables. To keep this consistent throughout the tables, is there any reason I should NOT switch the column name 'customer_id' to 'accountcode' in the voicemail table? Does Asterisk read from the 'customer_id' column for anything? Is the name particular and need to remain 'customer_id' for any reason? Thanks. JR -- JR Richardson Engineering for the Masses
JR Richardson
2007-Jan-08 20:43 UTC
[asterisk-users] Re: Realtime Voicemail Table Column Name Question
> In the realtime voicemail table the column 'customer_id' is used, for > my purpose, to specify the customers accountcode. The column name > 'accountcode' is used in the iax and sip tables. To keep this > consistent throughout the tables, is there any reason I should NOT > switch the column name 'customer_id' to 'accountcode' in the voicemail > table? Does Asterisk read from the 'customer_id' column for anything? > Is the name particular and need to remain 'customer_id' for any > reason?Ok, I searched app_voicemail.c, res_config_mysql.c and app_addon_mysql.c. I did not find any reference to "customer_id" so I changed the column name in the database to 'accountcode', so far all is well. JR -- JR Richardson Engineering for the Masses