Thanks Jerry, for making the wancfg_fs configuration available.<br><br>
<div class="gmail_quote">On Wed, Jan 13, 2010 at 9:45 PM, Jerry Richards <span dir="ltr">&lt;<a href="mailto:jerry.richards@teotech.com">jerry.richards@teotech.com</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid">
<div>
<div dir="ltr" align="left"><span><font face="Arial" color="#0000ff" size="2">Here are my instructions to install the wanpipe driver and I have not had your problem:</font></span></div>
<div dir="ltr" align="left"><span><font face="Arial" color="#0000ff" size="2"></font></span> </div>
<div dir="ltr" align="left"><span><font face="Arial" color="#0000ff" size="2">
<p class="MsoNormal" style="MARGIN: 0in 0in 0pt 0.25in"><font color="#000000"><span style="FONT-FAMILY: &#39;Courier New&#39;"><span>1)<span style="FONT: 7pt &#39;Times New Roman&#39;">       </span></span></span><span style="FONT-FAMILY: &#39;Courier New&#39;">Download the following Wanpipe driver tarball </span></font><span style="FONT-FAMILY: &#39;Courier New&#39;"><font color="#000000">wanpipe-&lt;version&gt;.tgz</font></span></p>

<p class="MsoNormal" style="MARGIN: 0in 0in 0pt 0.25in"><span style="FONT-FAMILY: &#39;Courier New&#39;"><font color="#000000"></font></span></p>
<p class="MsoNormal" style="MARGIN: 0in 0in 0pt 0.25in"><font color="#000000"><span style="FONT-FAMILY: &#39;Courier New&#39;"><span>2)<span style="FONT: 7pt &#39;Times New Roman&#39;">       </span></span></span><span style="FONT-FAMILY: &#39;Courier New&#39;">Store the wanpipe-&lt;version&gt;.tgz file in the /opt folder.</span></font></p>

<p class="MsoNormal" style="MARGIN: 0in 0in 0pt 0.25in"><font color="#000000"><span style="FONT-FAMILY: &#39;Courier New&#39;"><span>3)<span style="FONT: 7pt &#39;Times New Roman&#39;">       </span></span></span><span style="FONT-FAMILY: &#39;Courier New&#39;">tar xvfz wanpipe-&lt;version&gt;.tgz</span></font></p>

<p class="MsoNormal" style="MARGIN: 0in 0in 0pt 0.25in"><font color="#000000"><span style="FONT-FAMILY: &#39;Courier New&#39;"><span>4)<span style="FONT: 7pt &#39;Times New Roman&#39;">       </span></span></span><span style="FONT-FAMILY: &#39;Courier New&#39;">cd wanpipe-&lt;version&gt;</span></font></p>

<p class="MsoNormal" style="MARGIN: 0in 0in 0pt 0.25in"><font color="#000000"><span style="FONT-FAMILY: &#39;Courier New&#39;"><span>5)<span style="FONT: 7pt &#39;Times New Roman&#39;">       </span></span></span><span style="FONT-FAMILY: &#39;Courier New&#39;">make openzap</span></font></p>

<p class="MsoNormal" style="MARGIN: 0in 0in 0pt 0.25in"><font color="#000000"><span style="FONT-FAMILY: &#39;Courier New&#39;"><span>6)<span style="FONT: 7pt &#39;Times New Roman&#39;">       </span></span></span><span style="FONT-FAMILY: &#39;Courier New&#39;">make install</span></font></p>

<p class="MsoNormal" style="MARGIN: 0in 0in 0pt 0.25in"><font color="#000000"><span style="FONT-FAMILY: &#39;Courier New&#39;"><span>7)<span style="FONT: 7pt &#39;Times New Roman&#39;">       </span></span></span><span style="FONT-FAMILY: &#39;Courier New&#39;">make install_pri</span></font></p>

<p class="MsoNormal" style="MARGIN: 0in 0in 0pt 0.25in"><font color="#000000"><span style="FONT-FAMILY: &#39;Courier New&#39;"><span>8)<span style="FONT: 7pt &#39;Times New Roman&#39;">       </span></span></span><span style="FONT-FAMILY: &#39;Courier New&#39;">wanrouter hwprobe<span>     </span>// confirms successful wanpipe installation</span></font></p>

<p class="MsoNormal" style="MARGIN: 0in 0in 0pt 0.25in"><font color="#000000"><span style="FONT-FAMILY: &#39;Courier New&#39;"><span>9)<span style="FONT: 7pt &#39;Times New Roman&#39;">       </span></span></span><span style="FONT-FAMILY: &#39;Courier New&#39;">/usr/sbin/wancfg_fs<span>   </span>// starts wanpipe configuration utility</span></font></p>

