Dear MOY,<br>Here is my setep install asterisk with openR2<br>Install : dahdi-linux-2.2.0.2 ==> dahdi-tools-2.2.0 ==> openr2-1.2.0 ==>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 => 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 => 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>