<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META content="text/html; charset=us-ascii" http-equiv=Content-Type>
<META name=GENERATOR content="MSHTML 8.00.6001.18852"></HEAD>
<BODY>
<DIV dir=ltr align=left><SPAN class=384001416-13012010><FONT color=#0000ff
size=2 face=Arial>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 class=384001416-13012010><FONT color=#0000ff
size=2 face=Arial></FONT></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN class=384001416-13012010><FONT color=#0000ff
size=2 face=Arial>
<P
style="TEXT-INDENT: -0.3in; MARGIN: 0in 0in 0pt 0.25in; mso-list: l0 level1 lfo1; tab-stops: list .25in"
class=MsoNormal><FONT color=#000000><SPAN
style="FONT-FAMILY: 'Courier New'; mso-fareast-font-family: 'Courier New'"><SPAN
style="mso-list: Ignore">1)<SPAN
style="FONT: 7pt 'Times New Roman'">
</SPAN></SPAN></SPAN><SPAN
style="FONT-FAMILY: 'Courier New'; mso-bidi-font-family: 'Times New Roman'">Download
the following Wanpipe driver tarball </SPAN></FONT><SPAN
style="FONT-FAMILY: 'Courier New'; mso-bidi-font-family: 'Times New Roman'"><FONT
color=#000000>wanpipe-<version>.tgz<?xml:namespace prefix = o ns =
"urn:schemas-microsoft-com:office:office" /><o:p></o:p></FONT></SPAN></P>
<P style="TEXT-INDENT: -0.3in; MARGIN: 0in 0in 0pt 0.25in" class=MsoNormal><SPAN
style="FONT-FAMILY: 'Courier New'; mso-bidi-font-family: 'Times New Roman'"><o:p><FONT
color=#000000></FONT></o:p></SPAN></P>
<P
style="TEXT-INDENT: -0.3in; MARGIN: 0in 0in 0pt 0.25in; mso-list: l0 level1 lfo1; tab-stops: list .25in"
class=MsoNormal><FONT color=#000000><SPAN
style="FONT-FAMILY: 'Courier New'; mso-fareast-font-family: 'Courier New'"><SPAN
style="mso-list: Ignore">2)<SPAN
style="FONT: 7pt 'Times New Roman'">
</SPAN></SPAN></SPAN><SPAN
style="FONT-FAMILY: 'Courier New'; mso-bidi-font-family: 'Times New Roman'">Store
the wanpipe-<version>.tgz file in the /opt
folder.<o:p></o:p></SPAN></FONT></P>
<P
style="TEXT-INDENT: -0.3in; MARGIN: 0in 0in 0pt 0.25in; mso-list: l0 level1 lfo1; tab-stops: list .25in"
class=MsoNormal><FONT color=#000000><SPAN
style="FONT-FAMILY: 'Courier New'; mso-fareast-font-family: 'Courier New'"><SPAN
style="mso-list: Ignore">3)<SPAN
style="FONT: 7pt 'Times New Roman'">
</SPAN></SPAN></SPAN><SPAN
style="FONT-FAMILY: 'Courier New'; mso-bidi-font-family: 'Times New Roman'">tar
xvfz wanpipe-<version>.tgz<o:p></o:p></SPAN></FONT></P>
<P
style="TEXT-INDENT: -0.3in; MARGIN: 0in 0in 0pt 0.25in; mso-list: l0 level1 lfo1; tab-stops: list .25in"
class=MsoNormal><FONT color=#000000><SPAN
style="FONT-FAMILY: 'Courier New'; mso-fareast-font-family: 'Courier New'"><SPAN
style="mso-list: Ignore">4)<SPAN
style="FONT: 7pt 'Times New Roman'">
</SPAN></SPAN></SPAN><SPAN
style="FONT-FAMILY: 'Courier New'; mso-bidi-font-family: 'Times New Roman'">cd
wanpipe-<version><o:p></o:p></SPAN></FONT></P>
<P
style="TEXT-INDENT: -0.3in; MARGIN: 0in 0in 0pt 0.25in; mso-list: l0 level1 lfo1; tab-stops: list .25in"
class=MsoNormal><FONT color=#000000><SPAN
style="FONT-FAMILY: 'Courier New'; mso-fareast-font-family: 'Courier New'"><SPAN
style="mso-list: Ignore">5)<SPAN
style="FONT: 7pt 'Times New Roman'">
</SPAN></SPAN></SPAN><SPAN
style="FONT-FAMILY: 'Courier New'; mso-bidi-font-family: 'Times New Roman'">make
openzap<o:p></o:p></SPAN></FONT></P>
<P
style="TEXT-INDENT: -0.3in; MARGIN: 0in 0in 0pt 0.25in; mso-list: l0 level1 lfo1; tab-stops: list .25in"
class=MsoNormal><FONT color=#000000><SPAN
style="FONT-FAMILY: 'Courier New'; mso-fareast-font-family: 'Courier New'"><SPAN
style="mso-list: Ignore">6)<SPAN
style="FONT: 7pt 'Times New Roman'">
</SPAN></SPAN></SPAN><SPAN
style="FONT-FAMILY: 'Courier New'; mso-bidi-font-family: 'Times New Roman'">make
install<o:p></o:p></SPAN></FONT></P>
<P
style="TEXT-INDENT: -0.3in; MARGIN: 0in 0in 0pt 0.25in; mso-list: l0 level1 lfo1; tab-stops: list .25in"
class=MsoNormal><FONT color=#000000><SPAN
style="FONT-FAMILY: 'Courier New'; mso-fareast-font-family: 'Courier New'"><SPAN
style="mso-list: Ignore">7)<SPAN
style="FONT: 7pt 'Times New Roman'">
</SPAN></SPAN></SPAN><SPAN
style="FONT-FAMILY: 'Courier New'; mso-bidi-font-family: 'Times New Roman'">make
install_pri<o:p></o:p></SPAN></FONT></P>
<P
style="TEXT-INDENT: -0.3in; MARGIN: 0in 0in 0pt 0.25in; mso-list: l0 level1 lfo1; tab-stops: list .25in"
class=MsoNormal><FONT color=#000000><SPAN
style="FONT-FAMILY: 'Courier New'; mso-fareast-font-family: 'Courier New'"><SPAN
style="mso-list: Ignore">8)<SPAN
style="FONT: 7pt 'Times New Roman'">
</SPAN></SPAN></SPAN><SPAN
style="FONT-FAMILY: 'Courier New'; mso-bidi-font-family: 'Times New Roman'">wanrouter
hwprobe<SPAN style="mso-spacerun: yes"> </SPAN>//
confirms successful wanpipe installation<o:p></o:p></SPAN></FONT></P>
<P
style="TEXT-INDENT: -0.3in; MARGIN: 0in 0in 0pt 0.25in; mso-list: l0 level1 lfo1; tab-stops: list .25in"
class=MsoNormal><FONT color=#000000><SPAN
style="FONT-FAMILY: 'Courier New'; mso-fareast-font-family: 'Courier New'"><SPAN
style="mso-list: Ignore">9)<SPAN
style="FONT: 7pt 'Times New Roman'">
</SPAN></SPAN></SPAN><SPAN
style="FONT-FAMILY: 'Courier New'; mso-bidi-font-family: 'Times New Roman'">/usr/sbin/wancfg_fs<SPAN
style="mso-spacerun: yes"> </SPAN>// starts wanpipe configuration
utility<o:p></o:p></SPAN></FONT></P>
<P
style="TEXT-INDENT: -0.3in; MARGIN: 0in 0in 0pt 0.25in; mso-list: l0 level1 lfo1; tab-stops: list .25in"
class=MsoNormal><FONT color=#000000><SPAN
style="FONT-FAMILY: 'Courier New'; mso-fareast-font-family: 'Courier New'"><SPAN
style="mso-list: Ignore">10)<SPAN
style="FONT: 7pt 'Times New Roman'"> </SPAN></SPAN></SPAN><SPAN
style="FONT-FAMILY: 'Courier New'; mso-bidi-font-family: 'Times New Roman'">1=NO<SPAN
style="mso-spacerun: yes">
</SPAN>// Change Freeswitch Configuration Directory<o:p></o:p></SPAN></FONT></P>
<P
style="TEXT-INDENT: -0.3in; MARGIN: 0in 0in 0pt 0.25in; mso-list: l0 level1 lfo1; tab-stops: list .25in"
class=MsoNormal><FONT color=#000000><SPAN
style="FONT-FAMILY: 'Courier New'; mso-fareast-font-family: 'Courier New'"><SPAN
style="mso-list: Ignore">11)<SPAN
style="FONT: 7pt 'Times New Roman'"> </SPAN></SPAN></SPAN><SPAN
style="FONT-FAMILY: 'Courier New'; mso-bidi-font-family: 'Times New Roman'">1=T1<SPAN
style="mso-spacerun: yes"> </SPAN><SPAN
style="mso-spacerun: yes"> </SPAN>//
Select Media Type<o:p></o:p></SPAN></FONT></P>
<P
style="TEXT-INDENT: -0.3in; MARGIN: 0in 0in 0pt 0.25in; mso-list: l0 level1 lfo1; tab-stops: list .25in"
class=MsoNormal><FONT color=#000000><SPAN
style="FONT-FAMILY: 'Courier New'; mso-fareast-font-family: 'Courier New'"><SPAN
style="mso-list: Ignore">12)<SPAN
style="FONT: 7pt 'Times New Roman'"> </SPAN></SPAN></SPAN><SPAN
style="FONT-FAMILY: 'Courier New'; mso-bidi-font-family: 'Times New Roman'">1=YES
(keep)<SPAN style="mso-spacerun: yes"> </SPAN>// Configure
Port 1 T1, B8ZS, ESF<o:p></o:p></SPAN></FONT></P>
<P
style="TEXT-INDENT: -0.3in; MARGIN: 0in 0in 0pt 0.25in; mso-list: l0 level1 lfo1; tab-stops: list .25in"
class=MsoNormal><FONT color=#000000><SPAN
style="FONT-FAMILY: 'Courier New'; mso-fareast-font-family: 'Courier New'"><SPAN
style="mso-list: Ignore">13)<SPAN
style="FONT: 7pt 'Times New Roman'"> </SPAN></SPAN></SPAN><SPAN
style="FONT-FAMILY: 'Courier New'; mso-bidi-font-family: 'Times New Roman'">1=NORMAL<SPAN
style="mso-spacerun: yes"> </SPAN>//
Select Clock<o:p></o:p></SPAN></FONT></P>
<P
style="TEXT-INDENT: -0.3in; MARGIN: 0in 0in 0pt 0.25in; mso-list: l0 level1 lfo1; tab-stops: list .25in"
class=MsoNormal><FONT color=#000000><SPAN
style="FONT-FAMILY: 'Courier New'; mso-fareast-font-family: 'Courier New'"><SPAN
style="mso-list: Ignore">14)<SPAN
style="FONT: 7pt 'Times New Roman'"> </SPAN></SPAN></SPAN><SPAN
style="FONT-FAMILY: 'Courier New'; mso-bidi-font-family: 'Times New Roman'">1=NATIONAL<SPAN
style="mso-spacerun: yes"> </SPAN>// Select
Switchtype<o:p></o:p></SPAN></FONT></P>
<P
style="TEXT-INDENT: -0.3in; MARGIN: 0in 0in 0pt 0.25in; mso-list: l0 level1 lfo1; tab-stops: list .25in"
class=MsoNormal><FONT color=#000000><SPAN
style="FONT-FAMILY: 'Courier New'; mso-fareast-font-family: 'Courier New'"><SPAN
style="mso-list: Ignore">15)<SPAN
style="FONT: 7pt 'Times New Roman'"> </SPAN></SPAN></SPAN><SPAN
style="FONT-FAMILY: 'Courier New'; mso-bidi-font-family: 'Times New Roman'">1=CPE<SPAN
style="mso-spacerun: yes">
</SPAN>// Select Signaling Type<o:p></o:p></SPAN></FONT></P>
<P
style="TEXT-INDENT: -0.3in; MARGIN: 0in 0in 0pt 0.25in; mso-list: l0 level1 lfo1; tab-stops: list .25in"
class=MsoNormal><FONT color=#000000><SPAN
style="FONT-FAMILY: 'Courier New'; mso-fareast-font-family: 'Courier New'"><SPAN
style="mso-list: Ignore">16)<SPAN
style="FONT: 7pt 'Times New Roman'"> </SPAN></SPAN></SPAN><SPAN
style="FONT-FAMILY: 'Courier New'; mso-bidi-font-family: 'Times New Roman'">1<SPAN
style="mso-spacerun: yes">
</SPAN>// Input Group #<o:p></o:p></SPAN></FONT></P>
<P
style="TEXT-INDENT: -0.3in; MARGIN: 0in 0in 0pt 0.25in; mso-list: l0 level1 lfo1; tab-stops: list .25in"
class=MsoNormal><FONT color=#000000><SPAN
style="FONT-FAMILY: 'Courier New'; mso-fareast-font-family: 'Courier New'"><SPAN
style="mso-list: Ignore">17)<SPAN
style="FONT: 7pt 'Times New Roman'"> </SPAN></SPAN></SPAN><SPAN
style="FONT-FAMILY: 'Courier New'; mso-bidi-font-family: 'Times New Roman'">1=YES<SPAN
style="mso-spacerun: yes">
</SPAN>// Enable H/W DTMF Detect<o:p></o:p></SPAN></FONT></P>
<P
style="TEXT-INDENT: -0.3in; MARGIN: 0in 0in 0pt 0.25in; mso-list: l0 level1 lfo1; tab-stops: list .25in"
class=MsoNormal><FONT color=#000000><SPAN
style="FONT-FAMILY: 'Courier New'; mso-fareast-font-family: 'Courier New'"><SPAN
style="mso-list: Ignore">18)<SPAN
style="FONT: 7pt 'Times New Roman'"> </SPAN></SPAN></SPAN><SPAN
style="FONT-FAMILY: 'Courier New'; mso-bidi-font-family: 'Times New Roman'">1=YES<SPAN
style="mso-spacerun: yes">
</SPAN>// Enable FAX Detect<o:p></o:p></SPAN></FONT></P>
<P
style="TEXT-INDENT: -0.3in; MARGIN: 0in 0in 0pt 0.25in; mso-list: l0 level1 lfo1; tab-stops: list .25in"
class=MsoNormal><FONT color=#000000><SPAN
style="FONT-FAMILY: 'Courier New'; mso-fareast-font-family: 'Courier New'"><SPAN
style="mso-list: Ignore">19)<SPAN
style="FONT: 7pt 'Times New Roman'"> </SPAN></SPAN></SPAN><SPAN
style="FONT-FAMILY: 'Courier New'; mso-bidi-font-family: 'Times New Roman'">1=YES=CONTINUE<SPAN
style="mso-spacerun: yes"> </SPAN>// Configuration
Complete<o:p></o:p></SPAN></FONT></P>
<P
style="TEXT-INDENT: -0.3in; MARGIN: 0in 0in 0pt 0.25in; mso-list: l0 level1 lfo1; tab-stops: list .25in"
class=MsoNormal><FONT color=#000000><SPAN
style="FONT-FAMILY: 'Courier New'; mso-fareast-font-family: 'Courier New'"><SPAN
style="mso-list: Ignore">20)<SPAN
style="FONT: 7pt 'Times New Roman'"> </SPAN></SPAN></SPAN><SPAN
style="FONT-FAMILY: 'Courier New'; mso-bidi-font-family: 'Times New Roman'">1=YES<SPAN
style="mso-spacerun: yes">
</SPAN>// Save Configuration<o:p></o:p></SPAN></FONT></P>
<P
style="TEXT-INDENT: -0.3in; MARGIN: 0in 0in 0pt 0.25in; mso-list: l0 level1 lfo1; tab-stops: list .25in"
class=MsoNormal><FONT color=#000000><SPAN
style="FONT-FAMILY: 'Courier New'; mso-fareast-font-family: 'Courier New'"><SPAN
style="mso-list: Ignore">21)<SPAN
style="FONT: 7pt 'Times New Roman'"> </SPAN></SPAN></SPAN><SPAN
style="FONT-FAMILY: 'Courier New'; mso-bidi-font-family: 'Times New Roman'">1=YES<SPAN
style="mso-spacerun: yes">
</SPAN>// Wanrouter start on reboot<o:p></o:p></SPAN></FONT></P>
<P
style="TEXT-INDENT: -0.3in; MARGIN: 0in 0in 0pt 0.25in; mso-list: l0 level1 lfo1; tab-stops: list .25in"
class=MsoNormal><FONT color=#000000><SPAN
style="FONT-FAMILY: 'Courier New'; mso-fareast-font-family: 'Courier New'"><SPAN
style="mso-list: Ignore">22)<SPAN
style="FONT: 7pt 'Times New Roman'"> </SPAN></SPAN></SPAN><SPAN
style="FONT-FAMILY: 'Courier New'; mso-bidi-font-family: 'Times New Roman'">1=YES<SPAN
style="mso-spacerun: yes">
</SPAN>// smg_ctrl start/stop on wanrouter start<o:p></o:p></SPAN></FONT></P>
<P
style="TEXT-INDENT: -0.3in; MARGIN: 0in 0in 0pt 0.25in; mso-list: l0 level1 lfo1; tab-stops: list .25in"
class=MsoNormal><FONT color=#000000><SPAN
style="FONT-FAMILY: 'Courier New'; mso-fareast-font-family: 'Courier New'"><SPAN
style="mso-list: Ignore">23)<SPAN
style="FONT: 7pt 'Times New Roman'"> </SPAN></SPAN></SPAN><SPAN
style="FONT-FAMILY: 'Courier New'; mso-bidi-font-family: 'Times New Roman'">Done.<o:p></o:p></SPAN></FONT></P></FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=384001416-13012010><FONT color=#0000ff
size=2 face=Arial></FONT></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN class=384001416-13012010><FONT color=#0000ff
size=2 face=Arial>Jerry</FONT></SPAN></DIV><BR>
<BLOCKQUOTE style="MARGIN-RIGHT: 0px">
<DIV dir=ltr lang=en-us class=OutlookMessageHeader align=left>
<HR tabIndex=-1>
<FONT size=2 face=Tahoma><B>From:</B> Magesh R
[mailto:magesh.freeswitch@gmail.com] <BR><B>Sent:</B> Tuesday, January 12,
2010 8:21 PM<BR><B>To:</B>
freeswitch-users@lists.freeswitch.org<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">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 "wanrouter hwprobe" 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
|<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>Thanks,<BR>Mag<BR><BR><BR>
<BR><BR></BLOCKQUOTE></BODY></HTML>