[Asterisk-Dev] Voicemail not working properly

Kamran Ahmad p_kami at yahoo.com
Wed Feb 9 00:46:28 MST 2005


hello

At first mailbox was not answering (there was complete
silence after 200 Ok and ACK). i dont know what was
the reason. but now it is answering me(asking for
mailbox then password). but there is a problem that is
not authenticating me to check mailbox messages
suppose i have defined 9999 mailbox and 1234 password
(it is saying that invalid mailbox or password). i
want to know what should be the datatype for mailbox
and password. when i try to check my mailbox it is
giving me error (invalid username or password).
can i use varchar insted of int for mailbox and
password. i am using realtime mysql addon.

CREATE TABLE voicemail_table (
 uniqueid int(11) NOT NULL auto_increment,
 customer_id int(11) NOT NULL default '0',
 context varchar(50) NOT NULL default '',
 mailbox varchar(5) NOT NULL default '',
 password varchar(4) NOT NULL default '',
 fullname varchar(50) NOT NULL default '',
 email varchar(50) NOT NULL default '',
 pager varchar(50) NOT NULL default '',
 options varchar(100) NOT NULL default '',
 stamp timestamp(14) NOT NULL,
 PRIMARY KEY  (uniqueid),
 KEY mailbox_context (mailbox,context)
) TYPE=MyISAM;


		
__________________________________ 
Do you Yahoo!? 
Yahoo! Mail - 250MB free storage. Do more. Manage less. 
http://info.mail.yahoo.com/mail_250



More information about the asterisk-dev mailing list