[asterisk-r2] Invalid CAS

Leonardo L. Souza llsouza.br at gmail.com
Wed Jan 12 06:35:00 CST 2011


Claudio:

In the system.conf try do change the clock source like this:

# Span 1: TE2/0/1 "T2XXP (PCI) Card 0 Span 1" (MASTER) HDB3/
span=1,1,0,cas,hdb3
# termtype: te
cas=1-15,17-31:1101
dchan=16




2011/1/11 Claudio Aznar <caznar at easyip.com.ar>

> Dear Josué,
>
>       Thank for your answer. I've try this the configuration that you
> suggested me and I've the same problem.
>
> Regards,
> Claudio
>
>
> 2011/1/11 Josué Conti <josueconti at gmail.com>
>
> Hello Claudio, how are you?
>> Change your configurations to this below:
>>
>> 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=es
>> mfcr2_get_ani_first=no
>> mfcr2_max_ani=20
>> mfcr2_max_dnis=4
>> mfcr2_category=national_subscriber
>> mfcr2_logdir=span1
>> mfcr2_logging=all
>> mfcr2_allow_collect_calls=no
>> mfcr2_double_answer=yes
>>
>> And, please remove the line "switchtype=euroisdn", because your link is
>> MFC/R2 and don't ISDN, ok?
>> Restart your system and make a new test.
>> Return with a feedback.
>>
>> Best Regards
>>
>> Josue
>>
>> 2011/1/11 Claudio Aznar <caznar at easyip.com.ar>
>>
>>> Estimados,
>>>
>>>        Acabo de levantar una PBX con soporte E1/R2 y si bien funciona
>>> (emito/recibo) llamadas tengo estos mensajes de ERROR.
>>>        Cabe aclarar que la misma configuración la tengo corriendo en
>>> otros equipos y con diversas placas (Digium/OpenVox/Yeastar) y funciona
>>> correctamente. Como referencia este equipo tiene una placa Digium PCI de una
>>> trama (TE110P). Adjunto también archivos de configuración de DAHDI.
>>>
>>>        Si alguien pudiera hecharme una mano con esto agradecido.
>>>
>>> Saludos,
>>> Claudio Aznar
>>> easyIP
>>>
>>> # Software
>>> Asterisk 1.4.28 o Asterisk 1.6.2.11
>>> dahdi-linux-complete-2.2.1+2.2.1
>>> openr2-1.2.0
>>> spandsp-0.0.6pre17
>>>
>>> # cat /etc/asterisk/chan_dahdi.conf
>>> [trunkgroups]
>>>
>>> [channels]
>>> language=es
>>> echocancel=yes
>>> echocancelwhenbridged=no
>>> faxdetect=both
>>> tonezone=0
>>> callwaiting=no
>>> usecallerid=yes
>>> hidecallerid=no
>>> callwaitingcallerid=yes
>>> threewaycalling=yes
>>> transfer=yes
>>> cancallforward=yes
>>> callreturn=yes
>>> immediate=no
>>> switchtype=euroisdn
>>> callerid=asreceived
>>>
>>> ;Spam
>>> group=0
>>> context=from-pstn
>>> signalling=mfcr2
>>> callprogress=yes
>>> mfcr2_variant=ar
>>> mfcr2_max_ani=3
>>> mfcr2_max_dnis=13
>>> mfcr2_category=national_subscriber
>>> mfcr2_call_files=no
>>> mfcr2_mfback_timeout=5000
>>> mfcr2_metering_pulse_timeout=200
>>> rxwink=300
>>> mfcr2_logdir=pstn
>>> channel=>1-15, 17-31
>>>
>>> # cat /etc/dahdi/system.conf
>>> #R2
>>> span=1,0,0,cas,hdb3
>>> cas=1-15:1101
>>> cas=17-31:1101
>>> dchan=16
>>>
>>> loadzone=ar
>>> defaultzone=ar
>>>
>>> echocanceller=oslec,1-15,17-31
>>>
>>> #Dump
>>>
>>> [Jan 11 11:49:29] ERROR[26456]: chan_dahdi.c:1606 dahdi_r2_write_log:
>>> Chan 24 - Protocol error. Reason = Invalid CAS, R2 State = Idle, MF state =
>>> MF Engine Off, MF Group = No Group, CAS = 0x04
>>>
>>>
>>>
>>> DNIS = , ANI = , MF = 0x20
>>>
>>>
>>> [Jan 11 11:49:29] ERROR[26456]: chan_dahdi.c:1378
>>> dahdi_r2_on_protocol_error: MFC/R2 protocol error on chan 24: Invalid CAS
>>>
>>> [Jan 11 11:49:31] ERROR[26455]: chan_dahdi.c:1606 dahdi_r2_write_log:
>>> Chan 14 - Protocol error. Reason = Invalid CAS, R2 State = Idle, MF state =
>>> MF Engine Off, MF Group = No Group, CAS = 0x04
>>>
>>>
>>>
>>> DNIS = , ANI = , MF = 0x20
>>>
>>>
>>> [Jan 11 11:49:31] ERROR[26455]: chan_dahdi.c:1378
>>> dahdi_r2_on_protocol_error: MFC/R2 protocol error on chan 14: Invalid CAS
>>>
>>> [Jan 11 11:49:33] ERROR[26456]: chan_dahdi.c:1606 dahdi_r2_write_log:
>>> Chan 21 - Protocol error. Reason = Invalid CAS, R2 State = Idle, MF state =
>>> MF Engine Off, MF Group = No Group, CAS = 0x04
>>>
>>>
>>>
>>> DNIS = , ANI = , MF = 0x20
>>>
>>>
>>> [Jan 11 11:49:33] ERROR[26456]: chan_dahdi.c:1378
>>> dahdi_r2_on_protocol_error: MFC/R2 protocol error on chan 21: Invalid CAS
>>>
>>> [Jan 11 11:49:36] ERROR[26455]: chan_dahdi.c:1606 dahdi_r2_write_log:
>>> Chan 10 - Protocol error. Reason = Invalid CAS, R2 State = Idle, MF state =
>>> MF Engine Off, MF Group = No Group, CAS = 0x04
>>>
>>>
>>>
>>> DNIS = , ANI = , MF = 0x20
>>>
>>>
>>> [Jan 11 11:49:36] ERROR[26455]: chan_dahdi.c:1378
>>> dahdi_r2_on_protocol_error: MFC/R2 protocol error on chan 10: Invalid CAS
>>>
>>> [Jan 11 11:49:47] ERROR[26456]: chan_dahdi.c:1606 dahdi_r2_write_log:
>>> Chan 18 - Protocol error. Reason = Invalid CAS, R2 State = Idle, MF state =
>>> MF Engine Off, MF Group = No Group, CAS = 0x04
>>>
>>>
>>>
>>> DNIS = , ANI = , MF = 0x20
>>>
>>>
>>> [Jan 11 11:49:47] ERROR[26456]: chan_dahdi.c:1378
>>> dahdi_r2_on_protocol_error: MFC/R2 protocol error on chan 18: Invalid CAS
>>>
>>> [Jan 11 11:49:55] ERROR[26455]: chan_dahdi.c:1606 dahdi_r2_write_log:
>>> Chan 15 - Protocol error. Reason = Invalid CAS, R2 State = Idle, MF state =
>>> MF Engine Off, MF Group = No Group, CAS = 0x04
>>>
>>>
>>>
>>> DNIS = , ANI = , MF = 0x20
>>>
>>>
>>> [Jan 11 11:49:55] ERROR[26455]: chan_dahdi.c:1378
>>> dahdi_r2_on_protocol_error: MFC/R2 protocol error on chan 15: Invalid CAS
>>>
>>> [Jan 11 11:49:59] ERROR[26455]: chan_dahdi.c:1606 dahdi_r2_write_log:
>>> Chan 6 - Protocol error. Reason = Invalid CAS, R2 State = Idle, MF state =
>>> MF Engine Off, MF Group = No Group, CAS = 0x04
>>> DNIS = , ANI = , MF = 0x20
>>>
>>>
>>> [Jan 11 11:49:59] ERROR[26455]: chan_dahdi.c:1378
>>> dahdi_r2_on_protocol_error: MFC/R2 protocol error on chan 6: Invalid CAS
>>>
>>> [Jan 11 11:50:01] ERROR[26456]: chan_dahdi.c:1606 dahdi_r2_write_log:
>>> Chan 23 - Protocol error. Reason = Invalid CAS, R2 State = Idle, MF state =
>>> MF Engine Off, MF Group = No Group, CAS = 0x04
>>>
>>>
>>>
>>> DNIS = , ANI = , MF = 0x20
>>>
>>>
>>> [Jan 11 11:50:01] ERROR[26456]: chan_dahdi.c:1378
>>> dahdi_r2_on_protocol_error: MFC/R2 protocol error on chan 23: Invalid CAS
>>>
>>> [Jan 11 11:50:06] ERROR[26455]: chan_dahdi.c:1606 dahdi_r2_write_log:
>>> Chan 5 - Protocol error. Reason = Invalid CAS, R2 State = Idle, MF state =
>>> MF Engine Off, MF Group = No Group, CAS = 0x04
>>> DNIS = , ANI = , MF = 0x20
>>>
>>>
>>> [Jan 11 11:50:06] ERROR[26455]: chan_dahdi.c:1378
>>> dahdi_r2_on_protocol_error: MFC/R2 protocol error on chan 5: Invalid CAS
>>>
>>> New MFC/R2 call detected on chan 13.
>>>
>>>
>>> MFC/R2 call disconnected on chan 13
>>>
>>>
>>> MFC/R2 call end on chan 13
>>>
>>>
>>> [Jan 11 11:50:16] ERROR[26455]: chan_dahdi.c:1606 dahdi_r2_write_log:
>>> Chan 3 - Protocol error. Reason = Invalid CAS, R2 State = Idle, MF state =
>>> MF Engine Off, MF Group = No Group, CAS = 0x04
>>> DNIS = , ANI = , MF = 0x20
>>>
>>>
>>> [Jan 11 11:50:16] ERROR[26455]: chan_dahdi.c:1378
>>> dahdi_r2_on_protocol_error: MFC/R2 protocol error on chan 3: Invalid CAS
>>>
>>> [Jan 11 11:50:18] ERROR[26455]: chan_dahdi.c:1606 dahdi_r2_write_log:
>>> Chan 6 - Protocol error. Reason = Invalid CAS, R2 State = Idle, MF state =
>>> MF Engine Off, MF Group = No Group, CAS = 0x04
>>> DNIS = , ANI = , MF = 0x20
>>>
>>>
>>> [Jan 11 11:50:18] ERROR[26455]: chan_dahdi.c:1378
>>> dahdi_r2_on_protocol_error: MFC/R2 protocol error on chan 6: Invalid CAS
>>>
>>> [Jan 11 11:50:20] ERROR[26456]: chan_dahdi.c:1606 dahdi_r2_write_log:
>>> Chan 25 - Protocol error. Reason = Invalid CAS, R2 State = Idle, MF state =
>>> MF Engine Off, MF Group = No Group, CAS = 0x04
>>>
>>>
>>>
>>> DNIS = , ANI = , MF = 0x20
>>>
>>>
>>> [Jan 11 11:49:31] ERROR[26455]: chan_dahdi.c:1378
>>> dahdi_r2_on_protocol_error: MFC/R2 protocol error on chan 14: Invalid CAS
>>>
>>> [Jan 11 11:49:33] ERROR[26456]: chan_dahdi.c:1606 dahdi_r2_write_log:
>>> Chan 21 - Protocol error. Reason = Invalid CAS, R2 State = Idle, MF state =
>>> MF Engine Off, MF Group = No Group, CAS = 0x04
>>>
>>>
>>>
>>> DNIS = , ANI = , MF = 0x20
>>>
>>>
>>> [Jan 11 11:49:33] ERROR[26456]: chan_dahdi.c:1378
>>> dahdi_r2_on_protocol_error: MFC/R2 protocol error on chan 21: Invalid CAS
>>>
>>> [Jan 11 11:49:36] ERROR[26455]: chan_dahdi.c:1606 dahdi_r2_write_log:
>>> Chan 10 - Protocol error. Reason = Invalid CAS, R2 State = Idle, MF state =
>>> MF Engine Off, MF Group = No Group, CAS = 0x04
>>>
>>>
>>>
>>> DNIS = , ANI = , MF = 0x20
>>>
>>>
>>> [Jan 11 11:49:36] ERROR[26455]: chan_dahdi.c:1378
>>> dahdi_r2_on_protocol_error: MFC/R2 protocol error on chan 10: Invalid CAS
>>>
>>> [Jan 11 11:49:47] ERROR[26456]: chan_dahdi.c:1606 dahdi_r2_write_log:
>>> Chan 18 - Protocol error. Reason = Invalid CAS, R2 State = Idle, MF state =
>>> MF Engine Off, MF Group = No Group, CAS = 0x04
>>>
>>>
>>>
>>> DNIS = , ANI = , MF = 0x20
>>>
>>>
>>> [Jan 11 11:49:47] ERROR[26456]: chan_dahdi.c:1378
>>> dahdi_r2_on_protocol_error: MFC/R2 protocol error on chan 18: Invalid CAS
>>>
>>> [Jan 11 11:49:55] ERROR[26455]: chan_dahdi.c:1606 dahdi_r2_write_log:
>>> Chan 15 - Protocol error. Reason = Invalid CAS, R2 State = Idle, MF state =
>>> MF Engine Off, MF Group = No Group, CAS = 0x04
>>>
>>>
>>>
>>>
>>>
>>>
>>> --
>>> _____________________________________________________________________
>>> -- Bandwidth and Colocation Provided by http://www.api-digital.com --
>>>
>>> asterisk-r2 mailing list
>>> To UNSUBSCRIBE or update options visit:
>>>   http://lists.digium.com/mailman/listinfo/asterisk-r2
>>>
>>
>>
>> --
>> _____________________________________________________________________
>> -- Bandwidth and Colocation Provided by http://www.api-digital.com --
>>
>> asterisk-r2 mailing list
>> To UNSUBSCRIBE or update options visit:
>>   http://lists.digium.com/mailman/listinfo/asterisk-r2
>>
>
>
> --
> _____________________________________________________________________
> -- Bandwidth and Colocation Provided by http://www.api-digital.com --
>
> asterisk-r2 mailing list
> To UNSUBSCRIBE or update options visit:
>   http://lists.digium.com/mailman/listinfo/asterisk-r2
>



-- 

[]´s
Leonardo Souza
11 8126-4775
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-r2/attachments/20110112/7cc58efb/attachment-0001.htm>


More information about the asterisk-r2 mailing list