[Asterisk-Users] realtime voicemail

bbench at mail.bg bbench at mail.bg
Tue Jan 17 01:43:29 MST 2006


On Monday 16 January 2006 09:02, elam at officegeneral.com wrote:
> i tried to setup realtime voicemail recently with 1.2.1
> but couldn't get it to work. no matter what i do. it still
> looks for config in the voicemail.conf file. (BTW realtime
> sip & extensions works fine)
>
> here's the voicemail line in extconfig.conf:
>
> voicemail => mysql,asterisk,voicemail
>
> here's the mysql schema:
>
> CREATE TABLE voicemail (
>   uniqueid int(11) NOT NULL auto_increment,
>   customer_id bigint NOT NULL default '0',
>   context varchar(50) NOT NULL default '',
>   mailbox bigint NOT NULL default '0',
>   password varchar(10) NOT NULL default '0',
>   fullname varchar(50) NOT NULL default '',
>   email varchar(50) NOT NULL default '',
>   pager varchar(50) NOT NULL default '',
>   stamp timestamp NOT NULL default CURRENT_TIMESTAMP on update
> CURRENT_TIMESTAMP, attach varchar(3) NOT NULL default 'yes',
>   saycid varchar(3) NOT NULL default 'yes',
>   hidefromdir varchar(3) NOT NULL default 'no',
>   PRIMARY KEY  (uniqueid),
>   KEY mailbox_context (mailbox,context)
> ) TYPE=MyISAM;
Put in voicemail.conf searchcontexts=yes
and do not forget to stop and start *.
Reload may not do.
benchev



More information about the asterisk-users mailing list