Page 1 of 1

Sangoma Card Not Found Vicibox 3.1.9

PostPosted: Wed Apr 13, 2011 9:58 am
by Trying
I posted the following issue yesterday: http://www.vicidial.org/VICIDIALforum/v ... hp?t=17599

I hired a consultant to fix it but he also had no luck so he suggested I reinstall our 4 dialers. I reinstalled using Vicibox 3.1.9.

I did NOT do a zypper refresh && zypper up during installation. I did however pick the option to update the operating system and use SVN trunk.

I now have a somewhat similar problem to what I experienced previously on Vicibox: http://www.vicidial.org/VICIDIALforum/v ... sc&start=0

Asterisk is running but the Sangoma card is once again not found. During booting I see the following errors:

ERROR: Wanpipe configuration file not found:
etc/wanpipe/wanpipe1.conf

Sangoma Failed to load! Fallback to dahdi_dummy module
FATAL: Module dahdi_dummy not found
dahdi_dummy NOT loaded


The lights on the card do flash while booting and are red when the server is fully booted.

wanrouter hwprobe

FATAL: Module wanpipe not found.


I then installed 3.1.9 on one of our other dialers but in this case decided not to update the OS. On this one I get the following:

wanrouter hwprobe

FATAL: Error inserting wanpipe (/lib/modules/2.6.34.7-0.7-default/weak-updates/extra/wanpipe.ko): Unknown symbol in module, or unknown parameter (see dmesg)

PostPosted: Wed Apr 13, 2011 10:36 am
by williamconley
You should consider trying to manually install the Sangoma card in Asterisk. If you are not comfortable with this, consider using GoAutoDial. If it works, you'll need to SVN up the vicidial to get back to your previous version, and you'll have to manually cluster .. but those are both standardized procedures.

Perhaps, of course, you could simply borrow the setup from that successful installation and use it in another Vicibox. 8)

PostPosted: Wed Apr 13, 2011 10:43 am
by Trying
I don't have a successful installation anymore to borrow from :(

I suppose my /usr/share/astguiclient/ADMIN_backup.pl --debugX --without-db --without-web backups won't solve this problem either?

PostPosted: Wed Apr 13, 2011 12:00 pm
by williamconley
that backup could contain your config files.

PostPosted: Wed Apr 13, 2011 1:54 pm
by Trying
Thanks William. Another, hopefully last, stupid question for now....... how do I restore that backup file exactly? I searched the forums but couldn't find the steps.

PostPosted: Wed Apr 13, 2011 1:59 pm
by williamconley
there's no tool. there's no "restore process" per se.

you unzip/untar/unetc the files and manually place them or restore them by hand.

PostPosted: Wed Apr 13, 2011 2:01 pm
by Trying
Thank you!

PostPosted: Thu Apr 14, 2011 5:53 am
by Trying
This is no fun. I restored the backup but it made no difference whatsoever. :(

Is this not still the same issue that I experienced months ago and Sangoma had to fix it by doing the following?:

Okay, so it appears to be an rpm issue. I ran:
-> rpm -qa|grep dahdi

to find the dahdi rpm version and then downloaded the source for that dahdi version from the Vicidial rep. I installed our driver from source, and then pointed it to the source directory for dahdi (which our driver requires when you install from source) and installed perfectly. I also started up the driver and ran a few tested to confirm.

If you run 'wanpipemon -i w1g1 -c Ta' you will see LOF alarms, basically
because I did not configure the line settings properly.

I did not want to make the changes to all your other servers, because I will assume here that Vicidial will have to make new rpms.

For your reference, the source for Dahdi is located in:
-> /usr/src/packages/BUILD/dahdi-linux-2.4.0

and I installed the driver in:
-> /usr/src

I installed the driver using the command './Setup install' from the wanpipe
directory.

Keep me in the loop if you want more information or need my assistance.

Summary: wanpipe rpm's from Vicidial appear to cause the issue. Installing
our driver from source with corresponding dahdi source resolve the issue


Any ideas Kumba?

I will also be posting this in the request for consultation forum because I really need to get this fixed ASAP.

PostPosted: Thu Apr 14, 2011 9:12 am
by Trying
I followed William's advice and installed Goautodial to see what happens. It installed perfectly and there are no issues with wanpipe. Gardo, I need to compliment you - awesome installer!

That being said, I really want to stick to Vicibox because I am used to the distro and Opensuse. So I really need a solution to this, PLEASE help me guys!

PostPosted: Thu Apr 14, 2011 9:47 am
by williamconley
now use the settings and configurations from THIS installation to see if you can get vicibox to work properly.

i've often done this with two hard drives, or copying all the files to an external drive and then reinstalling the OS and using those copied files as a template to configure the system in the areas that are failing.

also be sure you get the exact versions of all the peripheral packages (wanpipe, dahdi, whatever)