Help Configuring Sangoma a108 Card

Support forum for the ViciBox ISO Server Install and ISO LiveCD Demo

Moderators: enjay, williamconley, Staydog, mflorell, MJCoate, mcargile, Kumba

Help Configuring Sangoma a108 Card

Postby timarcher52 » Fri Feb 17, 2012 2:15 pm

Hi All,
Hoping someone here can help me. I am having trouble configuring my Sangoma A108 card on a Vicibox installation.

I just installed Vicibox Redux, 3.1.15. This is the ISO I used (I had to remove the full link since I'm a first time poster and it will not let me include links in my message):
ViciBox_Redux.x86_64-3.1.15.iso

Installation of vicibox went great, and I'm able to login to the administration and agent login sections. I'm also able to get my SIP phones to login and connect.

I'm running into issues though trying to get the sangoma card configured properly. I'm hoping someone can double check my steps and possibly point out where I am going wrong. We've purchased both the manager and agent manuals, but I'm not seeing anything specific to getting this part setup.

Basically, here's what I've done:
1) Install the Sangoma A108 card in the server.

2) Install Vicibox 3.1.15. Followed phases 1, 1.5, and 2 as per this document: ViciBox_Redux_v3-Install.pdf

3) Ensured I could connect my soft phone, login, create a campaign, etc. All of that looks good.

4) Plugged a T1 into the Sangoma card.

5) Ran the command lspci. It shows the card, although it says a104 instead of a108P. Here is the output:
0c:04.0 Network controller: Sangoma Technologies Corp. A104d QUAD T1/E1 AFT card

6) Ran wancfg_dahdi to configure. Configured all 8 ports.
At the bottom of this message I put the output after configuring the ports and telling it to save everything. This is where I think things are going wrong, as it throws an error on the command sangoma_prid.
Starting sangoma_prid...OK
smg_ctrl: sangoma_prid failed to start
smg_ctrl: check /var/log/sangoma_mgd.log for errors

I do not have the sangoma_prid command in my installation. So, am I using the wrong commands to configure this thing? There is nothing in the sangoma_mgd.log file, and the same message output to the screen is all that was in /var/log/messages

I also did an smg_ctrl test, and it errors on the sangoma_prid command test:
Code: Select all
vicidialtel1:~ # smg_ctrl test
Adding /usr/lib/sangoma_prid to library paths

smg_ctrl: Testing configuration files...
/usr/sbin/smg_ctrl: line 229: sangoma_prid: command not found
smg_ctrl: Failed


Do you have any suggestions? Should I be using a different command instead of wancfg_dahdi?

All help is greatly appreciated!






Output from wancfg_dahdi when I saved the settings:
------------------------------------------------------
Code: Select all
Stopping Asterisk...
Adding /usr/lib/sangoma_prid to library paths

smg_ctrl: Stopping running processes...
smg_ctrl: safe_sangoma not running...
smg_ctrl: sangoma_prid is stopped
smg_ctrl: sangoma_mgd not running...
Removing PID files...done

Stopping Wanpipe...


Shutting down wanpipe8 interface: w8g1
Shutting down device: wanpipe8
Devices Still Running:
 wanpipe1 wanpipe2 wanpipe3 wanpipe4 wanpipe5 wanpipe6 wanpipe7


Shutting down wanpipe7 interface: w7g1
Shutting down device: wanpipe7
Devices Still Running:
 wanpipe1 wanpipe2 wanpipe3 wanpipe4 wanpipe5 wanpipe6


Shutting down wanpipe6 interface: w6g1
Shutting down device: wanpipe6
Devices Still Running:
 wanpipe1 wanpipe2 wanpipe3 wanpipe4 wanpipe5


Shutting down wanpipe5 interface: w5g1
Shutting down device: wanpipe5
Devices Still Running:
 wanpipe1 wanpipe2 wanpipe3 wanpipe4


Shutting down wanpipe4 interface: w4g1
Shutting down device: wanpipe4
Devices Still Running:
 wanpipe1 wanpipe2 wanpipe3


Shutting down wanpipe3 interface: w3g1
Shutting down device: wanpipe3
Devices Still Running:
 wanpipe1 wanpipe2


