Pessoal tenho um asterisk 1.4 em um freebsd, e estou adicionando o modulo voicemail para o mysql. Porém não esta dando muito certo, segue as configurações que fiz:<br><br>res_mysql.conf<br><br>[general]<br>dbhost = 127.0.0.1<br>
dbname = asterisk<br>dbuser = asterisk<br>dbpass = passwd<br>dbport = 3306<br>;dbsock = /tmp/mysql.sock<br><br>voicemail.conf<br>[general]<br>dbuser=asterisk<br>dbpass=passwd<br>dbhost=localhost<br>dbname=asterisk<br><br>
<br>extconfig.conf<br>sipusers => mysql,asterisk,sip_buddies<br>sippeers => mysql,asterisk,sip_buddies<br>voicemail => mysql,asterisk,voicemessage<br>extensions => mysql,asterisk<br>queues => mysql,asterisk<br>
queue_members => mysql,asterisk<br><br>extensions.conf<br>[incoming]<br>switch => Realtime/@extensions<br><br>exten => 100,1,Voicemail(100@default) ;<br>exten => 200,1,VoicemailMain(1000@default);<br><br><br>No mysql crei a tabela:<br>
<br>CREATE TABLE voicemessages (
<br><span style="font-family: monospace;">id bigint generated always as identity NOT NULL,
</span><br><span style="font-family: monospace;">dbdate timestamp not null default current timestamp,
</span><br><span style="font-family: monospace;">dir varchar(80) default '',
</span><br><span style="font-family: monospace;">msgnum bigint NOT NULL default 0,
</span><br><span style="font-family: monospace;">context varchar(80) default '',
</span><br><span style="font-family: monospace;">macrocontext varchar(80) default '',
</span><br><span style="font-family: monospace;">callerid varchar(40) default '',
</span><br><span style="font-family: monospace;">origtime varchar(40) default '',
</span><br><span style="font-family: monospace;">duration varchar(20) default '',
</span><br><span style="font-family: monospace;">mailboxuser varchar(80) default '',
</span><br><span style="font-family: monospace;">mailboxcontext varchar(80) default '',
</span><br><span style="font-family: monospace;">recording blob,
</span><br><span style="font-family: monospace;">PRIMARY KEY (id)
</span><br>);
<br><br><br>E nada é incluido no banco de dados. Alguém pode me ajudar ? <br><br><br clear="all"><br>-- <br>Wendell Silva Bandeira<br>Analista de TI <br><br>