<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
  <title></title>
</head>
<body bgcolor="#ffffff" text="#000000">
Try with<br>
span 1,1,0<br>
span 2,1,0<br>
span 3,1,0<br>
<br>
the first number it's the span number and have to be sequential <br>
<br>
El 29/09/09 03:59, Huy Tuan escribió:
<blockquote
 cite="mid:26fa7c250909290159i140b552fue703fa15aa98e29b@mail.gmail.com"
 type="cite">Dear MOY,<br>
Here is my setep install asterisk with openR2<br>
Install : dahdi-linux-2.2.0.2 ==&gt; dahdi-tools-2.2.0 ==&gt;
openr2-1.2.0 ==&gt;asterisk-1.4.26.2<br>
  <br>
File config:<br>
  <b>/etc/dahdi/system.config</b><br>
  <br>
  <span style="font-family: courier new,monospace;"># MFC/R2 requires
CAS signaling</span><br style="font-family: courier new,monospace;">
  <span style="font-family: courier new,monospace;">span =
1,1,0,cas,hdb3</span><br style="font-family: courier new,monospace;">
  <span style="font-family: courier new,monospace;">cas = 1-15,
17-31:1101</span><br style="font-family: courier new,monospace;">
  <span style="font-family: courier new,monospace;">dchan = 16</span><br
 style="font-family: courier new,monospace;">
  <br style="font-family: courier new,monospace;">
  <span style="font-family: courier new,monospace;"># MFC/R2 requires
CAS signaling</span><br style="font-family: courier new,monospace;">
  <span style="font-family: courier new,monospace;">span =
1,1,0,cas,hdb3</span><br style="font-family: courier new,monospace;">
  <span style="font-family: courier new,monospace;">cas =
32-46,48-62:1101</span><br style="font-family: courier new,monospace;">
  <span style="font-family: courier new,monospace;">dchan = 47</span><br
 style="font-family: courier new,monospace;">
  <br style="font-family: courier new,monospace;">
  <span style="font-family: courier new,monospace;"># MFC/R2 requires
CAS signaling</span><br style="font-family: courier new,monospace;">
  <span style="font-family: courier new,monospace;">span =
1,1,0,cas,hdb3</span><br style="font-family: courier new,monospace;">
  <span style="font-family: courier new,monospace;">cas =
63-77,79-93:1101</span><br style="font-family: courier new,monospace;">
  <span style="font-family: courier new,monospace;">dchan = 78</span><br
 style="font-family: courier new,monospace;">
  <br style="font-family: courier new,monospace;">
  <span style="font-family: courier new,monospace;"># MFC/R2 requires
CAS signaling</span><br style="font-family: courier new,monospace;">
  <span style="font-family: courier new,monospace;">span =
1,1,0,cas,hdb3</span><br style="font-family: courier new,monospace;">
  <span style="font-family: courier new,monospace;">cas =
