Fórum de Suporte Digivoice
Você não está logado.
Asterisk 1.2.12.1, Kernel 2.6.17.11, VoicerLib 4.0.7.4-2 e DvgChannel 0.7.3.
No console do Asterisk, quando executo o comando 'reload' o canal Dgv deixa de funcionar.
Ao executar o 'reload':
-- Reloading module 'chan_dgv.so' (Digivoice Boards Support)
Dec 1 16:35:06 NOTICE[2473]: chan_dgv.c:4402 reload: Starting reload procedure for Dgv...
Reloading SIP
Dec 1 16:35:06 WARNING[2473]: cli.c:1027 ast_cli_register: Command 'dgvshowchannels' already registered (or something close enough)
Dec 1 16:35:06 WARNING[2473]: cli.c:1027 ast_cli_register: Command 'dgvshowchannel' already registered (or something close enough)
Dec 1 16:35:06 WARNING[2473]: cli.c:1027 ast_cli_register: Command 'dgvreset' already registered (or something close enough)
Dec 1 16:35:06 WARNING[2473]: cli.c:1027 ast_cli_register: Command 'dgvshowversion' already registered (or something close enough)
Dec 1 16:35:06 WARNING[2473]: cli.c:1027 ast_cli_register: Command 'dgvshowalarms' already registered (or something close enough)
Dec 1 16:35:06 WARNING[2473]: cli.c:1027 ast_cli_register: Command 'dgvdebugaudio' already registered (or something close enough)
Dec 1 16:35:06 WARNING[2473]: cli.c:1027 ast_cli_register: Command 'dgvverbose' already registered (or something close enough)
Dec 1 16:35:06 NOTICE[2473]: chan_dgv.c:3887 setup_dgv: Dgv Channel: SLINEAR support disabled
Dec 1 16:35:06 NOTICE[2473]: chan_dgv.c:3891 setup_dgv: Dgv Channel: U_LAW support enabled
Dec 1 16:35:06 NOTICE[2473]: chan_dgv.c:3895 setup_dgv: Dgv Channel: A_LAW support enabled
Dec 1 16:35:06 NOTICE[2473]: chan_dgv.c:3899 setup_dgv: Dgv Channel: GSM support enabled
Dec 1 16:35:06 NOTICE[2473]: chan_dgv.c:3903 setup_dgv: Dgv Channel: Force Single Span - no
Dec 1 16:35:06 NOTICE[2473]: chan_dgv.c:3969 setup_dgv: Configurations for Dgv Channel:
Dec 1 16:35:06 NOTICE[2473]: chan_dgv.c:3970 setup_dgv: default detectiontype = 1
Dec 1 16:35:06 NOTICE[2473]: chan_dgv.c:3982 setup_dgv: default_call_progress = cp_default.cfg
Dec 1 16:35:06 NOTICE[2473]: chan_dgv.c:3992 setup_dgv: audio capabilities = e
Dec 1 16:35:06 NOTICE[2473]: chan_dgv.c:4079 setup_dgv: Loading ports........................
Dec 1 16:35:06 NOTICE[2473]: chan_dgv.c:4101 setup_dgv: Waiting synchronization....................
Dec 1 16:35:07 ERROR[2473]: chan_dgv.c:1052 set_port_config: Failed to create CallProgress thread - error code = 1283
Dec 1 16:35:07 ERROR[2473]: chan_dgv.c:1079 set_port_config: dg_IdleStart for port 1 - cod 503
Dec 1 16:35:07 ERROR[2473]: chan_dgv.c:1052 set_port_config: Failed to create CallProgress thread - error code = 1282
Dec 1 16:35:07 ERROR[2473]: chan_dgv.c:1079 set_port_config: dg_IdleStart for port 2 - cod 503
Dec 1 16:35:07 ERROR[2473]: chan_dgv.c:1052 set_port_config: Failed to create CallProgress thread - error code = 1282
Dec 1 16:35:07 ERROR[2473]: chan_dgv.c:1079 set_port_config: dg_IdleStart for port 3 - cod 503
Dec 1 16:35:07 ERROR[2473]: chan_dgv.c:1052 set_port_config: Failed to create CallProgress thread - error code = 1282
Dec 1 16:35:07 ERROR[2473]: chan_dgv.c:1079 set_port_config: dg_IdleStart for port 4 - cod 503
Quando tento efetuar uma ligacao apohs o reload:
Dec 1 16:36:25 WARNING[2818]: chan_dgv.c:3113 dgv_call: Failed to *enable* CallProgress thread - error code = 1281
== Everyone is busy/congested at this time (0:0/0/0)
As ligacoes entrantes continuam funcionando.
Offline
Resolvi esse meu problema com a seguinte alteracao:
--- chan_dgv.c.original 2006-11-21 11:55:39.000000000 -0200
+++ chan_dgv.c 2006-12-01 17:10:18.000000000 -0200
@@ -4401,11 +4401,12 @@
channel_up = 0;
ast_log(LOG_NOTICE, "Starting reload procedure for Dgv...\n");
usleep(300*1000);
- setup_dgv(2);
+ setup_dgv(1);
return 0;
}
+
/* this function isn't used but freepbx voicemail drop the call
if ast_read isn't created */
static struct ast_frame *dgv_read(struct ast_channel *ast)
Gostaria de saber a influencia dessa modificacao em relacao a todo o comportamento que o chan_dgv deve ter.
Offline
Qual placa vc esta utilizando? 1 span?
Offline
FAZER DOWNLOAD DA DIGIVOICE VOICERLIB. DOWNLOAD DEVERA SER FEITO NO DIRETORIO /usr/src/
# cd /usr/src/
# wget http://www.digivoice.com.br/suporte/files/vlib/voicerlib-4.0.9.8.tar.gz
DESCOMPACTAR DIGIVOICE VOICERLIB
# tar -zxvf /usr/src/voicerlib-VERSAO.tar.gz
ENTRAR NO DIRETORIO /usr/src/voicerlib-VERSAO/src_linux/
# cd /usr/src/voicerlib-VERSAO/src_linux/
COMPILAR FONTES DIGIVOICE VOICERLIB
# make && make install
ENTRAR NO DIRETORIO /usr/src/voicerlib-VERSAO/driver/linux/
# cd /usr/src/voicerlib-VERSAO/driver/linux/
COMPILAR DRIVER DIGIVOICE VOICERLIB
# make && make install && make config
----------DIGIVOICE CHANNEL----------
FAZER DOWNLOAD DO DIGIVOICE CHANNEL. DOWNLOAD DEVERA SER FEITO NO DIRETORIO /usr/src/
# cd /usr/src/
# wget http://www.digivoice.com.br/suporte/files/channel/dgvchannel-0.9.9.tar.gz
DESCOMPACTAR DIGIVOICE CHANNEL
# tar -zxvf /usr/src/dgvchannel-VERSAO.tar.gz
ENTRAR NO DIRETORIO /usr/src/dgvchannel-VERSAO/
# cd /usr/src/dgvchannel-VERSAO/
COMPILAR DIGIVOICE CHANNEL
# make && make install
COPIAR digivoice.conf
# make install_config
Offline
Nussa....essa voce tirou do fundo do bau...2006. Uma solucao naquela epoca seria melhor.
Offline
Boa noite!
Estou tendo o mesmo problema quando reinicio omeu servidor (slackware 12 + asterisk1.4.20.1 + dgvchannel-1.0.0 + voicerlib-4.0.9.9) e tento fazer chamadas externas.
Ao que parece está faltando carregar algum módulo/biblioteca.
Alguém sabe se tem alguma configuração/procedimento especial para instalação no slackware?
Segui todos os passos do manual (os mesmos que o Felipe descreveu na resposta dele)
Valeu!
Offline
Se a linha estiver assim: "wait_dialtone=1", altere para "wait_dialtone=0".
Offline