<html><body><div style="color:#000; background-color:#fff; font-family:times new roman, new york, times, serif;font-size:12pt"><div>Good day, as they are, following the thread, if possible, I work with
some solution to synchronize an Asterisk 1.4.42, DAHDI Tools with
Version - 2.4.1, DAHDI Version: 2.4.1.2.<br>
it has a card<br>
<br>
pci:0000:06:08.0 wct4xxp+ d161:1220 Wildcard TE220 (5th Gen)<br>
<br>
<br>
[1]<br>
active=yes<br>
alarms=OK<br>
description=T2XXP (PCI) Card 0 Span 1<br>
name=TE2/0/1<br>
manufacturer=Digium<br>
devicetype=Wildcard TE220 (5th Gen) (VPMOCT064)<br>
location=Board ID Switch 0<br>
basechan=1<br>
totchans=31<br>
irq=16<br>
type=digital-E1<br>
syncsrc=0<br>
lbo=0 db (CSU)/0-133 feet (DSX-1)<br>
coding_opts=AMI,HDB3<br>
framing_opts=CCS,CRC4<br>
coding=HDB3<br>
framing=CAS<br>
<br>
and the plant is a panasonic emss336<br>
<br>
<br>
have a configuration<br>
<br>
/etc/dahdi/system.conf<br>
# Span 1: WCT1/0 "Wildcard TE122 Card 0"<br>
span=1,0,0,cas,hdb3,crc4<br>
cas=1-15,17-31:1101<br>
echocanceller=mg2,1-15,17-31<br>
#<br>
# # Global data<br>
#<br>
loadzone=mx<br>
defaultzone=mx<br>
<br>
<br>
chan_dahdi.conf<br>
[trunkgroups]<br>
;<br>
[channels]<br>
usecallerid=yes<br>
language=es<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=no<br>
echocancelwhenbridged=no<br>
;<br>
signalling=mfcr2<br>
mfcr2_variant=ar<br>
mfcr2_get_ani_first=no<br>
mfcr2_max_ani=10<br>
mfcr2_max_dnis=4<br>
mfcr2_category=national_suscriber<br>
mfcr2_logdir=span1<br>
mfcr2_logging=all<br>
mfcr2_call_files=yes<br>
mfcr2_mfback_timeout= 5000<br>
mfcr2_metering_pulse_timeout=200<br>
;<br>
context=from-pstn<br>
group=0<br>
callgroup=0<br>
pickupgroup=0<br>
channel => 1-15<br>
channel => 17-31<br>
<br>
dahdi up with this configuration<br>
<br>
SPAN 1: CAS/HDB3 Build-out: 0 db (CSU)/0-133 feet (DSX-1)<br>
<br>
Channel map:<br>
<br>
Channel 01: CAS / User (Default) (Echo Canceler: mg2) (Slaves: 01)<br>
Channel 02: CAS / User (Default) (Echo Canceler: mg2) (Slaves: 02)<br>
Channel 03: CAS / User (Default) (Echo Canceler: mg2) (Slaves: 03)<br>
Channel 04: CAS / User (Default) (Echo Canceler: mg2) (Slaves: 04)<br>
Channel 05: CAS / User (Default) (Echo Canceler: mg2) (Slaves: 05)<br>
Channel 06: CAS / User (Default) (Echo Canceler: mg2) (Slaves: 06)<br>
Channel 07: CAS / User (Default) (Echo Canceler: mg2) (Slaves: 07)<br>
Channel 08: CAS / User (Default) (Echo Canceler: mg2) (Slaves: 08)<br>
Channel 09: CAS / User (Default) (Echo Canceler: mg2) (Slaves: 09)<br>
Channel 10: CAS / User (Default) (Echo Canceler: mg2) (Slaves: 10)<br>
Channel 11: CAS / User (Default) (Echo Canceler: mg2) (Slaves: 11)<br>
Channel 12: CAS / User (Default) (Echo Canceler: mg2) (Slaves: 12)<br>
Channel 13: CAS / User (Default) (Echo Canceler: mg2) (Slaves: 13)<br>
Channel 14: CAS / User (Default) (Echo Canceler: mg2) (Slaves: 14)<br>
Channel 15: CAS / User (Default) (Echo Canceler: mg2) (Slaves: 15)<br>
Channel 17: CAS / User (Default) (Echo Canceler: mg2) (Slaves: 17)<br>
Channel 18: CAS / User (Default) (Echo Canceler: mg2) (Slaves: 18)<br>
Channel 19: CAS / User (Default) (Echo Canceler: mg2) (Slaves: 19)<br>
Channel 20: CAS / User (Default) (Echo Canceler: mg2) (Slaves: 20)<br>
Channel 21: CAS / User (Default) (Echo Canceler: mg2) (Slaves: 21)<br>
Channel 22: CAS / User (Default) (Echo Canceler: mg2) (Slaves: 22)<br>
Channel 23: CAS / User (Default) (Echo Canceler: mg2) (Slaves: 23)<br>
Channel 24: CAS / User (Default) (Echo Canceler: mg2) (Slaves: 24)<br>
Channel 25: CAS / User (Default) (Echo Canceler: mg2) (Slaves: 25)<br>
Channel 26: CAS / User (Default) (Echo Canceler: mg2) (Slaves: 26)<br>
Channel 27: CAS / User (Default) (Echo Canceler: mg2) (Slaves: 27)<br>
Channel 28: CAS / User (Default) (Echo Canceler: mg2) (Slaves: 28)<br>
Channel 29: CAS / User (Default) (Echo Canceler: mg2) (Slaves: 29)<br>
Channel 30: CAS / User (Default) (Echo Canceler: mg2) (Slaves: 30)<br>
Channel 31: CAS / User (Default) (Echo Canceler: mg2) (Slaves: 31)<br>
<br>
CLI> dahdi show status <br>
Description Alarms IRQ bpviol CRC4 <br>
T2XXP (PCI) Card 0 Span 1 OK 0 0 0 <br>
<br>
CLI> dahdi show channels <br>
Chan Extension Context Language MOH Interpret <br>
pseudo default default <br>
1 from-pstn es default <br>
2 from-pstn es default <br>
3 from-pstn es default <br>
4 from-pstn es default <br>
5 from-pstn es default <br>
6 from-pstn es default <br>
7 from-pstn es default <br>
8 from-pstn es default <br>
9 from-pstn es default <br>
10 from-pstn es default <br>
11 from-pstn es default <br>
12 from-pstn es default <br>
13 from-pstn es default <br>
14 from-pstn es default <br>
15 from-pstn es default <br>
17 from-pstn es default <br>
18 from-pstn es default <br>
19 from-pstn es default <br>
20 from-pstn es default <br>
21 from-pstn es default <br>
22 from-pstn es default <br>
23 from-pstn es default <br>
24 from-pstn es default <br>
25 from-pstn es default <br>
26 from-pstn es default <br>
27 from-pstn es default <br>
28 from-pstn es default <br>
29 from-pstn es default <br>
30 from-pstn es default <br>
31 from-pstn es default<br>
<br>
<br>
but channels<br>
<br>
CLI> mfcr2 show channels<br>
Chan Variant Max ANI Max DNIS ANI First Immediate Accept Tx CAS Rx CAS <br>
1 AR 10 4 No No SEIZE AC SEIZE <br>
2 AR 10 4 No No SEIZE AC SEIZE <br>
3 AR 10 4 No No SEIZE AC SEIZE <br>
4 AR 10 4 No No SEIZE AC SEIZE <br>
5 AR 10 4 No No SEIZE AC SEIZE <br>
6 AR 10 4 No No SEIZE AC SEIZE <br>
7 AR 10 4 No No SEIZE AC SEIZE <br>
8 AR 10 4 No No SEIZE AC SEIZE <br>
9 AR 10 4 No No SEIZE AC SEIZE <br>
10 AR 10 4 No No SEIZE AC SEIZE <br>
11 AR 10 4 No No SEIZE AC SEIZE <br>
12 AR 10 4 No No SEIZE AC SEIZE <br>
13 AR 10 4 No No SEIZE AC SEIZE <br>
14 AR 10 4 No No SEIZE AC SEIZE <br>
15 AR 10 4 No No SEIZE AC SEIZE <br>
17 AR 10 4 No No SEIZE AC SEIZE <br>
18 AR 10 4 No No SEIZE AC SEIZE <br>
19 AR 10 4 No No SEIZE AC SEIZE <br>
20 AR 10 4 No No SEIZE AC SEIZE <br>
21 AR 10 4 No No SEIZE AC SEIZE <br>
22 AR 10 4 No No SEIZE AC SEIZE <br>
23 AR 10 4 No No SEIZE AC SEIZE <br>
24 AR 10 4 No No SEIZE AC SEIZE <br>
25 AR 10 4 No No SEIZE AC SEIZE <br>
26 AR 10 4 No No SEIZE AC SEIZE <br>
27 AR 10 4 No No SEIZE AC SEIZE <br>
28 AR 10 4 No No SEIZE AC SEIZE <br>
29 AR 10 4 No No SEIZE AC SEIZE <br>
30 AR 10 4 No No SEIZE AC SEIZE <br>
31 AR 10 4 No No SEIZE AC SEIZE <br>
<br>
after a while, send the following errors<br>
<br>
New MFC/R2 call detected on chan 12.<br>
[Feb 23 12:43:00] ERROR[16995]: chan_dahdi.c:1683 dahdi_r2_write_log:
Chan 13 - Protocol error. Reason = Invalid CAS, R2 State = Idle, MF
state = MF Engine Off, MF Group = No Group, CAS = 0x04<br>
DNIS = , ANI = , MF = 0x20<br>
[Feb 23 12:43:00] ERROR[16995]: chan_dahdi.c:1455 dahdi_r2_on_protocol_error: MFC/R2 protocol error on chan 13: Invalid CAS<br>
New MFC/R2 call detected on chan 28.<br>
[Feb 23 12:43:00] ERROR[16996]: chan_dahdi.c:1683 dahdi_r2_write_log:
Chan 29 - Protocol error. Reason = Invalid CAS, R2 State = Idle, MF
state = MF Engine Off, MF Group = No Group, CAS = 0x04<br>
DNIS = , ANI = , MF = 0x20<br>
[Feb 23 12:43:00] ERROR[16996]: chan_dahdi.c:1455 dahdi_r2_on_protocol_error: MFC/R2 protocol error on chan 29: Invalid CAS<br>
<br>
Feb 23 16:41:48] ERROR[11065]: chan_dahdi.c:1683 dahdi_r2_write_log:
Chan 25 - Protocol error. Reason = Invalid CAS, R2 State = Seize ACK
Transmitted, MF state = Seize ACK Transmitted, MF Group = Backward MF
init, CAS = 0x0C<br>
DNIS = , ANI = , MF = 0x20<br>
[Feb 23 16:41:48] ERROR[11065]: chan_dahdi.c:1455 dahdi_r2_on_protocol_error: MFC/R2 protocol error on chan 25: Invalid CAS<br>
[Feb 23 16:41:48] ERROR[11064]: chan_dahdi.c:1683 dahdi_r2_write_log:
Chan 9 - Protocol error. Reason = Invalid CAS, R2 State = Seize ACK
Transmitted, MF state = Seize ACK Transmitted, MF Group = Backward MF
init, CAS = 0x0C<br>
DNIS = , ANI = , MF = 0x20<br>
[Feb 23 16:41:48] ERROR[11064]: chan_dahdi.c:1455 dahdi_r2_on_protocol_error: MFC/R2 protocol error on chan 9: Invalid CAS<br>
<br>
<br>
== Manager 'sendcron' logged off from 127.0.0.1<br>
[Feb 23 15:40:32] NOTICE[1420]: chan_dahdi.c:1713 dahdi_r2_on_line_idle: Far end unblocked on chan 29<br>
[Feb 23 15:40:32] NOTICE[1420]: chan_dahdi.c:1713 dahdi_r2_on_line_idle: Far end unblocked on chan 30<br>
[Feb 23 15:40:32] NOTICE[1420]: chan_dahdi.c:1713 dahdi_r2_on_line_idle: Far end unblocked on chan 31<br>
[Feb 23 15:40:32] NOTICE[1419]: chan_dahdi.c:1713 dahdi_r2_on_line_idle: Far end unblocked on chan 13<br>
[Feb 23 15:40:32] NOTICE[1419]: chan_dahdi.c:1713 dahdi_r2_on_line_idle: Far end unblocked on chan 14<br>
[Feb 23 15:40:32] NOTICE[1419]: chan_dahdi.c:1713 dahdi_r2_on_line_idle: Far end unblocked on chan 15<br>
<br>
<br>
when trying to make, does not find channels<br>
<br>
<br>
-- Executing [141@phones:1] Answer("SIP/cc6105-00000000", "nocdr") in new stack<br>
-- Executing [141@phones:2] Dial("SIP/cc6105-00000000", "Dahdi/g0/141|50") in new stack<br>
[Feb 23 16:01:25] WARNING[8180]: app_dial.c:1310 dial_exec_full: Unable
to create channel of type 'Dahdi' (cause 34 - Circuit/channel
congestion)<br>
== Everyone is busy/congested at this time (1:0/1/0)<br>
-- Executing [141@phones:3] GotoIf("SIP/cc6105-00000000", "0?unavailable:hangup") in new stack<br>
-- Goto (phones,141,5)<br>
-- Executing [141@phones:5] Hangup("SIP/cc6105-00000000", "") in new stack<br>
== Spawn extension (phones, 141, 5) exited non-zero on 'SIP/cc6105-00000000'<br>
<br>
<br>
[Feb 23 16:12:07] WARNING[9372]: chan_dahdi.c:1680 dahdi_r2_write_log: Chan 12 - Seize Timeout Expired!<br>
[Feb 23 16:12:07] ERROR[9372]: chan_dahdi.c:1683 dahdi_r2_write_log:
Chan 12 - Protocol error. Reason = Seize Timeout, R2 State = Seize
Transmitted, MF state = MF Engine Off, MF Group = Forward MF init, CAS =
0x08<br>
DNIS = 141, ANI = 6105, MF = 0x20<br>
[Feb 23 16:12:07] ERROR[9372]: chan_dahdi.c:1455 dahdi_r2_on_protocol_error: MFC/R2 protocol error on chan 12: Seize Timeout<br>
[Feb 23 16:12:07] WARNING[9372]: app_dial.c:801 wait_for_answer: Unable to forward voice or dtmf<br>
-- Hungup 'DAHDI/12-1'<br>
== Everyone is busy/congested at this time (1:0/0/1)<br>
-- Executing [141@phones:3] GotoIf("SIP/cc6105-00000003", "0?unavailable:hangup") in new stack<br>
-- Goto (phones,141,5)<br>
-- Executing [141@phones:5] Hangup("SIP/cc6105-00000003", "") in new stack<br>
== Spawn extension (phones, 141, 5) exited non-zero on 'SIP/cc6105-00000003'<br>
<br>
I appreciate any ideas</div></div></body></html>