Tá usando a sintaxe correta p/ postgre? Esse type=MyISQM e para tabelas do MySQL...!!!!?
_____ De: asteriskbrasil-bounces em listas.asteriskbrasil.org [mailto:asteriskbrasil-bounces em listas.asteriskbrasil.org] Em nome de Hugo Enviada em: quarta-feira, 30 de agosto de 2006 11:18 Para: asteriskbrasil Assunto: [AsteriskBrasil] Static Real Time (SIP.CONF) Consigo utilizar real RealTime com sucesso. Porem estou precisando utilizar o Real Time Estatico (para SIP.CONF) e estou apanhando um pouco. Alguem pode me dizer os campos necessarios em tabelas para carregar as configuracoes do SIP.CONF no Postgres (Static Real time). No "voip-info.org/wiki/view/Asterisk+RealTime+Static" achei a seguinte conf de BD: CREATE TABLE `ast_config` ( `id` int(11) NOT NULL auto_increment, `cat_metric` int(11) NOT NULL default '0', `var_metric` int(11) NOT NULL default '0', `commented` int(11) NOT NULL default '0', `filename` varchar(128) NOT NULL default '', `category` varchar(128) NOT NULL default 'default', `var_name` varchar(128) NOT NULL default '', `var_val` varchar(128) NOT NULL default '', PRIMARY KEY (`id`), KEY `filename_comment` (`filename`,`commented`) ) TYPE=MyISAM; utilizei os campos acima em conjunto com campos que preciso no SIP.CONF. toda vez que starto (ou recarrego) o Asterisk, tenho a mensagem: chan_sip.c:12780 reload_config: Section '' lacks type e, nada eh carregado em peers do SIP. OBS1) Com o SIP.CONF tudo eh normal. OBS2)Meu extconfig.conf: [settings] sip.conf => odbc,asterisk_dsn,tabelasip OBS3) Conexao com o BD(via unixodbc) OK VOIP*CLI> odbc show Name: asterisk_rt DSN: asterisk_dsn Connected: yes Qualquer ajuda ou comentario eh muito bem vindo -------------- Próxima Parte ---------- Um anexo em HTML foi limpo... URL: http://listas.asteriskbrasil.org/pipermail/asteriskbrasil/attachments/20060830/aca1e08d/attachment-0001.html