<html dir="ltr"><head>
<meta http-equiv="Content-Type" content="text/html; charset=Windows-1252">
<style>.hmmessage P {
        PADDING-BOTTOM: 0px; PADDING-TOP: 0px; PADDING-LEFT: 0px; MARGIN: 0px; PADDING-RIGHT: 0px
}
BODY.hmmessage {
        FONT-SIZE: 12pt; FONT-FAMILY: Calibri
}
</style>
<meta name="GENERATOR" content="MSHTML 10.00.9200.16660">
<style id="owaTempEditStyle"></style><style title="owaParaStyle"><!--P {
        MARGIN-BOTTOM: 0px; MARGIN-TOP: 0px
}
--></style>
</head>
<body class="hmmessage" ocsi="x">
<div style="FONT-SIZE: x-small; FONT-FAMILY: Tahoma; COLOR: #000000; DIRECTION: ltr">
<div>Beatriz</div>
<div><font face="calibri"></font>&nbsp;</div>
<div><font face="calibri"><a></a><font face="calibri">Podrías</font>&nbsp;indicar en que&nbsp;versión<a></a> de&nbsp;Asterisk<a></a><a></a> la que tiene instalada la placa&nbsp;Digium<a></a><a></a> te ha funcionado?</font></div>
<div><font face="calibri"><a></a><font face="calibri">También</font>&nbsp;con las configuraciones.</font></div>
<div>
<div><font size="2" face="Tahoma">Mc&nbsp;GRATH<a></a><a></a> Ricardo</font></div>
<div><font size="2" face="tahoma">E-Mail<a></a><a></a> <a href="mailto:mcgrathr@mail2web.com">
mcgrathr@mail2web.com</a><a></a><a></a></font></div>
</div>
<div dir="ltr"><font color="#000000" size="2" face="Tahoma"></font>&nbsp;</div>
<div id="divRpF59846" style="DIRECTION: ltr">
<hr tabindex="-1">
<font color="#000000" size="2" face="Tahoma"><b>From:</b> asterisk-r2-bounces@lists.digium.com [asterisk-r2-bounces@lists.digium.com] On Behalf Of Beatriz Belmar [beab2001@hotmail.com]<br>
<b>Sent:</b> 12 September 2013 12:14<br>
<b>To:</b> asterisk-r2@lists.digium.com; Beatriz Belmar<br>
<b>Subject:</b> [asterisk-r2] Problemas de instalación de Asterisk 1.8 con Astribank de Xorcom<br>
</font><br>
</div>
<div></div>
<div>
<div dir="ltr"><br>
<p class="MsoNormal"><span lang="ES">Buenos días, </span></p>
<p class="MsoNormal"><span lang="ES"><br>
</span></p>
<p class="MsoNormal"><span lang="ES">Estoy tratando de configurar el Astribank – Multi PRI modelo XR0111 de Xorcom sin éxito.
</span></p>
<p class="MsoNormal"><span lang="ES"><br>
</span></p>
<p class="MsoNormal"><span lang="ES">Las librerías que estoy utilizando con sus respectivas versiones son las siguientes:</span></p>
<p class="MsoNormal"><span lang="ES"><br>
</span></p>
<p class="MsoListParagraphCxSpFirst" style="TEXT-INDENT: -18pt"><span lang="EN-US">-<span style="FONT-SIZE: 7pt; FONT-FAMILY: 'Times New Roman'">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
</span></span><span lang="EN-US">Asterisk &nbsp;/ certified-asterisk-1.8.15</span></p>
<p class="MsoListParagraphCxSpMiddle" style="TEXT-INDENT: -18pt"><span lang="EN-US">-<span style="FONT-SIZE: 7pt; FONT-FAMILY: 'Times New Roman'">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
</span></span><span lang="EN-US">Dahdi / 2.7</span></p>
<p class="MsoListParagraphCxSpMiddle" style="TEXT-INDENT: -18pt"><span lang="EN-US">-<span style="FONT-SIZE: 7pt; FONT-FAMILY: 'Times New Roman'">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
</span></span><span lang="EN-US">Iksemel / 1.4</span></p>
<p class="MsoListParagraphCxSpMiddle" style="TEXT-INDENT: -18pt"><span lang="EN-US">-<span style="FONT-SIZE: 7pt; FONT-FAMILY: 'Times New Roman'">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
</span></span><span lang="EN-US">Libical / 0.44</span></p>
<p class="MsoListParagraphCxSpMiddle" style="TEXT-INDENT: -18pt"><span lang="EN-US">-<span style="FONT-SIZE: 7pt; FONT-FAMILY: 'Times New Roman'">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
</span></span><span lang="EN-US">Libpri / 1.4.14</span></p>
<p class="MsoListParagraphCxSpMiddle" style="TEXT-INDENT: -18pt"><span lang="EN-US">-<span style="FONT-SIZE: 7pt; FONT-FAMILY: 'Times New Roman'">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
</span></span><span lang="EN-US">Openr2 / 1.3.3</span></p>
<p class="MsoListParagraphCxSpMiddle" style="TEXT-INDENT: -18pt">-<span style="FONT-SIZE: 7pt; FONT-FAMILY: 'Times New Roman'">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
</span>CentOS&nbsp; / 6.4</p>
<p class="MsoListParagraphCxSpLast" style="TEXT-INDENT: -18pt">-<span style="FONT-SIZE: 7pt; FONT-FAMILY: 'Times New Roman'">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
</span>Kernel / &nbsp;2.6.32-358.14.1.el6.x86_64</p>
<p class="MsoListParagraphCxSpLast" style="TEXT-INDENT: -18pt"><br>
</p>
<p class="MsoNormal">Cuando ejecuto el comando dahdi_tool puedo observar que si se está efectuando la llamada pero no se concreta (0001 – 1101). La llamada llega a la operadora telefónica pero me indican que los dígitos no están llegando, solo pueden ver la
 ocupación del canal. </p>
