<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&gt; module load chan_zap.so <br>[Sep 30 11:54:49] WARNING[5135]: pbx.c:2981 ast_register_application: Already have an application &#39;ZapSendKeypadFacility&#39;<br>&nbsp; == Parsing &#39;/etc/asterisk/zapata.conf&#39;: Found<br>
[Sep 30 11:54:49] ERROR[5135]: chan_zap.c:12044 process_zap: Unknown signalling method &#39;mfcr2&#39;<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&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <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 =&gt; 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 &quot;T4XXP (PCI) Card 0 Span 1&quot; (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 &quot;T4XXP (PCI) Card 0 Span 2&quot; 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 &quot;T4XXP (PCI) Card 0 Span 3&quot; 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 &quot;T4XXP (PCI) Card 0 Span 4&quot; 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&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; = us<br>#defaultzone&nbsp;&nbsp;&nbsp; = 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 &#39;mfcr2&#39;?<br><br>Valeu! João Carlos.<br></div>