[AsteriskBrasil] Realtime + SIP + Asterisk

Gian Nicodemus giannicodemus em gmail.com
Quarta Abril 28 14:54:44 BRT 2010


Boa tarde lista...


Eu ja fiz a pergunta referente a SIP com Realtime...
Porem olhando meus logs apareceram agora esses erros:

[Apr 28 11:49:25] WARNING[2556]: res_config_mysql.c:325 realtime_mysql:
MySQL RealTime: Invalid database specified: asterisk (check res_mysql.conf)'
(type 'core show help [Apr 28' for other possible commands)
'[Apr 28 11:49:25] WARNING[2556]: res_config_mysql.c:325 realtime_mysql:
MySQL RealTime: Invalid database specified: asterisk (check res_mysql.conf)'
(type 'core show help [Apr 28' for other possible commands)
'[Apr 28 11:49:25] NOTICE[2556]: chan_sip.c:21538 handle_request_register:
Registration from '<sip:4001 em 10.131.0.253
<sip%3A4001 em 10.131.0.253>;transport=UDP>'
failed for '10.131.0.254' - No matching peer found' (type 'core show help
[Apr 28' for other possible commands)

PorΓ©m quando eu consulto o asterisk ele fala que estΓ‘ conectado ao banco:

asterisk*CLI> realtime mysql status
general connected to asterisk em 127.0.0.1, port 3306 with username root for 11
seconds.

E o meu banco parece estar ok...:

CREATE TABLE `sip_buddies` (
               `id` int(11) NOT NULL auto_increment,
               `name` varchar(80) NOT NULL,
               `host` varchar(31) NOT NULL,
               `type` varchar(8) NOT NULL,
               `canreinvite` char(3),
               `context` varchar(80) default NULL,
               `secret` varchar(80) default NULL,
               `disallow` varchar(100),
               `allow` varchar(100),
     PRIMARY KEY (`id`),
     UNIQUE KEY `name` (`name`),
        KEY `name_2` (`name`)
) ENGINE=MyISAM ROW_FORMAT=DYNAMIC;
e mesmo assim, ele nao conecta os ramais sip...

o que serΓ‘ que pode estar acontecendo?

-- 
-- 
β–’β–’β–’β–’β–’β–’β–’β–’β–’β–’β–’β–’β–’β–’β–’β–’β–’β–’β–’β–’β–’β–’β–’β–’β–’β–’β–’β–’β–’β–’β–’β–’β–’β–’β–’β–’β–’β–’β–’β–’
β–’β–’β–’β–’ Gian Nicodemus  β–’β–’β–’β–’β–’β–’β–’β–’β–’β–’β–’β–’β–’β–’β–’β–’β–’β–’β–’β–’β–’β–’β–’β–’
β–’β–’β–’β–’β–’β–’β–’β–’β–’β–’β–’β–’β–’β–’β–’ Analista de sistemasβ–’β–’β–’β–’β–’β–’β–’β–’β–’β–’β–’
β–’β–’β–’β–’giannicodemus em gmail.com.br β–’β–’β–’β–’β–’β–’β–’β–’β–’β–’β–’β–’β–’β–’β–’β–’
β–’β–’β–’β–’β–’β–’β–’β–’β–’β–’β–’β–’β–’β–’β–’β–’β–’β–’β–’β–’β–’β–’β–’β–’β–’β–’β–’β–’β–’β–’β–’β–’β–’β–’β–’β–’β–’β–’β–’β–’
-------------- Prσxima Parte ----------
Um anexo em HTML foi limpo...
URL: http://listas.asteriskbrasil.org/pipermail/asteriskbrasil/attachments/20100428/80d03c32/attachment.htm 


Mais detalhes sobre a lista de discussγo AsteriskBrasil