[AsteriskBrasil] erro no asterisk

Josué Conti josueconti em gmail.com
Quinta Setembro 28 10:02:59 BRT 2006


Luiz, bom dia.
Comente todas as linhas do zapata.conf, pois o asterisk, em mfc/r2 não
utiliza este arquivo de configuração.

Abraço e boa sorte

Josué

2006/9/21, Luis Henrique Pimentel <luis.pimentel em ipad.com.br>:
>
>  Estou tentando configurar o asterisk "trixbox" em R2 Unicall e não estou
> conseguindo, estou com o seguinte erro.
>
>
> Sep 21 08:59:09 ERROR[13978] chan_zap.c: Signalling requested on channel 1
> is PRI Signalling but line is in R2 Signalling signalling
> Sep 21 08:59:09 ERROR[13978] chan_zap.c: Unable to register channel '1-15'
> Sep 21 08:59:09 WARNING[13978] loader.c: chan_zap.so: load_module failed,
> returning -1
> Sep 21 08:59:09 DEBUG[13978] channel.c: Unregistering channel type 'Zap'
> Sep 21 08:59:09 WARNING[13978] loader.c: Loading module chan_zap.so
> failed!
>
> estou enviando as configurações do zapata.conf zaptel.conf e unicall.conf
>
> *zapata.conf*
>
> ;
> ; Zapata telephony interface
> ;
> ; Configuration file
>
>
> ; Zapata telephony interface
> ;
> ; Configuration file
>
> [trunkgroups]
>
>
> [channels]
> ; language=pt
> language=br
> ; internationalprefix = 00
> ; nationalprefix = 0
> ; localprefix = 243076
> ; privateprefix = 055243076
> ; hanguponpolarityswitch=yes
> switchtype=euroisdn
> pri_dialplan=national
> signalling=pri_cpe
> ; signalling=fxo_ls
> ; signalling=r2
> ; r2country=br
> usecallerid=yes
> hidecallerid=no
> usecallingpres=yes
> ;resetinterval=never
> callwaiting=yes
> callwaitingcallerid=yes
> threewaycalling=yes
> transfer=yes
> cancallforward=yes
> callreturn=yes
> echocancel=yes
> immediate=no
> callprogress=no
> callerid=asreceiveid
> ; usecallingpres=yes
> ; group=1
> callgroup=1
> pickupgroup=1
> ; context=from-pstn
> context=incoming
> faxdetect=incoming
> rxgain=0.0
> txgain=0.0
>
> ; Porta 1
> context=from-e1-A
> ;switchtype=euroisdn
> ;signalling=pri_cpe ; uma slave
> ;language=pt
> group = 1
> ;channel => 1-15,17-31
> ;protocolclass=mfcr2
> ;protocolvariant=mx,10,10
> ;protocolend=cpe
> ;group = 1
> channel => 1-15
> channel => 17-31
>
> ; Porta 2
> context=from-e1-B
> ;switchtype=euroisdn
> ;signalling=pri_net ; uma master
> ;language=pt
> ;group = 2
> ;channel => 32-46,48-62
> ;protocolclass=mfcr2
> ;protocolvariant=mx,10,10
> ;protocolend=cpe
> ;group = 1
> channel => 32-46
> channel => 48-62
>
> *zaptel.conf*
>
> # Autogenerated by /usr/local/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
>
>
> # Global data
>
> loadzone = br
> defaultzone = br
>
> # A - Primeira porta
> span=1,1,0,ccs,hdb3
> bchan=1-15
> dchan=16
> bchan=17-31
>
> # B - Segunda Porta
> span=2,1,0,ccs,hdb3
> bchan=32-46
> dchan=47
> bchan=48-62
>
> # MFC/R2 does not normally use CRC4
> #span=1,1,0,cas,hdb3
> #cas=1-15:1011
> #dchan=16
> #cas=17-31:1011
> #span=2,0,0,cas,hdb3
> #cas=32-46:1011
> #dchan=47
> #cas=48-62:1011
>
> #;span=1,1,0,cas,hdb3
> #;span=2,0,0,cas,hdb3
> #
> #;cas=1-15:1101
> #;cas=17-31:1101
> #
> #;cas=32-46:1101
> #;cas=48-62:1101
> *unicall.conf*
>
> [channels]
> context=incoming
> usecallerid=yes
> hidecallerid=no
> callwaitingcallerid=yes
> threewaycalling=yes
> transfer=yes
> cancallforward=yes
> callreturn=yes
> echocancel=yes
> echocancelwhenbridged=yes
> echotraining=yes
> rxgain=0.0
> txgain=0.0
> group=1
> callgroup=1
> pickupgroup=1
> immediate=no
> musiconhold=default
>
> protocolclass=mfcr2
> protocolvariant=br,20,4,8
> ; protocolvariant=mx,10,10
> protocolend=co
> ; protocolend=cpe
> group = 1
> channel => 1-15
> channel => 17-31
> group = 2
> channel => 32-46
> channel => 48-62
>
> ----------------------------------------
> Estação VoIP 2006
> 5 e 6 Dezembro
> Curitiba PR
> http://www.estacaovoip.com.br
>
> _______________________________________________
> LIsta de discussões AsteriskBrasil.org
> AsteriskBrasil em listas.asteriskbrasil.org
> http://listas.asteriskbrasil.org/mailman/listinfo/asteriskbrasil
>
> _______________________________________________
> Acesse o  wiki AsteriskBrasil.org:
> http://www.asteriskbrasil.org
>
>
-------------- Próxima Parte ----------
Um anexo em HTML foi limpo...
URL: http://listas.asteriskbrasil.org/pipermail/asteriskbrasil/attachments/20060928/0312efb4/attachment.html


Mais detalhes sobre a lista de discussão AsteriskBrasil