<div dir="ltr">HI Dhekial,<br><br>You need to change the CAS lines to complies with Zaptel<br><br><span lang="EN"><span lang="EN">/etc/zaptel.conf<br><span lang="EN">
span=1,0,0,cas,hdb3<br>
cas=1-15:1101<br>
dchan=16<br>
cas=17-31:1101<br>
<br>
span=2,1,0,cas,hdb3<br>
cas=32-46:1101<br>
dchan=47<br>
cas=48-62:1101<br><br>---<br><br></span></span></span><br><div class="gmail_quote">On Sun, Oct 19, 2008 at 9:53 PM, Rana Dhekial <span dir="ltr"><<a href="mailto:dhekial@msn.com">dhekial@msn.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div>
<div><font face="Arial" size="2">Hi Moy,</font></div>
<div><font face="Arial" size="2"></font> </div>
<div><font face="Arial" size="2">We are testing an Asterisk server in country Nepal with Digium hardware TE207P. Port 1 is connected to a E1 Mux and the seond port is going to the Telco. Both are configured for R2. We see the following messages from port 2 connected to Telco. Port 2 works ok when connected to the E1 Mux.</font></div>
<div> </div>
<div> <span lang="EN">[KSTMNEWH*CLI> [Oct 19 08:31:45] ERROR[8760]: chan_zap.c:1536 zt_r2_write_log: Chan 35 - Protocol error. Reason = Invalid CAS, R2 State = Idle, MF state = MF Engine Off, MF Group = No Group &#0;
[KSTMNEWH*CLI> [Oct 19 08:31:45] ERROR[8760]: chan_zap.c:1347 zt_r2_on_protocol_error: MFC/R2 protocol error on chan 35: Invalid CAS&#0;<br>
[KSTMNEWH*CLI> [Oct 19 08:31:45] NOTICE[8760]: chan_zap.c:1557 zt_r2_on_line_blocked: Far end blocked on chan 51&#0;<br>
[KSTMNEWH*CLI> [Oct 19 08:31:45] NOTICE[8760]: chan_zap.c:1566 zt_r2_on_line_idle: Far end unblocked on chan 51&#0;<br>
[KSTMNEWH*CLI> [Oct 19 08:31:45] NOTICE[8760]: chan_zap.c:1566 zt_r2_on_line_idle: Far end unblocked on chan 35&#0;<br>
<br>
[KSTMNEWH*CLI> zap show status STMNEWH*CLI> Description Alarms IRQ bpviol CRC4 Fra Codi Options LBO<br>
T2XXP (PCI) Card 0 Span 1 OK 0 0 0 CAS HDB3 YEL 0 db (CSU)/0-133 feet (DSX-1)<br>
T2XXP (PCI) Card 0 Span 2 OK 0 0 0 CAS HDB3 YEL 0 db (CSU)/0-133 feet (DSX-1)<br>
ZTDUMMY/1 (source: HRtimer) 1 UNCONFI 0 0 0 CAS Unk YEL 0 db (CSU)/0-133 feet (DSX-1)<br>
<br>
zaptel version is 1.4.11<br><span lang="EN">
<br>
svn info for openr2<br>
Path: .<br>
URL: svn://<a href="http://libopenr2.org/openr2/trunk" target="_blank">libopenr2.org/openr2/trunk</a><br>
Repository Root: svn://<a href="http://libopenr2.org/openr2" target="_blank">libopenr2.org/openr2</a><br>
Repository UUID: c87312dc-f89b-4d16-81b4-35530099f826<br>
Revision: 51<br>
Node Kind: directory<br>
Schedule: normal<br>
Last Changed Author: moy<br>
Last Changed Rev: 51<br>
Last Changed Date: 2008-08-04 19:30:51 +0545 (Mon, 04 Aug 2008)<br><span lang="EN">
<br>
svn info for Asterisk<br>
Path: .<br>
URL: <a href="http://svn.digium.com/svn/asterisk/team/moy/mfcr2" target="_blank">http://svn.digium.com/svn/asterisk/team/moy/mfcr2</a><br>
Repository Root: <a href="http://svn.digium.com/svn/asterisk" target="_blank">http://svn.digium.com/svn/asterisk</a><br>
Repository UUID: 614ede4d-c843-0410-af14-a771ab80d22e<br>
Revision: 135749<br>
Node Kind: directory<br>
Schedule: normal<br>
Last Changed Author: moy<br>
Last Changed Rev: 133394<br>
Last Changed Date: 2008-07-24 10:48:16 +0545 (Thu, 24 Jul 2008)<br></span>
<br>
/etc/zaptel.conf<br><span lang="EN">
span=1,0,0,cas,hdb3<br>
cas=1-15:1001<br>
dchan=16<br>
cas=17-31:1001<br>
<br>
span=2,1,0,cas,hdb3<br>
cas=32-46:1001<br>
dchan=47<br>
cas=48-62:1001<br></span>
<br>
/etc/asterisk/zapata.conf<br>
<br><span lang="EN">
signalling=mfcr2<br>
group=1<br>
mfcr2_variant=itu<br>
mfcr2_get_ani_first=no<br>
mfcr2_max_ani=10<br>
mfcr2_max_dnis=10<br>
mfcr2_category=national_subscriber<br>
mfcr2_logdir=span1<br>
;mfcr2_logging=all<br>
;mfcr2_call_files=yes<br>
context=from-outside_r2<br>
channel => 1-15<br>
channel => 17-31<br>
group=2<br>
signalling=mfcr2<br>
mfcr2_variant=itu<br>
mfcr2_get_ani_first=no<br>
mfcr2_max_ani=10<br>
mfcr2_max_dnis=10<br>
mfcr2_category=national_subscriber<br>
mfcr2_logdir=span2<br>
;mfcr2_logging=all<br>
;mfcr2_call_files=yes<br>
context=from-outside_ntr2<br>
channel => 32-46<br>
channel => 48-62<br></span>
<br>
<br>
Do you think we should upgrade to the latest SVN. But in that case do we have to use DADHI ?<br>
<br>
thanks,<br></span></span></div><br><hr>Want to read Hotmail messages in Outlook? The Wordsmiths show you how. <a href="http://windowslive.com/connect/post/wedowindowslive.spaces.live.com-Blog-cns%2120EE04FBC541789%21167.entry?ocid=TXT_TAGLM_WL_hotmail_092008" target="_blank">Learn Now</a></div>
<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></blockquote></div><br><br clear="all"><br>-- <br>Alexandre C Alencar (Skarmeth)<br>
<a href="http://blog.alexandrealencar.net/">http://blog.alexandrealencar.net/</a><br><a href="http://www.alexandrealencar.net/">http://www.alexandrealencar.net/</a><br><a href="http://people.debian-ce.org/skarmeth/">http://people.debian-ce.org/skarmeth/</a><br>
<br>
</div>