Sangoma PRI installation for FreeSWITCH
Dear All, I have installed Sangoma PRI card in machine with following steps, * wget ftp://ftp.sangoma.com/linux/custom/3.5/wanpipe-3.5.8.7.tgz * tar -xvfz wanpipe-3.5.8.7.tgz * cd wanpipe-3.5.8.7 * make openzap * make install * make install_pri I have executed "wanrouter hwprobe" command it prints the following details, 1 . AFT-A102-SH : SLOT=4 : BUS=3 : IRQ=11 : CPU=A : PORT=1 : HWEC=0 : V=36 2 . AFT-A102-SH : SLOT=4 : BUS=3 : IRQ=11 : CPU=A : PORT=2 : HWEC=0 : V=36 Card Cnt: A101-2=1 Next I have executed wancfg_fs script to configure the sangoma for freeswitch. It creates the following configuration files * wanpipe1.conf * wanpipe2.conf * smg_prid.conf * openzap.conf * openzap.conf.xml I have attached those files. I have started the wanrouter and printed the wanrouter status, Wanrouter Status: Device name | Protocol | Station | Status | wanpipe1 | AFT TE1 | N/A | Connected | wanpipe2 | AFT TE1 | N/A | Disconnected | Next I have started the smg_ctrl, but it failed to start. It prints the following things, smg_ctrl start Starting processes... Loading SCTP...OK Starting sangoma_prid...OK sangoma_prid failed to start check /var/log/sangoma_mgd.log for errors Stopping running processes... safe_sangoma not running... sangoma_prid is stopped Removing PID files...done I have checked /var/log/sangoma_mgd.log file. But nothing was there. Could any please tell me where I made mistake? Thanks, Mag
Hi Magesh, On Tue, Jan 12, 2010 at 11:21 PM, Magesh R <magesh.freeswitch@gmail.com>wrote:
Next I have started the smg_ctrl, but it failed to start. It prints the following things, smg_ctrl start
Starting processes... Loading SCTP...OK Starting sangoma_prid...OK sangoma_prid failed to start check /var/log/sangoma_mgd.log for errors
Stopping running processes... safe_sangoma not running... sangoma_prid is stopped Removing PID files...done
I have checked /var/log/sangoma_mgd.log file. But nothing was there.
Could any please tell me where I made mistake?
Check that you have local2.* /var/log/sangoma_mgd.log in your syslog configuration (which Linux distribution are you using?), and then restart the syslog service, otherwise nothing will be logged. If you still can't get the logs after doing that, you can try to start manually sangoma_prid by doing this: # export LD_LIBRARY_PATH=/usr/lib/sangoma_prid # /usr/sbin/sangoma_prid &> /tmp/sangoma_prid.log This will try to start sangoma_prid and save all the output to /tmp/sangoma_prid.log, try doing that and then paste ( http://pastebin.freeswitch.org/) the resulting log. -- Moises Silva Senior Software Engineer Sangoma Technologies Inc. | 50 McIntosh Drive, Suite 120, Markham ON L3R 9T3 Canada t. 1 905 474 1990 x 128 | e. moy@sangoma.com
Here are my instructions to install the wanpipe driver and I have not had your problem: 1) Download the following Wanpipe driver tarball wanpipe-<version>.tgz 2) Store the wanpipe-<version>.tgz file in the /opt folder. 3) tar xvfz wanpipe-<version>.tgz 4) cd wanpipe-<version> 5) make openzap 6) make install 7) make install_pri 8) wanrouter hwprobe // confirms successful wanpipe installation 9) /usr/sbin/wancfg_fs // starts wanpipe configuration utility 10) 1=NO // Change Freeswitch Configuration Directory 11) 1=T1 // Select Media Type 12) 1=YES (keep) // Configure Port 1 T1, B8ZS, ESF 13) 1=NORMAL // Select Clock 14) 1=NATIONAL // Select Switchtype 15) 1=CPE // Select Signaling Type 16) 1 // Input Group # 17) 1=YES // Enable H/W DTMF Detect 18) 1=YES // Enable FAX Detect 19) 1=YES=CONTINUE // Configuration Complete 20) 1=YES // Save Configuration 21) 1=YES // Wanrouter start on reboot 22) 1=YES // smg_ctrl start/stop on wanrouter start 23) Done. Jerry _____ From: Magesh R [mailto:magesh.freeswitch@gmail.com] Sent: Tuesday, January 12, 2010 8:21 PM To: freeswitch-users@lists.freeswitch.org Subject: [Freeswitch-users] Sangoma PRI installation for FreeSWITCH Dear All, I have installed Sangoma PRI card in machine with following steps, * wget ftp://ftp.sangoma.com/linux/custom/3.5/wanpipe-3.5.8.7.tgz * tar -xvfz wanpipe-3.5.8.7.tgz * cd wanpipe-3.5.8.7 * make openzap * make install * make install_pri I have executed "wanrouter hwprobe" command it prints the following details, 1 . AFT-A102-SH : SLOT=4 : BUS=3 : IRQ=11 : CPU=A : PORT=1 : HWEC=0 : V=36 2 . AFT-A102-SH : SLOT=4 : BUS=3 : IRQ=11 : CPU=A : PORT=2 : HWEC=0 : V=36 Card Cnt: A101-2=1 Next I have executed wancfg_fs script to configure the sangoma for freeswitch. It creates the following configuration files * wanpipe1.conf * wanpipe2.conf * smg_prid.conf * openzap.conf * openzap.conf.xml I have attached those files. I have started the wanrouter and printed the wanrouter status, Wanrouter Status: Device name | Protocol | Station | Status | wanpipe1 | AFT TE1 | N/A | Connected | wanpipe2 | AFT TE1 | N/A | Disconnected | Next I have started the smg_ctrl, but it failed to start. It prints the following things, smg_ctrl start Starting processes... Loading SCTP...OK Starting sangoma_prid...OK sangoma_prid failed to start check /var/log/sangoma_mgd.log for errors Stopping running processes... safe_sangoma not running... sangoma_prid is stopped Removing PID files...done I have checked /var/log/sangoma_mgd.log file. But nothing was there. Could any please tell me where I made mistake? Thanks, Mag
Thanks Jerry, for making the wancfg_fs configuration available. On Wed, Jan 13, 2010 at 9:45 PM, Jerry Richards <jerry.richards@teotech.com>wrote:
Here are my instructions to install the wanpipe driver and I have not had your problem:
1) Download the following Wanpipe driver tarball wanpipe-<version>.tgz
2) Store the wanpipe-<version>.tgz file in the /opt folder.
3) tar xvfz wanpipe-<version>.tgz
4) cd wanpipe-<version>
5) make openzap
6) make install
7) make install_pri
8) wanrouter hwprobe // confirms successful wanpipe installation
9) /usr/sbin/wancfg_fs // starts wanpipe configuration utility
10) 1=NO // Change Freeswitch Configuration Directory
11) 1=T1 // Select Media Type
12) 1=YES (keep) // Configure Port 1 T1, B8ZS, ESF
13) 1=NORMAL // Select Clock
14) 1=NATIONAL // Select Switchtype
15) 1=CPE // Select Signaling Type
16) 1 // Input Group #
17) 1=YES // Enable H/W DTMF Detect
18) 1=YES // Enable FAX Detect
19) 1=YES=CONTINUE // Configuration Complete
20) 1=YES // Save Configuration
21) 1=YES // Wanrouter start on reboot
22) 1=YES // smg_ctrl start/stop on wanrouter start
23) Done.
Jerry
------------------------------ *From:* Magesh R [mailto:magesh.freeswitch@gmail.com] *Sent:* Tuesday, January 12, 2010 8:21 PM *To:* freeswitch-users@lists.freeswitch.org *Subject:* [Freeswitch-users] Sangoma PRI installation for FreeSWITCH
Dear All, I have installed Sangoma PRI card in machine with following steps, * wget ftp://ftp.sangoma.com/linux/custom/3.5/wanpipe-3.5.8.7.tgz * tar -xvfz wanpipe-3.5.8.7.tgz * cd wanpipe-3.5.8.7 * make openzap * make install * make install_pri
I have executed "wanrouter hwprobe" command it prints the following details,
1 . AFT-A102-SH : SLOT=4 : BUS=3 : IRQ=11 : CPU=A : PORT=1 : HWEC=0 : V=36 2 . AFT-A102-SH : SLOT=4 : BUS=3 : IRQ=11 : CPU=A : PORT=2 : HWEC=0 : V=36
Card Cnt: A101-2=1
Next I have executed wancfg_fs script to configure the sangoma for freeswitch. It creates the following configuration files * wanpipe1.conf * wanpipe2.conf * smg_prid.conf * openzap.conf * openzap.conf.xml I have attached those files. I have started the wanrouter and printed the wanrouter status, Wanrouter Status:
Device name | Protocol | Station | Status | wanpipe1 | AFT TE1 | N/A | Connected | wanpipe2 | AFT TE1 | N/A | Disconnected |
Next I have started the smg_ctrl, but it failed to start. It prints the following things, smg_ctrl start
Starting processes... Loading SCTP...OK Starting sangoma_prid...OK sangoma_prid failed to start check /var/log/sangoma_mgd.log for errors
Stopping running processes... safe_sangoma not running... sangoma_prid is stopped Removing PID files...done
I have checked /var/log/sangoma_mgd.log file. But nothing was there.
Could any please tell me where I made mistake?
Thanks, Mag
_______________________________________________ FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
participants (4)
-
Jerry Richards
-
lakshmanan ganapathy
-
Magesh R
-
Moises Silva