94-108,110-124:1101</span><br
 style="font-family: courier new,monospace;">
  <span style="font-family: courier new,monospace;">dchan = 109</span><br
 style="font-family: courier new,monospace;">
  <br style="font-family: courier new,monospace;">
  <span style="font-family: courier new,monospace;">loadzone = us</span><br
 style="font-family: courier new,monospace;">
  <span style="font-family: courier new,monospace;">defaultzone = us</span><br>
  <br>
  <b>/etc/asterisk/chan_dahdi.conf<br>
  <br>
  </b><span style="font-family: courier new,monospace;">[trunkgroups]</span><br
 style="font-family: courier new,monospace;">
  <br style="font-family: courier new,monospace;">
  <span style="font-family: courier new,monospace;">[channels]</span><br
 style="font-family: courier new,monospace;">
  <br style="font-family: courier new,monospace;">
  <span style="font-family: courier new,monospace;">language=en</span><br
 style="font-family: courier new,monospace;">
  <br style="font-family: courier new,monospace;">
  <span style="font-family: courier new,monospace;">context=from-zaptel</span><br
 style="font-family: courier new,monospace;">
  <span style="font-family: courier new,monospace;">protocolclass=mfcr2</span><br
 style="font-family: courier new,monospace;">
  <span style="font-family: courier new,monospace;">protocolvariant=mx,4,4</span><br
 style="font-family: courier new,monospace;">
  <span style="font-family: courier new,monospace;">protocolend=cpe</span><br
 style="font-family: courier new,monospace;">
  <br style="font-family: courier new,monospace;">
  <span style="font-family: courier new,monospace;">usecallerid=yes</span><br
 style="font-family: courier new,monospace;">
  <span style="font-family: courier new,monospace;">hidecallerid=no</span><br
 style="font-family: courier new,monospace;">
  <span style="font-family: courier new,monospace;">callwaiting=yes</span><br
 style="font-family: courier new,monospace;">
  <span style="font-family: courier new,monospace;">usecallingpres=yes</span><br
 style="font-family: courier new,monospace;">
  <span style="font-family: courier new,monospace;">callwaitingcallerid=yes</span><br
 style="font-family: courier new,monospace;">
  <span style="font-family: courier new,monospace;">threewaycalling=yes</span><br
 style="font-family: courier new,monospace;">
  <span style="font-family: courier new,monospace;">transfer=yes</span><br
 style="font-family: courier new,monospace;">
  <span style="font-family: courier new,monospace;">cancallforward=yes</span><br
 style="font-family: courier new,monospace;">
  <span style="font-family: courier new,monospace;">callreturn=yes</span><br
 style="font-family: courier new,monospace;">
  <span style="font-family: courier new,monospace;">echocancel=yes</span><br
 style="font-family: courier new,monospace;">
  <span style="font-family: courier new,monospace;">echotraining=yes</span><br
 style="font-family: courier new,monospace;">
  <span style="font-family: courier new,monospace;">;echocancelwhenbridged=yes</span><br
 style="font-family: courier new,monospace;">
  <span style="font-family: courier new,monospace;">busydetect=yes</span><br
 style="font-family: courier new,monospace;">
  <span style="font-family: courier new,monospace;">busycount=4</span><br
 style="font-family: courier new,monospace;">
  <span style="font-family: courier new,monospace;">rxgain=0.0</span><br
 style="font-family: courier new,monospace;">
  <span style="font-family: courier new,monospace;">txgain=0.0</span><br
 style="font-family: courier new,monospace;">
  <span style="font-family: courier new,monospace;">relaxdtmf=yes</span><br
 style="font-family: courier new,monospace;">
  <span style="font-family: courier new,monospace;">resetinterval=never</span><br
 style="font-family: courier new,monospace;">
  <br style="font-family: courier new,monospace;">
  <span style="font-family: courier new,monospace;">group=1</span><br
 style="font-family: courier new,monospace;">
  <span style="font-family: courier new,monospace;">callgroup=1</span><br
 style="font-family: courier new,monospace;">
  <span style="font-family: courier new,monospace;">pickupgroup=1</span><br
 style="font-family: courier new,monospace;">
  <span style="font-family: courier new,monospace;">immediate=no</span><br
 style="font-family: courier new,monospace;">
  <span style="font-family: courier new,monospace;">channel =&gt;
1-15,17-31</span><br style="font-family: courier new,monospace;">
  <br style="font-family: courier new,monospace;">
  <span style="font-family: courier new,monospace;">group=0</span><br
 style="font-family: courier new,monospace;">
  <span style="font-family: courier new,monospace;">channel =&gt;
32-46,48-62,63-77,79-93,94-108,110-124</span><br
 style="font-family: courier new,monospace;">
  <span style="font-family: courier new,monospace;"></span><b><br>
  </b>Does file config is correct?<br>
What command i use to test channel? (dahdi show channels)<b><br>
  <br>
  </b>Thanks for you help!<br clear="all">
  <br>
-- <br>
Nguyen Huy Tuan<br>
  <pre wrap="">
<hr size="4" width="90%">
_______________________________________________
--Bandwidth and Colocation Provided by <a class="moz-txt-link-freetext" href="http://www.api-digital.com">http://www.api-digital.com</a>--

asterisk-r2 mailing list
To UNSUBSCRIBE or update options visit:
   <a class="moz-txt-link-freetext" href="http://lists.digium.com/mailman/listinfo/asterisk-r2">http://lists.digium.com/mailman/listinfo/asterisk-r2</a></pre>
</blockquote>
<br>
</body>
</html>