[AsteriskBrasil] Problemas de R2 com OpenR2

Joca Loco jocalocobr em gmail.com
Quarta Outubro 1 14:07:55 BRT 2008


Olá Amigos!

Fiz o download do Asterisk + libopenr2, conforme http://libopenr2.org/:

svn checkout http://svn.digium.com/svn/asterisk/team/moy/mfcr2-1.4

Já estava com libpri e zaptel instalado, e depois do download, make clean ;
./configure ; make ; make install ; make samples - e instalou tudo
direitinho. Porém, quando vou iniciar o asterisk, não carrega o módulo
chan_zap. Vejam:

*CLI> module load chan_zap.so
[Sep 30 11:54:49] WARNING[5135]: pbx.c:2981 ast_register_application:
Already have an application 'ZapSendKeypadFacility'
  == Parsing '/etc/asterisk/zapata.conf': Found
[Sep 30 11:54:49] ERROR[5135]: chan_zap.c:12044 process_zap: Unknown
signalling method 'mfcr2'
[Sep 30 11:54:49] ERROR[5135]: chan_zap.c:11610 build_channels: Signalling
must be specified before any channels are.


A priori, a configuração do E1 está ok, quando eu uso zttool, não mostra
nenhum alarme, só mostra ok. Vejam os arquivos de configuração:

root em voip:/etc/asterisk# cat zapata.conf
[channels]
usecallerid=yes
callwaiting=yes
usecallingpres=yes
callwaitingcallerid=yes
threewaycalling=yes
transfer=yes
canpark=yes
cancallforward=yes
callreturn=yes
echocancel=yes
echotrainning=yes
echocancelwhenbridged=yes

signalling=mfcr2
mfcr2_variant=br
mfcr2_get_ani_first=no
mfcr2_max_ani=20
mfcr2_max_dnis=4
mfcr2_category=national_subscriber
mfcr2_logdir=span1
mfcr2_logging=all

group=1
callgroup=1
pickupgroup=1
callerid=asreceived
context=from-pstn
channel => 1-15,17-31

root em voip:/etc/asterisk# cat /etc/zaptel.conf
# Autogenerated by /usr/sbin/genzaptelconf -- do not hand edit
# Zaptel Configuration File
#
# This file is parsed by the Zaptel Configurator, ztcfg
#

# It must be in the module loading order


## Span 1: TE4/0/1 "T4XXP (PCI) Card 0 Span 1" (MASTER) HDB3/CCS/CRC4
RECOVERINGClockSource
#span=1,1,0,ccs,hdb3,crc4
## termtype: te
#bchan=1-15,17-31
#dchan=16
#
## Span 2: TE4/0/2 "T4XXP (PCI) Card 0 Span 2" HDB3/CCS/CRC4 RED
#span=2,2,0,ccs,hdb3,crc4
## termtype: te
#bchan=32-46,48-62
#dchan=47
#
## Span 3: TE4/0/3 "T4XXP (PCI) Card 0 Span 3" HDB3/CCS/CRC4 RED
#span=3,3,0,ccs,hdb3,crc4
## termtype: te
#bchan=63-77,79-93
#dchan=78
#
## Span 4: TE4/0/4 "T4XXP (PCI) Card 0 Span 4" HDB3/CCS/CRC4 RED
#span=4,4,0,ccs,hdb3,crc4
## termtype: te
#bchan=94-108,110-124
#dchan=109
#
## Global data
#
#loadzone       = us
#defaultzone    = us

span=1,1,0,cas,hdb3
cas=1-15:1101
cas=17-31:1101
dchan=16


loadzone=br
defaultzone=br


O que pode estar acontecendo para não carregar o módulo zaptel, com esse
erro, Unknown signalling method 'mfcr2'?

Valeu! João Carlos.
-------------- Próxima Parte ----------
Um anexo em HTML foi limpo...
URL: http://listas.asteriskbrasil.org/pipermail/asteriskbrasil/attachments/20081001/8480e6af/attachment.htm 


Mais detalhes sobre a lista de discussão AsteriskBrasil