<div dir="ltr">Olá Amigos!<br><br>Fiz o download do Asterisk + libopenr2, conforme <a href="http://libopenr2.org/">http://libopenr2.org/</a>:<br><br>svn checkout <a href="http://svn.digium.com/svn/asterisk/team/moy/mfcr2-1.4"><span>http://svn.digium.com/svn/asterisk/team/moy/mfcr2-1.4</span></a><br>
<br>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:<br>
<br>*CLI> module load chan_zap.so <br>[Sep 30 11:54:49] WARNING[5135]: pbx.c:2981 ast_register_application: Already have an application 'ZapSendKeypadFacility'<br> == Parsing '/etc/asterisk/zapata.conf': Found<br>
[Sep 30 11:54:49] ERROR[5135]: chan_zap.c:12044 process_zap: Unknown signalling method 'mfcr2'<br>[Sep 30 11:54:49] ERROR[5135]: chan_zap.c:11610 build_channels: Signalling must be specified before any channels are.<br>
<br><br>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:<br><br>root@voip:/etc/asterisk# cat zapata.conf<br>[channels]<br>usecallerid=yes<br>
callwaiting=yes<br>usecallingpres=yes<br>callwaitingcallerid=yes<br>threewaycalling=yes<br>transfer=yes<br>canpark=yes<br>cancallforward=yes<br>callreturn=yes<br>echocancel=yes<br>echotrainning=yes<br>echocancelwhenbridged=yes<br>
<br>signalling=mfcr2<br>mfcr2_variant=br<br>mfcr2_get_ani_first=no<br>mfcr2_max_ani=20<br>mfcr2_max_dnis=4 <br>mfcr2_category=national_subscriber<br>mfcr2_logdir=span1<br>mfcr2_logging=all<br>
<br>group=1<br>callgroup=1<br>pickupgroup=1<br>callerid=asreceived<br>context=from-pstn<br>channel => 1-15,17-31<br><br>root@voip:/etc/asterisk# cat /etc/zaptel.conf<br># Autogenerated by /usr/sbin/genzaptelconf -- do not hand edit<br>
# Zaptel Configuration File<br>#<br># This file is parsed by the Zaptel Configurator, ztcfg<br>#<br><br># It must be in the module loading order<br><br><br>## Span 1: TE4/0/1 "T4XXP (PCI) Card 0 Span 1" (MASTER) HDB3/CCS/CRC4 RECOVERINGClockSource <br>
#span=1,1,0,ccs,hdb3,crc4<br>## termtype: te<br>#bchan=1-15,17-31<br>#dchan=16<br>#<br>## Span 2: TE4/0/2 "T4XXP (PCI) Card 0 Span 2" HDB3/CCS/CRC4 RED<br>#span=2,2,0,ccs,hdb3,crc4<br>## termtype: te<br>#bchan=32-46,48-62<br>
#dchan=47<br>#<br>## Span 3: TE4/0/3 "T4XXP (PCI) Card 0 Span 3" HDB3/CCS/CRC4 RED<br>#span=3,3,0,ccs,hdb3,crc4<br>## termtype: te<br>#bchan=63-77,79-93<br>#dchan=78<br>#<br>## Span 4: TE4/0/4 "T4XXP (PCI) Card 0 Span 4" HDB3/CCS/CRC4 RED<br>
#span=4,4,0,ccs,hdb3,crc4<br>## termtype: te<br>#bchan=94-108,110-124<br>#dchan=109<br>#<br>## Global data<br>#<br>#loadzone = us<br>#defaultzone = us<br><br>span=1,1,0,cas,hdb3<br>cas=1-15:1101<br>cas=17-31:1101<br>
dchan=16<br><br><br>loadzone=br<br>defaultzone=br<br><br><br>O que pode estar acontecendo para não carregar o módulo zaptel, com esse erro, Unknown signalling method 'mfcr2'?<br><br>Valeu! João Carlos.<br></div>