<p class="MsoNormal"><br>
</p>
<p class="MsoNormal">La configuración que tengo en los archivos es la siguiente:</p>
<p class="MsoNormal"><br>
</p>
<p class="MsoListParagraphCxSpFirst" style="TEXT-INDENT: -18pt">-<span style="FONT-SIZE: 7pt; FONT-FAMILY: 'Times New Roman'">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
</span><b>/etc/dahdi/system.conf:</b></p>
<p class="MsoListParagraphCxSpMiddle">&nbsp;</p>
<p class="MsoListParagraphCxSpMiddle"><span lang="EN-US"># Span 1: XBUS-00/XPD-00 &quot;Xorcom XPD [usb:X1047071].1: E1&quot; (MASTER) HDB3/ ClockSource</span></p>
<p class="MsoListParagraphCxSpMiddle">span=1,1,0,cas,hdb3 </p>
<p class="MsoListParagraphCxSpMiddle">cas=1-15:1101</p>
<p class="MsoListParagraphCxSpMiddle">cas=17-31:1101</p>
<p class="MsoListParagraphCxSpMiddle">bchan=16</p>
<p class="MsoListParagraphCxSpMiddle">&nbsp;</p>
<p class="MsoListParagraphCxSpMiddle" style="TEXT-INDENT: -18pt">-<span style="FONT-SIZE: 7pt; FONT-FAMILY: 'Times New Roman'">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
</span><b>/etc/dahdi/xpp.conf</b></p>
<p class="MsoListParagraphCxSpMiddle">&nbsp;</p>
<p class="MsoListParagraphCxSpMiddle"><span lang="EN-US"># /etc/dahdi/xpp.conf</span></p>
<p class="MsoListParagraphCxSpMiddle"><span lang="EN-US">#</span></p>
<p class="MsoListParagraphCxSpMiddle"><span lang="EN-US"># This file is used to configure the operation</span></p>
<p class="MsoListParagraphCxSpMiddle"><span lang="EN-US"># of init_card_* initialization scripts.</span></p>
<p class="MsoListParagraphCxSpMiddle"><span lang="EN-US">#</span></p>
<p class="MsoListParagraphCxSpMiddle"><span lang="EN-US"></span>&nbsp;</p>
<p class="MsoListParagraphCxSpMiddle"><span lang="EN-US"># pri_protocol: is an XPP PRI device E1 (default) or T1?</span></p>
<p class="MsoListParagraphCxSpMiddle"><span lang="EN-US">#pri_protocol&nbsp;&nbsp; E1</span></p>
<p class="MsoListParagraphCxSpMiddle"><span lang="EN-US">#</span></p>
<p class="MsoListParagraphCxSpMiddle"><span lang="EN-US"># Alternatively you can set this on a port by port basis if you have a strange</span></p>
<p class="MsoListParagraphCxSpMiddle"><span lang="EN-US"># setup where some of the ports are E1 and some are T1. These specific</span></p>
<p class="MsoListParagraphCxSpMiddle"><span lang="EN-US"># settings will override the default set above.</span></p>
<p class="MsoListParagraphCxSpMiddle">#pri_protocol/XBUS-00/XPD-00&nbsp;&nbsp;&nbsp; E1</p>
<p class="MsoListParagraphCxSpMiddle">#pri_protocol/connector:usb-0000:00:1d.7-2/XPD-00&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; E1</p>
<p class="MsoListParagraphCxSpMiddle">#pri_protocol/label:usb:X1047072/XPD-00 E1</p>
<p class="MsoListParagraphCxSpMiddle">&nbsp;</p>
<p class="MsoListParagraphCxSpMiddle"><span lang="EN-US"># International settings for the XPP FXO module. This is similar to the</span></p>
<p class="MsoListParagraphCxSpMiddle"><span lang="EN-US"># 'opermode' kernel module of wctdm and wctdm24xxp . The default value</span></p>
<p class="MsoListParagraphCxSpMiddle"><span lang="EN-US"># is 'FCC' (US settings).</span></p>
<p class="MsoListParagraphCxSpMiddle"><span lang="EN-US">#</span></p>
<p class="MsoListParagraphCxSpMiddle"><span lang="EN-US"># The valid settings can be shown by running the init_card_2_30 script with</span></p>
<p class="MsoListParagraphCxSpMiddle"><span lang="EN-US"># the '-L' option. For example:</span></p>
<p class="MsoListParagraphCxSpMiddle"><span lang="EN-US"># /usr/share/dahdi/init_card_2_30 -L</span></p>
<p class="MsoListParagraphCxSpMiddle"><span lang="EN-US">#</span></p>
<p class="MsoListParagraphCxSpMiddle"><span lang="EN-US">#opermode&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; VE</span></p>
<p class="MsoListParagraphCxSpMiddle"><span lang="EN-US"></span>&nbsp;</p>
<p class="MsoListParagraphCxSpMiddle"><span lang="EN-US"># Set this to enable debug mode for the scripts:</span></p>
<p class="MsoListParagraphCxSpMiddle"><span lang="EN-US">#debug&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 1</span></p>
<p class="MsoListParagraphCxSpMiddle"><span lang="EN-US">#</span></p>
<p class="MsoListParagraphCxSpMiddle"><span lang="EN-US"># Skip the long calibration of the FXS modules. This saves time, but</span></p>
<p class="MsoListParagraphCxSpMiddle"><span lang="EN-US"># makes the units consume much more power and hence highly unreocmmended</span></p>
<p class="MsoListParagraphCxSpMiddle"># and unsupported.</p>
<p class="MsoListParagraphCxSpLast">#fxs_skip_calib 1</p>
<p class="MsoNormal">&nbsp;</p>
<p class="MsoListParagraphCxSpFirst" style="TEXT-INDENT: -18pt">-<span style="FONT-SIZE: 7pt; FONT-FAMILY: 'Times New Roman'">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
</span><b>/etc/dahdi/modules</b></p>
<p class="MsoListParagraphCxSpMiddle">&nbsp;</p>
<p class="MsoListParagraphCxSpMiddle"># Xorcom Astribank Devices</p>
<p class="MsoListParagraphCxSpLast">xpp_usb</p>
<p class="MsoNormal">&nbsp;</p>
<p class="MsoListParagraphCxSpFirst" style="TEXT-INDENT: -18pt">-<span style="FONT-SIZE: 7pt; FONT-FAMILY: 'Times New Roman'">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
</span><b>/etc/asterisk/chan_dahdi.conf</b></p>
<p class="MsoListParagraphCxSpMiddle">&nbsp;</p>
<p class="MsoListParagraphCxSpMiddle">[channels]</p>
<p class="MsoListParagraphCxSpMiddle">&nbsp;</p>
<p class="MsoListParagraphCxSpMiddle">#include dahdi-channels.conf</p>
<p class="MsoListParagraphCxSpMiddle">&nbsp;</p>
<p class="MsoListParagraphCxSpMiddle" style="TEXT-INDENT: -18pt"><span lang="EN-US">-<span style="FONT-SIZE: 7pt; FONT-FAMILY: 'Times New Roman'">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
</span></span><b><span lang="EN-US">/etc/asterisk/ dahdi-channels.conf</span></b></p>
<p class="MsoListParagraphCxSpMiddle"><span lang="EN-US"></span>&nbsp;</p>
<p class="MsoListParagraphCxSpMiddle"><span lang="EN-US">signalling=mfcr2</span></p>
<p class="MsoListParagraphCxSpMiddle"><span lang="EN-US">mfcr2_variant=ve</span></p>
<p class="MsoListParagraphCxSpMiddle"><span lang="EN-US">mfcr2_get_ani_first=no</span></p>
<p class="MsoListParagraphCxSpMiddle"><span lang="EN-US">mfcr2_max_ani=10</span></p>
<p class="MsoListParagraphCxSpMiddle"><span lang="EN-US">mfcr2_max_dnis=4</span></p>
<p class="MsoListParagraphCxSpMiddle"><span lang="EN-US">mfcr2_category=national_subscriber</span></p>
<p class="MsoListParagraphCxSpMiddle"><span lang="EN-US">mfcr2_mfback_timeout=-1</span></p>
<p class="MsoListParagraphCxSpMiddle"><span lang="EN-US">mfcr2_metering_pulse_timeout=-1
</span></p>
<p class="MsoListParagraphCxSpMiddle"><span lang="EN-US">mfcr2_logdir=log</span></p>
<p class="MsoListParagraphCxSpMiddle"><span lang="EN-US">mfcr2_logging=all </span>
</p>
<p class="MsoListParagraphCxSpMiddle"><span lang="EN-US">context=from-pstn</span></p>
<p class="MsoListParagraphCxSpMiddle"><span lang="EN-US">group=1</span></p>
<p class="MsoListParagraphCxSpMiddle"><span lang="EN-US">restrictcid=yes</span></p>
<p class="MsoListParagraphCxSpMiddle"><span lang="EN-US">hidecallerid=yes</span></p>
<p class="MsoListParagraphCxSpMiddle"><span lang="EN-US">channel =&gt; 1-15</span></p>
<p class="MsoListParagraphCxSpMiddle"><span lang="EN-US">channel =&gt; 17-31</span></p>
<p class="MsoListParagraphCxSpMiddle"><span lang="EN-US"></span>&nbsp;</p>
<p class="MsoListParagraphCxSpMiddle" style="TEXT-INDENT: -18pt"><span lang="EN-US">-<span style="FONT-SIZE: 7pt; FONT-FAMILY: 'Times New Roman'">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
</span></span><b><span lang="EN-US">/etc/asterisk/extension.conf</span></b></p>
<p class="MsoListParagraphCxSpMiddle"><span lang="EN-US"></span>&nbsp;</p>
<p class="MsoListParagraphCxSpMiddle">[movistar]</p>
<p class="MsoListParagraphCxSpMiddle">&nbsp;</p>
<p class="MsoListParagraphCxSpMiddle">exten =&gt; _XXXXXXX.,1,Dial(DAHDI/g1/${EXTEN})</p>
<p class="MsoListParagraphCxSpLast">same =&gt; n,Hangup</p>
<p class="MsoListParagraphCxSpLast"><br>
</p>
<p class="MsoListParagraphCxSpLast"><br>
</p>
<p class="MsoListParagraphCxSpLast">El debug de R2 al realizar la llamada me devuelve lo siguiente:</p>
<p class="MsoListParagraphCxSpLast"><br>
</p>
<p class="MsoNormal"><span lang="EN-US">[09:37:15:157] [Thread: 140261339698944] [Chan 1] - Call started at Thu Sep 12 09:37:15 2013 on chan 1 [openr2 version 1.3.3, revision (release)]</span></p>
<p class="MsoNormal"><span lang="EN-US">[09:37:15:157] [Thread: 140261339698944] [Chan 1] - Outgoing call proceeding: ANI=(restricted), DNIS=9077333, Category=National Subscriber</span></p>
<p class="MsoNormal"><span lang="EN-US">[09:37:15:157] [Thread: 140261339698944] [Chan 1] - CAS Tx &gt;&gt; [SEIZE] 0x00</span></p>
<p class="MsoNormal"><span lang="EN-US">[09:37:15:157] [Thread: 140261339698944] [Chan 1] - CAS Raw Tx &gt;&gt; 0x01</span></p>
<p class="MsoNormal"><span lang="EN-US">[09:37:15:157] [Thread: 140261339698944] [Chan 1] - scheduled timer id 2 (r2_seize)</span></p>
<p class="MsoNormal"><span lang="EN-US">[09:37:15:187] [Thread: 140261339698944] [Chan 1] - Bits changed from 0x08 to 0x0C</span></p>
<p class="MsoNormal"><span lang="EN-US">[09:37:15:188] [Thread: 140261339698944] [Chan 1] - CAS Rx &lt;&lt; [SEIZE ACK] 0x0C</span></p>
<p class="MsoNormal"><span lang="EN-US">[09:37:15:188] [Thread: 140261339698944] [Chan 1] - Attempting to cancel timer timer 2</span></p>
<p class="MsoNormal"><span lang="EN-US">[09:37:15:188] [Thread: 140261339698944] [Chan 1] - timer id 2 found, cancelling it now</span></p>
<p class="MsoNormal"><span lang="EN-US">[09:37:15:188] [Thread: 140261339698944] [Chan 1] - MFC/R2 call acknowledge!</span></p>
<p class="MsoNormal"><span lang="EN-US">[09:37:15:188] [Thread: 140261339698944] [Chan 1] - Sending DNIS digit 9</span></p>
<p class="MsoNormal"><span lang="EN-US">[09:37:15:188] [Thread: 140261339698944] [Chan 1] - MF Tx &gt;&gt; 9 [ON]</span></p>
<p class="MsoNormal"><span lang="EN-US">[09:37:32:880] [Thread: 140261339698944] [Chan 1] - Attempting to cancel timer timer 0</span></p>
<p class="MsoNormal"><span lang="EN-US">[09:37:32:880] [Thread: 140261339698944] [Chan 1] - Cannot cancel timer 0</span></p>
<p class="MsoNormal"><span lang="EN-US">[09:37:32:880] [Thread: 140261339698944] [Chan 1] - CAS Tx &gt;&gt; [CLEAR FORWARD] 0x08</span></p>
<p class="MsoNormal"><span lang="EN-US">[09:37:32:880] [Thread: 140261339698944] [Chan 1] - CAS Raw Tx &gt;&gt; 0x09</span></p>
<p class="MsoNormal"><span lang="EN-US">[09:37:32:911] [Thread: 140262761285376] [Chan 1] - Bits changed from 0x0C to 0x08</span></p>
<p class="MsoNormal"><span lang="EN-US">[09:37:32:911] [Thread: 140262761285376] [Chan 1] - CAS Rx &lt;&lt; [IDLE] 0x08</span></p>
<p class="MsoNormal"><span lang="EN-US">[09:37:32:911] [Thread: 140262761285376] [Chan 1] - Call ended</span></p>
<p class="MsoNormal"><span lang="EN-US">[09:37:32:911] [Thread: 140262761285376] [Chan 1] - Attempting to cancel timer timer 0</span></p>
<p class="MsoListParagraphCxSpLast"></p>
<p class="MsoNormal"><span lang="EN-US">[09:37:32:911] [Thread: 140262761285376] [Chan 1] - Cannot cancel timer 0</span></p>
<p class="MsoNormal"><span lang="EN-US"><br>
</span></p>
<p class="MsoNormal"><span lang="EN-US"><br>
</span></p>
<p class="MsoNormal"><span lang="EN-US"><br>
</span></p>
<p class="MsoNormal">Quisiera su ayuda &nbsp;a saber que otra configuración me hace falta para que el Astribank funcione de manera correcta.</p>
<p class="MsoNormal"><br>
</p>
<p class="MsoNormal">Esta misma configuración la aplique en un Asterisk con las mismas características pero con una tarjeta de E1 marca Digium y funciono correctamente.</p>
<p class="MsoNormal"><br>
</p>
<p class="MsoNormal">Muchas gracias.</p>
<p class="MsoNormal"><br>
</p>
<p class="MsoNormal">Saludos,</p>
<p class="MsoNormal"><br>
</p>
<p class="MsoNormal">Beatriz Belmar</p>
<p class="MsoNormal">bbelmar@wtfe.com</p>
<div>&nbsp;</div>
</div>
</div>
</div>
</body>
</html>