[AsteriskBrasil] Asterisk com MFC/R2 - OpenR2 - Tutorial de instalação

Tito Garrido titogarrido em gmail.com
Quinta Junho 5 10:35:32 BRT 2008


Oi Alexandre,

Implementei seu tutorial em um IPBX aqui na empresa, por sinal muito bom seu
tutorial, mas estou enfrentando um problema.
As ligações estão caindo, não tem um tempo específico para isso... mas
caem... no CLI tenho o seguinte erro:

    -- Zap/63-1 answered SIP/1000-0829de60
[Jun  5 07:12:07] NOTICE[20143]: chan_zap.c:1466 zt_r2_write_log: Chan 63 -
Far end disconnected. Reason: Normal Clearing
[Jun  5 07:12:07] NOTICE[20143]: chan_zap.c:1430 zt_r2_on_call_disconnected:
MFC/R2 call disconnected on chan 63
[Jun  5 07:12:07] NOTICE[20143]: chan_zap.c:1489 zt_r2_on_line_blocked: Far
end blocked on chan 64
[Jun  5 07:12:07] NOTICE[20143]: chan_zap.c:1489 zt_r2_on_line_blocked: Far
end blocked on chan 65
[Jun  5 07:12:07] NOTICE[20143]: chan_zap.c:1489 zt_r2_on_line_blocked: Far
end blocked on chan 66
[Jun  5 07:12:07] NOTICE[20143]: chan_zap.c:1489 zt_r2_on_line_blocked: Far
end blocked on chan 67
    -- Hungup 'Zap/63-1'
  == Spawn extension (zap, 35257073, 1) exited non-zero on
'SIP/1000-0829de60'
*[Jun  5 07:12:07] ERROR[20143]: chan_zap.c:1472 zt_r2_write_log: Chan 63 -
Protocol error. Reason = Invalid CAS, R2 State = Clear Forward Transmitted,
MF state = MF Engine Off, MF Group = Forward Group II*
*[Jun  5 07:12:07] ERROR[20143]: chan_zap.c:1304 zt_r2_on_protocol_error:
MFC/R2 protocol error on chan 63: Invalid CAS*
[Jun  5 07:12:07] NOTICE[20143]: chan_zap.c:1494 zt_r2_on_line_idle: Far end
unblocked on chan 64
[Jun  5 07:12:07] NOTICE[20143]: chan_zap.c:1494 zt_r2_on_line_idle: Far end
unblocked on chan 65
[Jun  5 07:12:07] NOTICE[20143]: chan_zap.c:1494 zt_r2_on_line_idle: Far end
unblocked on chan 66
[Jun  5 07:12:07] NOTICE[20143]: chan_zap.c:1494 zt_r2_on_line_idle: Far end
unblocked on chan 67
[Jun  5 07:12:07] NOTICE[20143]: chan_zap.c:1494 zt_r2_on_line_idle: Far end
unblocked on chan 63
[Jun  5 07:14:56] NOTICE[20143]: chan_zap.c:1489 zt_r2_on_line_blocked: Far
end blocked on chan 68
[Jun  5 07:14:56] NOTICE[20143]: chan_zap.c:1489 zt_r2_on_line_blocked: Far
end blocked on chan 69
[Jun  5 07:14:56] NOTICE[20143]: chan_zap.c:1489 zt_r2_on_line_blocked: Far
end blocked on chan 70
[Jun  5 07:14:56] NOTICE[20143]: chan_zap.c:1489 zt_r2_on_line_blocked: Far
end blocked on chan 71
[Jun  5 07:14:56] NOTICE[20143]: chan_zap.c:1489 zt_r2_on_line_blocked: Far
end blocked on chan 72
[Jun  5 07:14:56] NOTICE[20143]: chan_zap.c:1489 zt_r2_on_line_blocked: Far
end blocked on chan 73
[Jun  5 07:14:56] NOTICE[20143]: chan_zap.c:1489 zt_r2_on_line_blocked: Far
end blocked on chan 74
[Jun  5 07:14:56] NOTICE[20143]: chan_zap.c:1489 zt_r2_on_line_blocked: Far
end blocked on chan 75
[Jun  5 07:14:56] NOTICE[20143]: chan_zap.c:1489 zt_r2_on_line_blocked: Far
end blocked on chan 76
[Jun  5 07:14:56] NOTICE[20143]: chan_zap.c:1489 zt_r2_on_line_blocked: Far
end blocked on chan 77
[Jun  5 07:14:56] NOTICE[20143]: chan_zap.c:1494 zt_r2_on_line_idle: Far end
unblocked on chan 68
[Jun  5 07:14:56] NOTICE[20143]: chan_zap.c:1494 zt_r2_on_line_idle: Far end
unblocked on chan 69
[Jun  5 07:14:56] NOTICE[20143]: chan_zap.c:1494 zt_r2_on_line_idle: Far end
unblocked on chan 70
[Jun  5 07:14:56] NOTICE[20143]: chan_zap.c:1494 zt_r2_on_line_idle: Far end
unblocked on chan 71
[Jun  5 07:14:56] NOTICE[20143]: chan_zap.c:1494 zt_r2_on_line_idle: Far end
unblocked on chan 72
[Jun  5 07:14:56] NOTICE[20143]: chan_zap.c:1494 zt_r2_on_line_idle: Far end
unblocked on chan 73
[Jun  5 07:14:56] NOTICE[20143]: chan_zap.c:1494 zt_r2_on_line_idle: Far end
unblocked on chan 74
[Jun  5 07:14:56] NOTICE[20143]: chan_zap.c:1494 zt_r2_on_line_idle: Far end
unblocked on chan 75
[Jun  5 07:14:56] NOTICE[20143]: chan_zap.c:1494 zt_r2_on_line_idle: Far end
unblocked on chan 76
[Jun  5 07:14:56] NOTICE[20143]: chan_zap.c:1494 zt_r2_on_line_idle: Far end
unb