Shutting down wanpipe2 interface: w2g1
Shutting down device: wanpipe2
Devices Still Running:
 wanpipe1


Shutting down wanpipe1 interface: w1g1
Shutting down device: wanpipe1
No devices running, Unloading Modules


Unloading Dahdi modules...

Removing old configuration files...
Generating smg.cr

Copying new Wanpipe configuration files...

Copying new sangoma_prid configuration files (/etc/wanpipe/smg_pri.conf)...

Copying new woomera configuration files (/etc/asterisk/woomera.conf)...

Copying new smg.rc configuration files (/etc/wanpipe/smg.rc)...

Starting Wanpipe...

Starting WAN Router...
Loading WAN drivers: wanpipe done.
Starting up device: wanpipe1
--> Loading ec image OCT6116-256S.ima...
Starting up device: wanpipe2
Starting up device: wanpipe3
Starting up device: wanpipe4
Starting up device: wanpipe5
Starting up device: wanpipe6
Starting up device: wanpipe7
Starting up device: wanpipe8
Configuring interfaces: w1g1
done.
Configuring interfaces: w2g1
done.
Configuring interfaces: w3g1
done.
Configuring interfaces: w4g1
done.
Configuring interfaces: w5g1
done.
Configuring interfaces: w6g1
done.
Configuring interfaces: w7g1
done.
Configuring interfaces: w8g1
done.
Adding /usr/lib/sangoma_prid to library paths

smg_ctrl: Starting processes...
SCTP support already enabled
Starting sangoma_prid...OK
smg_ctrl: sangoma_prid failed to start
smg_ctrl: check /var/log/sangoma_mgd.log for errors

smg_ctrl: Stopping running processes...
smg_ctrl: safe_sangoma not running...
smg_ctrl: sangoma_prid is stopped
smg_ctrl: sangoma_mgd not running...
Removing PID files...done


Starting Asterisk...

Type "asterisk -r" to connect to Asterisk console


Wanrouter start complete...
Current boot level is 5

Wanrouter boot scripts configuration...

Removing existing wanrouter boot scripts...OK
Would you like wanrouter to start on system boot?
 1. YES
 2. NO
[1-2]:1

Failed to locate boostrap directory
wanrouter boot scripts will not be installed
Would you like smg_ctrl to start/stop on wanrouter start
or would you like to run smg_ctrl in safe start?
 1. YES
 2. NO
 3. SAFE_START
[1-3]:1

smgbri start scrtip installed scuessfully
smgbri stop script installed successfully
Remvoing old smg_ctrl boot.....OK
Remvoing old smg_ctrl_safe boot.....OK
Sangoma cards configuration complete, exiting...
timarcher52
 
Posts: 5
Joined: Fri Feb 17, 2012 12:58 pm

Postby timarcher52 » Fri Feb 17, 2012 2:27 pm

Also, here's a few more discoveries I made.

I always get the error about sangoma_prid missing after running wancfg_dahdi.

However, if I select zaptel/Dahdi - PRI CPE when setting up the ports using cancfg_dahdi instead of Sangoma SMG/sangoma_prid-PRI CPE then asterisk seems to properly recognize the channels.

After running wancfg_dahdi selecting zaptel/dahdi - PRI CPE, the dahdi_cfg command still outputs nothing. However, from asterisk CLI, dahdi show status, dahdi show channels, and pri show spans all show appropriate values:

Code: Select all
vicidialtel1*CLI> pri show spans
PRI span 1/0: Provisioned, Up, Active
PRI span 2/0: Provisioned, In Alarm, Down, Active
PRI span 3/0: Provisioned, In Alarm, Down, Active
PRI span 4/0: Provisioned, In Alarm, Down, Active
PRI span 5/0: Provisioned, In Alarm, Down, Active
PRI span 6/0: Provisioned, In Alarm, Down, Active
PRI span 7/0: Provisioned, In Alarm, Down, Active
PRI span 8/0: Provisioned, In Alarm, Down, Active


I'll run with this and see if I can get it to actually make outbound calls, but I think this might work.
timarcher52
 
Posts: 5
Joined: Fri Feb 17, 2012 12:58 pm


Return to ViciBox Server Install and Demo

Who is online

Users browsing this forum: No registered users and 38 guests