[asterisk-users] Re: Realtime Voicemail Table Column Name Question

JR Richardson jmr.richardson at gmail.com
Mon Jan 8 20:43:38 MST 2007


> 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


More information about the asterisk-users mailing list