[Asterisk-Users] realtime voicemail

Steven Ringwald asric at asric.com
Mon Jan 16 13:46:54 MST 2006


On Sun, 2006-01-15 at 23:02 -0800, 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;
> 
> 
> am i missing something?

That looks like the minimal config... 

Something I found out was that I need to set the context = '' for it to
work. I was using "default", but for some reason I could never get that
to work. Perhaps it is a bug....?

Steve





More information about the asterisk-users mailing list