Meu zapata está configurado da seguinte forma:
[trunkgroups]

[channels]
usecallerid=yes
callwaiting=yes
usecallingpres=yes
callwaitingcallerid=yes
threewaycalling=yes
transfer=yes
canpark=yes
cancallforward=yes
callreturn=yes
echocancel=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
context=embratel
group=2
channel => 63-77
channel => 79-93
callgroup=2
pickupgroup=2

Zaptel.conf:
loadzone=br
defaultzone=br

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

span=2,1,0,cas,hdb3
cas=32-46:1101
dchan=47
cas=48-62:1101

span=3,1,0,cas,hdb3
cas=63-77:1101
dchan=78
cas=79-93:1101

span=4,1,0,cas,hdb3
cas=94-108:1101
dchan=109
cas=110-124:1101

Já enfrentou problema parecido?

Obrigado,

Tito Garrido


2008/5/7 Alexandre Cavalcante Alencar <alexandre.alencar em gmail.com>:

> Olá, boa tarde,
>
> ISDN -> Fax e tx/rx fax da SpanDSP
>
> MFC/R2 -> Fax
>
> PS: É muito provavel que a TX/RX Fax da SpanDSP funcionem sem
> problemas com a OpenR2.
>
> Ats,
>
> 2008/5/3 Gabriel Santana <gabrielba em gmail.com>:
> > Alexandre,
> >
> > Qual a solução de faxe você esta usando?
> >
> > Abraço
> >
> > 2008/5/2 Alexandre Cavalcante Alencar <alexandre.alencar em gmail.com>:
> > >
> > >
> > >
> > > Olá, boa noite,
> > >
> > > Aproveitei uma folga na faculdade para escrever um tutorial básico de
> > > instalação do Asterisk com a OpenR2 para utilização em links MFC/R2
> > > (R2D). Espero que ajude a facilitar seus testes, de forma que possam
> > > reportar o sucesso e falha no Mantis da Digium, de forma que possamos
> > > ter este recurso ainda no Asterisk 1.6.1.
> > >
> > > Estou utilizando esta solução desde o dia 29/04 sem nenhum problema
> > > para receber e realizar chamadas de voz e faxes. Maiores detalhes
> > > sobre meu ambiente no report no Mantis.
> > >
> > > Tutorial de instalação e configuração
> > >
> > > http://blog.alexandrealencar.net
> > >
> > > Ticket no Mantis da Digium
> > >
> > > http://bugs.digium.com/view.php?id=12509
> > >
> > > Se precisarem de ajuda, estou no #asterisk-br
> > >
> > > Bons testes a todos
> > >
> > > --
> > > Alexandre C Alencar (Skarmeth)
> > > http://blog.alexandrealencar.net/
> > > http://www.alexandrealencar.net/
> > > http://people.debian-ce.org/skarmeth/
> > > _______________________________________________
> > > Compre uma camiseta da AsteriskBrasil.org!
> > >            http://www.voipmania.com.br
> > >                == VoIPMania.com.br ==
> > >
> > > _______________________________________________
> > > Lista de discussões AsteriskBrasil.org
> > > AsteriskBrasil em listas.asteriskbrasil.org
> > > http://listas.asteriskbrasil.org/mailman/listinfo/asteriskbrasil
> > >
> >
> >
> > _______________________________________________
> > Compre uma camiseta da AsteriskBrasil.org!
> >            http://www.voipmania.com.br
> >                == VoIPMania.com.br ==
> >
> > _______________________________________________
> > Lista de discussões AsteriskBrasil.org
> > AsteriskBrasil em listas.asteriskbrasil.org
> > http://listas.asteriskbrasil.org/mailman/listinfo/asteriskbrasil
> >
>
>
>
> --
> Alexandre C Alencar (Skarmeth)
> http://blog.alexandrealencar.net/
> http://www.alexandrealencar.net/
> http://people.debian-ce.org/skarmeth/
> _______________________________________________
> Compre uma camiseta da AsteriskBrasil.org!
>            http://www.voipmania.com.br
>                == VoIPMania.com.br ==
>
> _______________________________________________
> Lista de discussões AsteriskBrasil.org
> AsteriskBrasil em listas.asteriskbrasil.org
> http://listas.asteriskbrasil.org/mailman/listinfo/asteriskbrasil
>



-- 
Linux User #387870
____
_/_õ|__|
º[ .-.___.-._| . . . .
_(o).__(o).:_____
-------------- Próxima Parte ----------
Um anexo em HTML foi limpo...
URL: http://listas.asteriskbrasil.org/pipermail/asteriskbrasil/attachments/20080605/6283a9e9/attachment-0001.htm 


More information about the AsteriskBrasil mailing list