<p class="MsoNormal" style="MARGIN: 0in 0in 0pt 0.25in"><font color="#000000"><span style="FONT-FAMILY: &#39;Courier New&#39;"><span>10)<span style="FONT: 7pt &#39;Times New Roman&#39;">   </span></span></span><span style="FONT-FAMILY: &#39;Courier New&#39;">1=NO<span>            </span>// Change Freeswitch Configuration Directory</span></font></p>

<p class="MsoNormal" style="MARGIN: 0in 0in 0pt 0.25in"><font color="#000000"><span style="FONT-FAMILY: &#39;Courier New&#39;"><span>11)<span style="FONT: 7pt &#39;Times New Roman&#39;">   </span></span></span><span style="FONT-FAMILY: &#39;Courier New&#39;">1=T1<span>     </span><span>       </span>// Select Media Type</span></font></p>

<p class="MsoNormal" style="MARGIN: 0in 0in 0pt 0.25in"><font color="#000000"><span style="FONT-FAMILY: &#39;Courier New&#39;"><span>12)<span style="FONT: 7pt &#39;Times New Roman&#39;">   </span></span></span><span style="FONT-FAMILY: &#39;Courier New&#39;">1=YES (keep)<span>    </span>// Configure Port 1 T1, B8ZS, ESF</span></font></p>

<p class="MsoNormal" style="MARGIN: 0in 0in 0pt 0.25in"><font color="#000000"><span style="FONT-FAMILY: &#39;Courier New&#39;"><span>13)<span style="FONT: 7pt &#39;Times New Roman&#39;">   </span></span></span><span style="FONT-FAMILY: &#39;Courier New&#39;">1=NORMAL<span>        </span>// Select Clock</span></font></p>

<p class="MsoNormal" style="MARGIN: 0in 0in 0pt 0.25in"><font color="#000000"><span style="FONT-FAMILY: &#39;Courier New&#39;"><span>14)<span style="FONT: 7pt &#39;Times New Roman&#39;">   </span></span></span><span style="FONT-FAMILY: &#39;Courier New&#39;">1=NATIONAL<span>      </span>// Select Switchtype</span></font></p>

<p class="MsoNormal" style="MARGIN: 0in 0in 0pt 0.25in"><font color="#000000"><span style="FONT-FAMILY: &#39;Courier New&#39;"><span>15)<span style="FONT: 7pt &#39;Times New Roman&#39;">   </span></span></span><span style="FONT-FAMILY: &#39;Courier New&#39;">1=CPE<span>           </span>// Select Signaling Type</span></font></p>

<p class="MsoNormal" style="MARGIN: 0in 0in 0pt 0.25in"><font color="#000000"><span style="FONT-FAMILY: &#39;Courier New&#39;"><span>16)<span style="FONT: 7pt &#39;Times New Roman&#39;">   </span></span></span><span style="FONT-FAMILY: &#39;Courier New&#39;">1<span>               </span>// Input Group #</span></font></p>

<p class="MsoNormal" style="MARGIN: 0in 0in 0pt 0.25in"><font color="#000000"><span style="FONT-FAMILY: &#39;Courier New&#39;"><span>17)<span style="FONT: 7pt &#39;Times New Roman&#39;">   </span></span></span><span style="FONT-FAMILY: &#39;Courier New&#39;">1=YES<span>           </span>// Enable H/W DTMF Detect</span></font></p>

<p class="MsoNormal" style="MARGIN: 0in 0in 0pt 0.25in"><font color="#000000"><span style="FONT-FAMILY: &#39;Courier New&#39;"><span>18)<span style="FONT: 7pt &#39;Times New Roman&#39;">   </span></span></span><span style="FONT-FAMILY: &#39;Courier New&#39;">1=YES<span>           </span>// Enable FAX Detect</span></font></p>

<p class="MsoNormal" style="MARGIN: 0in 0in 0pt 0.25in"><font color="#000000"><span style="FONT-FAMILY: &#39;Courier New&#39;"><span>19)<span style="FONT: 7pt &#39;Times New Roman&#39;">   </span></span></span><span style="FONT-FAMILY: &#39;Courier New&#39;">1=YES=CONTINUE<span>  </span>// Configuration Complete</span></font></p>

<p class="MsoNormal" style="MARGIN: 0in 0in 0pt 0.25in"><font color="#000000"><span style="FONT-FAMILY: &#39;Courier New&#39;"><span>20)<span style="FONT: 7pt &#39;Times New Roman&#39;">   </span></span></span><span style="FONT-FAMILY: &#39;Courier New&#39;">1=YES<span>           </span>// Save Configuration</span></font></p>

