<div dir="ltr">Gustavo,<div><br></div><div>Take a look at Dnis Setup for venezuela. (chan_dadhi.conf)</div><div>CANTV provides just 3 o 4 digits, ask them which one you must use.</div><div><br></div><div>Drop me an email to <a href="mailto:ramvel99@gmail.com">ramvel99@gmail.com</a> if you need some helps. (I'm Venezuelan)</div><div>Run <span style="font-family:Menlo;font-size:11px">dahdi_cfg</span><span style="font-family:Menlo;font-size:11px"> </span></div><div><span style="font-family:Menlo;font-size:11px">Run </span><span style="font-family:Menlo;font-size:11px">dahdi_hardaware</span></div><div><span style="font-family:Menlo;font-size:11px">and send output information</span></div><div><span style="font-family:Menlo;font-size:11px"><br></span></div><div><span style="font-family:Menlo;font-size:11px">This setup is working for me:</span></div><div><br></div><div><p style="margin:0px;font-size:11px;font-family:Menlo">; Sample for CANTV</p>
<p style="margin:0px;font-size:11px;font-family:Menlo">signalling=mfcr2</p>
<p style="margin:0px;font-size:11px;font-family:Menlo">mfcr2_variant=ve</p>
<p style="margin:0px;font-size:11px;font-family:Menlo">mfcr2_get_ani_first=yes</p>
<p style="margin:0px;font-size:11px;font-family:Menlo">mfcr2_immediate_accept=yes</p>
<p style="margin:0px;font-size:11px;font-family:Menlo">mfcr2_max_ani=10</p>
<p style="margin:0px;font-size:11px;font-family:Menlo">;mfcr2_max_dnis=4</p>
<p style="margin:0px;font-size:11px;font-family:Menlo">mfcr2_max_dnis=3</p>
<p style="margin:0px;font-size:11px;font-family:Menlo">mfcr2_category=national_subscriber</p>
<p style="margin:0px;font-size:11px;font-family:Menlo">mfcr2_logdir=CANTV</p>
<p style="margin:0px;font-size:11px;font-family:Menlo">mfcr2_logging=all</p>
<p style="margin:0px;font-size:11px;font-family:Menlo">mfcr2_mfback_timeout=-1</p>
<p style="margin:0px;font-size:11px;font-family:Menlo">mfcr2_forced_release=yes</p>
<p style="margin:0px;font-size:11px;font-family:Menlo">;mfcr2_skip_category=yes</p><p style="margin:0px;font-size:11px;font-family:Menlo"><br></p><p style="margin:0px;font-size:11px;font-family:Menlo">Regards</p><p style="margin:0px;font-size:11px;font-family:Menlo"><br></p><p style="margin:0px;font-size:11px;font-family:Menlo">Ramon</p><p style="margin:0px;font-size:11px;font-family:Menlo">dCAP 1514</p></div><div><br></div><div><br></div></div><div class="gmail_extra"><br><div class="gmail_quote">2015-02-12 13:30 GMT-04:30 <span dir="ltr"><<a href="mailto:asterisk-r2-request@lists.digium.com" target="_blank">asterisk-r2-request@lists.digium.com</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Send asterisk-r2 mailing list submissions to<br>
<a href="mailto:asterisk-r2@lists.digium.com">asterisk-r2@lists.digium.com</a><br>
<br>
To subscribe or unsubscribe via the World Wide Web, visit<br>
<a href="http://lists.digium.com/mailman/listinfo/asterisk-r2" target="_blank">http://lists.digium.com/mailman/listinfo/asterisk-r2</a><br>
or, via email, send a message with subject or body 'help' to<br>
<a href="mailto:asterisk-r2-request@lists.digium.com">asterisk-r2-request@lists.digium.com</a><br>
<br>
You can reach the person managing the list at<br>
<a href="mailto:asterisk-r2-owner@lists.digium.com">asterisk-r2-owner@lists.digium.com</a><br>
<br>
When replying, please edit your Subject line so it is more specific<br>
than "Re: Contents of asterisk-r2 digest..."<br>
<br>
<br>
Today's Topics:<br>
<br>
1. mfcr2 cas errors digium te133 (Gustavo Yanes)<br>
<br>
<br>
----------------------------------------------------------------------<br>
<br>
Message: 1<br>
Date: Thu, 12 Feb 2015 11:21:45 -0500<br>
From: Gustavo Yanes <<a href="mailto:gustavoy@hotmail.com">gustavoy@hotmail.com</a>><br>
To: "<a href="mailto:asterisk-r2@lists.digium.com">asterisk-r2@lists.digium.com</a>" <<a href="mailto:asterisk-r2@lists.digium.com">asterisk-r2@lists.digium.com</a>><br>
Subject: [asterisk-r2] mfcr2 cas errors digium te133<br>
Message-ID: <COL129-W755CB5500EA36AF0711CD5DB220@phx.gbl><br>
Content-Type: text/plain; charset="iso-8859-1"<br>
<br>
Good morning i have a new pbx with elastix 2.5 and a te133 from digium the E1 is working ok however on the asterisk cli i see several errors wich are posted bellow (they repeat over time). Also it appears that the E1 is detecting incoming calls but there are none. My provider says he does not see anything on the line...<br>
Can you please help with this issue, as i have this configuration running with teh same provider on other machines with out this errors.<br>
Bellow the errors and config files, every bit of help would be greatly aprecciated.<br>
<br>
<br>
<br>
[2015-02-12 11:37:05] ERROR[3398]: chan_dahdi.c:4575 dahdi_r2_write_log: Chan 33 - 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>
[2015-02-12 11:37:05] ERROR[3400]: chan_dahdi.c:4575 dahdi_r2_write_log: Chan 35 - 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>
[2015-02-12 11:37:05] ERROR[3384]: chan_dahdi.c:4575 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<br>
DNIS = , ANI = , MF = 0x20<br>
[2015-02-12 11:37:05] ERROR[3400]: chan_dahdi.c:4335 dahdi_r2_on_protocol_error: MFC/R2 protocol error on chan 35: Invalid CAS<br>
New MFC/R2 call detected on chan 31.<br>
[2015-02-12 11:37:05] ERROR[3398]: chan_dahdi.c:4335 dahdi_r2_on_protocol_error: MFC/R2 protocol error on chan 33: Invalid CAS<br>
New MFC/R2 call detected on chan 15.<br>
[2015-02-12 11:37:05] ERROR[3397]: chan_dahdi.c:4575 dahdi_r2_write_log: Chan 32 - 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>
[2015-02-12 11:37:05] ERROR[3397]: chan_dahdi.c:4335 dahdi_r2_on_protocol_error: MFC/R2 protocol error on chan 32: Invalid CAS<br>
[2015-02-12 11:37:05] ERROR[3382]: chan_dahdi.c:4575 dahdi_r2_write_log: Chan 16 - 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>
[2015-02-12 11:37:05] ERROR[3382]: chan_dahdi.c:4335 dahdi_r2_on_protocol_error: MFC/R2 protocol error on chan 16: Invalid CAS<br>
[2015-02-12 11:37:05] ERROR[3383]: chan_dahdi.c:4575 dahdi_r2_write_log: Chan 17 - 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>
[2015-02-12 11:37:05] ERROR[3399]: chan_dahdi.c:4575 dahdi_r2_write_log: Chan 34 - 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>
[2015-02-12 11:37:05] ERROR[3399]: chan_dahdi.c:4335 dahdi_r2_on_protocol_error: MFC/R2 protocol error on chan 34: Invalid CAS<br>
[2015-02-12 11:37:05] ERROR[3384]: chan_dahdi.c:4335 dahdi_r2_on_protocol_error: MFC/R2 protocol error on chan 18: Invalid CAS<br>
[2015-02-12 11:37:05] ERROR[3385]: chan_dahdi.c:4575 dahdi_r2_write_log: Chan 19 - 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>
[2015-02-12 11:37:05] ERROR[3385]: chan_dahdi.c:4335 dahdi_r2_on_protocol_error: MFC/R2 protocol error on chan 19: Invalid CAS<br>
[2015-02-12 11:37:05] ERROR[3383]: chan_dahdi.c:4335 dahdi_r2_on_protocol_error: MFC/R2 protocol error on chan 17: Invalid CAS<br>
[2015-02-12 11:37:05] NOTICE[3383]: chan_dahdi.c:4606 dahdi_r2_on_line_idle: Far end unblocked on chan 17<br>
[2015-02-12 11:37:05] NOTICE[3400]: chan_dahdi.c:4606 dahdi_r2_on_line_idle: Far end unblocked on chan 35<br>
[2015-02-12 11:37:05] NOTICE[3382]: chan_dahdi.c:4606 dahdi_r2_on_line_idle: Far end unblocked on chan 16<br>
Chan 31 - Far end disconnected. Reason: Normal Clearing<br>
[2015-02-12 11:37:05] NOTICE[3385]: chan_dahdi.c:4606 dahdi_r2_on_line_idle: Far end unblocked on chan 19<br>
[2015-02-12 11:37:05] NOTICE[3398]: chan_dahdi.c:4606 dahdi_r2_on_line_idle: Far end unblocked on chan 33<br>
MFC/R2 call disconnected on channel 31<br>
[2015-02-12 11:37:05] NOTICE[3397]: chan_dahdi.c:4606 dahdi_r2_on_line_idle: Far end unblocked on chan 32<br>
[2015-02-12 11:37:05] NOTICE[3399]: chan_dahdi.c:4606 dahdi_r2_on_line_idle: Far end unblocked on chan 34<br>
[2015-02-12 11:37:05] NOTICE[3384]: chan_dahdi.c:4606 dahdi_r2_on_line_idle: Far end unblocked on chan 18<br>
Chan 15 - Far end disconnected. Reason: Normal Clearing<br>
MFC/R2 call disconnected on channel 15<br>
MFC/R2 call end on channel 31<br>
MFC/R2 call end on channel 15<br>
New MFC/R2 call detected on chan 34.<br>
New MFC/R2 call detected on chan 19.<br>
New MFC/R2 call detected on chan 18.<br>
New MFC/R2 call detected on chan 35.<br>
Chan 19 - Far end disconnected. Reason: Normal Clearing<br>
Chan 35 - Far end disconnected. Reason: Normal Clearing<br>
MFC/R2 call disconnected on channel 19<br>
MFC/R2 call disconnected on channel 35<br>
Chan 18 - Far end disconnected. Reason: Normal Clearing<br>
Chan 34 - Far end disconnected. Reason: Normal Clearing<br>
MFC/R2 call disconnected on channel 34<br>
MFC/R2 call end on channel 19<br>
MFC/R2 call end on channel 34<br>
MFC/R2 call end on channel 35<br>
MFC/R2 call disconnected on channel 18<br>
MFC/R2 call end on channel 18<br>
New MFC/R2 call detected on chan 19.<br>
New MFC/R2 call detected on chan 35.<br>
Chan 19 - Far end disconnected. Reason: Normal Clearing<br>
Chan 35 - Far end disconnected. Reason: Normal Clearing<br>
MFC/R2 call disconnected on channel 19<br>
MFC/R2 call disconnected on channel 35<br>
MFC/R2 call end on channel 19<br>
MFC/R2 call end on channel 35<br>
New MFC/R2 call detected on chan 19.<br>
New MFC/R2 call detected on chan 35.<br>
Chan 35 - Far end disconnected. Reason: Normal Clearing<br>
MFC/R2 call disconnected on channel 35<br>
Chan 19 - Far end disconnected. Reason: Normal Clearing<br>
MFC/R2 call disconnected on channel 19<br>
MFC/R2 call end on channel 35<br>
MFC/R2 call end on channel 19<br>
-- Remote UNIX connection<br>
-- Remote UNIX connection disconnected<br>
New MFC/R2 call detected on chan 19.<br>
New MFC/R2 call detected on chan 35.<br>
New MFC/R2 call detected on chan 18.<br>
New MFC/R2 call detected on chan 34.<br>
Chan 18 - Far end disconnected. Reason: Normal Clearing<br>
Chan 34 - Far end disconnected. Reason: Normal Clearing<br>
MFC/R2 call disconnected on channel 34<br>
MFC/R2 call disconnected on channel 18<br>
MFC/R2 call end on channel 34<br>
MFC/R2 call end on channel 18<br>
Chan 35 - Far end disconnected. Reason: Normal Clearing<br>
MFC/R2 call disconnected on channel 35<br>
Chan 19 - Far end disconnected. Reason: Normal Clearing<br>
MFC/R2 call disconnected on channel 19<br>
MFC/R2 call end on channel 35<br>
MFC/R2 call end on channel 19<br>
New MFC/R2 call detected on chan 19.<br>
New MFC/R2 call detected on chan 35.<br>
Chan 19 - Far end disconnected. Reason: Normal Clearing<br>
Chan 35 - Far end disconnected. Reason: Normal Clearing<br>
MFC/R2 call disconnected on channel 19<br>
MFC/R2 call disconnected on channel 35<br>
MFC/R2 call end on channel 19<br>
MFC/R2 call end on channel 35<br>
<br>
dahdi_channels.conf<br>
<br>
; Span 1: WCTDM/0 "Wildcard AEX410" (MASTER)<br>
;;; line="1 WCTDM/0/0 FXSKS"<br>
signalling=fxs_ks<br>
callerid=asreceived<br>
group=0<br>
context=from-zaptel<br>
channel => 1<br>
<br>
;;; line="2 WCTDM/0/1 FXSKS"<br>
signalling=fxs_ks<br>
callerid=asreceived<br>
group=0<br>
context=from-zaptel<br>
channel => 2<br>
<br>
;;; line="3 WCTDM/0/2 FXSKS"<br>
signalling=fxs_ks<br>
callerid=asreceived<br>
group=0<br>
context=from-zaptel<br>
channel => 3<br>
<br>
;;; line="4 WCTDM/0/3 FXSKS"<br>
signalling=fxs_ks<br>
callerid=asreceived<br>
group=0<br>
context=from-zaptel<br>
channel => 4<br>
<br>
<br>
<br>
; Span 2: WCT13x/0 "Wildcard TE131/TE133 Card 0"<br>
resetinterval=never<br>
group=1<br>
signalling=mfcr2<br>
mfcr2_variant=ve<br>
mfcr2_get_ani_first=no<br>
mfcr2_immediate_accept=yes<br>
mfcr2_max_ani=11<br>
mfcr2_max_dnis=11<br>
mfcr2_category=national_subscriber<br>
mfcr2_logdir=digitel<br>
mfcr2_logging=all<br>
mfcr2_mfback_timeout=-1<br>
mfcr2_call_files=yes<br>
echocancel=yes<br>
channel => 5-19,21-25<br>
<br>
;Entrantes<br>
group=2<br>
signalling=mfcr2<br>
mfcr2_variant=ve<br>
mfcr2_get_ani_first=no<br>
mfcr2_immediate_accept=yes<br>
mfcr2_max_ani=10<br>
mfcr2_max_dnis=4<br>
mfcr2_category=national_subscriber<br>
mfcr2_logdir=digitel<br>
mfcr2_logging=all<br>
mfcr2_mfback_timeout=-1<br>
echocancel=yes<br>
channel => 26-35<br>
<br>
system.conf<br>
<br>
<br>
# Span 1: WCTDM/0 "Wildcard AEX410" (MASTER)<br>
fxsks=1<br>
echocanceller=oslec,1<br>
fxsks=2<br>
echocanceller=oslec,2<br>
fxsks=3<br>
echocanceller=oslec,3<br>
fxsks=4<br>
echocanceller=oslec,4<br>
<br>
<br>
# Span 2: WCT13x/0 "Wildcard TE131/TE133 Card 0"<br>
span=2,1,0,cas,hdb3<br>
# termtype: te<br>
#bchan=5-19,21-35<br>
#dchan=20<br>
cas=5-19:1101<br>
cas=21-35:1101<br>
echocanceller=hwec,5-19,21-35<br>
<br>
# Global data<br>
<br>
loadzone = ve<br>
defaultzone = ve<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
-------------- next part --------------<br>
An HTML attachment was scrubbed...<br>
URL: <<a href="http://lists.digium.com/pipermail/asterisk-r2/attachments/20150212/5f3bf5d8/attachment-0001.html" target="_blank">http://lists.digium.com/pipermail/asterisk-r2/attachments/20150212/5f3bf5d8/attachment-0001.html</a>><br>
<br>
------------------------------<br>
<br>
_______________________________________________<br>
--Bandwidth and Colocation Provided by <a href="http://www.api-digital.com--" target="_blank">http://www.api-digital.com--</a><br>
<br>
asterisk-r2 mailing list<br>
To UNSUBSCRIBE or update options visit:<br>
<a href="http://lists.digium.com/mailman/listinfo/asterisk-r2" target="_blank">http://lists.digium.com/mailman/listinfo/asterisk-r2</a><br>
<br>
End of asterisk-r2 Digest, Vol 76, Issue 3<br>
******************************************<br>
</blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="gmail_signature"><div dir="ltr"><span></span><span></span><b>Ramón Velásquez</b><div><b>Director VCDICS</b></div><div><b>+582126138065</b></div><div><b>+582126138140</b></div><div><b>+584141294376</b></div><div><b><a href="http://www.vcdics.com" target="_blank">http://www.vcdics.com</a></b></div></div></div>
</div>