[AsteriskBrasil] RES: Static Real Time (SIP.CONF)

2006-08-30 Por tôpico Hugo
Mas acho que o erro esta em como componho a tabela. Voce poderia me informar
os campos necessarios? Valeu

2006/8/30, Hugo :
>
> Junior, esqci de colocar, mas adaptei sima  tabbela para Postgres (somado
> com os campos de algumas entradas do sip.conf). A tabela é criada com
> sucesso.
> Em 30/08/06, j u n i o u  escreveu:
> >
> >   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
> >
> > ___
> > LIsta de discussões AsteriskBrasil.org
> > AsteriskBrasil em listas.asteriskbrasil.org
> > http://listas.asteriskbrasil.org/mailman/listinfo/asteriskbrasil
> >
> > ___
> > Acesse o  wiki AsteriskBrasil.org:
> > http://www.asteriskbrasil.org
> >
> >
>
-- Próxima Parte --
Um anexo em HTML foi limpo...
URL: 
http://listas.asteriskbrasil.org/pipermail/asteriskbrasil/attachments/20060830/72075157/attachment-0001.html


[AsteriskBrasil] RES: Static Real Time (SIP.CONF)

2006-08-30 Por tôpico Hugo
Junior, esqci de colocar, mas adaptei sima  tabbela para Postgres (somado
com os campos de algumas entradas do sip.conf). A tabela é criada com
sucesso.
Em 30/08/06, j u n i o u  escreveu:
>
>  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
>
> ___
> LIsta de discussões AsteriskBrasil.org
> AsteriskBrasil em listas.asteriskbrasil.org
> http://listas.asteriskbrasil.org/mailman/listinfo/asteriskbrasil
>
> ___
> Acesse o  wiki AsteriskBrasil.org:
> http://www.asteriskbrasil.org
>
>
-- Próxima Parte --
Um anexo em HTML foi limpo...
URL: 
http://listas.asteriskbrasil.org/pipermail/asteriskbrasil/attachments/20060830/6a223486/attachment-0001.html


[AsteriskBrasil] RES: Static Real Time (SIP.CONF)

2006-08-30 Por tôpico j u n i o u
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