<p class="MsoNormal" style="MARGIN: 0in 0in 0pt 0.25in"><font color="#000000"><span style="FONT-FAMILY: &#39;Courier New&#39;"><span>21)<span style="FONT: 7pt &#39;Times New Roman&#39;">   </span></span></span><span style="FONT-FAMILY: &#39;Courier New&#39;">1=YES<span>           </span>// Wanrouter start on reboot</span></font></p>

<p class="MsoNormal" style="MARGIN: 0in 0in 0pt 0.25in"><font color="#000000"><span style="FONT-FAMILY: &#39;Courier New&#39;"><span>22)<span style="FONT: 7pt &#39;Times New Roman&#39;">   </span></span></span><span style="FONT-FAMILY: &#39;Courier New&#39;">1=YES<span>           </span>// smg_ctrl start/stop on wanrouter start</span></font></p>

<p class="MsoNormal" style="MARGIN: 0in 0in 0pt 0.25in"><font color="#000000"><span style="FONT-FAMILY: &#39;Courier New&#39;"><span>23)<span style="FONT: 7pt &#39;Times New Roman&#39;">   </span></span></span><span style="FONT-FAMILY: &#39;Courier New&#39;">Done.</span></font></p>
</font></span></div>
<div dir="ltr" align="left"><span><font face="Arial" color="#0000ff" size="2"></font></span> </div>
<div dir="ltr" align="left"><span><font face="Arial" color="#0000ff" size="2">Jerry</font></span></div><br>
<blockquote style="MARGIN-RIGHT: 0px">
<div lang="en-us" dir="ltr" align="left">
<hr>
<font face="Tahoma" size="2"><b>From:</b> Magesh R [mailto:<a href="mailto:magesh.freeswitch@gmail.com" target="_blank">magesh.freeswitch@gmail.com</a>] <br><b>Sent:</b> Tuesday, January 12, 2010 8:21 PM<br><b>To:</b> <a href="mailto:freeswitch-users@lists.freeswitch.org" target="_blank">freeswitch-users@lists.freeswitch.org</a><br>
<b>Subject:</b> [Freeswitch-users] Sangoma PRI installation for FreeSWITCH<br></font><br></div>
<div></div>Dear All,<br>         I have installed Sangoma PRI card in machine with following steps,<br>                 * wget <a href="ftp://ftp.sangoma.com/linux/custom/3.5/wanpipe-3.5.8.7.tgz" target="_blank">ftp://ftp.sangoma.com/linux/custom/3.5/wanpipe-3.5.8.7.tgz</a><br>
                 * tar -xvfz wanpipe-3.5.8.7.tgz<br>                 * cd wanpipe-3.5.8.7<br>                 * make openzap<br>                 * make install<br>                 * make install_pri<br>      <br>           I have executed &quot;wanrouter hwprobe&quot; command it prints the following details,<br>
    <br>           1 . AFT-A102-SH : SLOT=4 : BUS=3 : IRQ=11 : CPU=A : PORT=1 : HWEC=0 : V=36<br>           2 . AFT-A102-SH : SLOT=4 : BUS=3 : IRQ=11 : CPU=A : PORT=2 : HWEC=0 : V=36<br>        <br>        Card Cnt: A101-2=1<br>
<br>       Next I have executed wancfg_fs script to configure the sangoma for freeswitch. <br>It creates the following configuration files<br>                     * wanpipe1.conf <br>                     * wanpipe2.conf<br>
                     * smg_prid.conf<br>                     * openzap.conf<br>                     * openzap.conf.xml <br>       I have attached those files.<br>       I have started the wanrouter and printed the wanrouter status,<br>
              Wanrouter Status:<br><br>Device name | Protocol | Station | Status        |<br>wanpipe1    | AFT TE1  | N/A     | Connected     |<br>wanpipe2    | AFT TE1  | N/A     | Disconnected  | 
<div class="im"><br><br>      Next I have started the smg_ctrl, but it failed to start. It prints the following things,<br>smg_ctrl start<br><br>Starting processes...<br>Loading SCTP...OK<br>Starting sangoma_prid...OK<br>
sangoma_prid failed to start<br>check /var/log/sangoma_mgd.log for errors<br><br>Stopping running processes...<br>safe_sangoma not running...<br>sangoma_prid is stopped<br>Removing PID files...done<br><br>I have checked /var/log/sangoma_mgd.log file. But nothing was there.<br>
<br>Could any please tell me where I made mistake?<br><br></div>Thanks,<br>Mag<br><br><br>              <br><br></blockquote></div><br>_______________________________________________<br>FreeSWITCH-users mailing list<br><a href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a><br>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
<a href="http://www.freeswitch.org/" target="_blank">http://www.freeswitch.org</a><br><br></blockquote></div><br>