Page 1 of 1
wancfg_dahdi command not found
Posted:
Wed Apr 24, 2013 12:54 pm
by KeithHBW
I just did a fresh install of vicibox 4.0.3, I am trying to setup a PRI gateway server for my dialers to place transfer calls.
I used the standard non-expert setup. Set the server as a dialer, not webserver or database. I have the sangoma card plugged in, it shows when you run the command: lspci
Network controller: Sangoma Technologies Corp. A104d QUAD T1/E1 AFT card
However, when I go to run wancfg_dahdi it says command not found. I set up a gateway server with 3.1.14 in the past and do not remember running into this issue. If I remember correctly during the setup process for 3.1.X it would ask me if I had a sangoma card. Any thoughts?
Re: wancfg_dahdi command not found
Posted:
Wed Apr 24, 2013 2:21 pm
by williamconley
i think you'll need expert setup. and you will need web and database if you are not adding a dialer to an existing cluster.
was the sangoma card already installed physically when you installed from .iso? Last time I checked that caused it to be auto-configured ... almost completely.
Re: wancfg_dahdi command not found
Posted:
Thu Apr 25, 2013 10:26 am
by KeithHBW
Thanks for responding william. Yes the card was in there from the start. I would assume if it auto configured then I would be able to run wancfg_dahdi? chan_dahdi.conf exists in /etc/asterisk/
There is the As for the first parts, it is an additional dialer to an existing cluster.
Re: wancfg_dahdi command not found
Posted:
Thu Apr 25, 2013 12:36 pm
by KeithHBW
Here is the install process. I have the sangoma card in the machine and plugged into the PRIs
After os-install
zypper up
reboot
vicibox-install
Do you want to enable expert installation? [y/N] : y
Will this server be used as the Database? [y/N] : n
Will this server be used as a Web server? [y/N] : n
Will this server be used as a Telephony server? [y/N] : y
---> Is this the first server in a cluster? [y/N] : n
---> Do you have an archive server? [y/N] : n
**NOTICE NO QUESTION ABOUT SANGOMA CARD
Will this server be used as an Archive server? [y/N] : n
The local SVN is build 130124-1721 version 2.6-393a from SVN 1930
Do you want to use the ViciDial version listed above? [Y/n] : y
Do you want to disable the built-in firewall? [y/N] : y
Reboot
wancfg_dahdi
If 'wancfg_dahdi' is not a typo you can use command-not-found to lookup the package that contains it, like this:
cnf wancfg_dahdi
Re: wancfg_dahdi command not found
Posted:
Sat Apr 27, 2013 2:27 pm
by striker
Hi Keith
I too faced the same wancfg_dahdi missing, and in vicibox latest i saw a command wanpipe_compile but it leads to lot of error.
so i reinstalled the latest wanpipe from the source code available at sangoma.com
use the below link to install the latest wanpipe
Re: wancfg_dahdi command not found
Posted:
Mon Apr 29, 2013 12:20 pm
by KeithHBW
Oh, wow, thank you. I will work on this tomorrow hopefully and get back to you with the results.
Re: wancfg_dahdi command not found
Posted:
Tue Apr 30, 2013 2:36 pm
by KeithHBW
Here are the errors I ran into:
./Setup dahdi
- Code: Select all
Please enter zaptel dir: [Default: /usr/src/zaptel]
#> /usr/src/zaptel
Error: zaptel.h or dahdi/kernel.h not found in /usr/src/zaptel
I try to install zaptel...
./Setup zaptel
- Code: Select all
Enabling the TDM Voice Asterisk Support
Dahdi HW HDLC Support Detected: Enabling DCHAN Feature
Native Dahdi HW HDLC Support Detected - No patch required
Dahdi source unmodified
Checking for UDEV Zaptel compatibility... Dahdi installed, no need to add UDEV rules
Enabling the AFT TE1 Support
Checking for SMP support ...Enabled.
Checking current processor type ...x86_64
./Setup: line 2234: [: -eq: unary operator expected
ERROR: Unsupported Kernel Version 3.1.10-1.19-default
Need assistance.
Re: wancfg_dahdi command not found
Posted:
Tue Apr 30, 2013 9:32 pm
by williamconley
you need the header file for wancfg to link ... just because dahdi is installed does not mean you have the header file. you may need to install the "-devel" package for dahdi or download the full source.
or it may be looking in the wrong place due to a preferences or conf issue. dahdi is not in the zaptel folder.
Re: wancfg_dahdi command not found
Posted:
Wed May 01, 2013 11:02 am
by KeithHBW
Okay I think I am getting closer
I searched for all -devel things in yast and enabled things like libpri, wanpipe...etc
I was finally able to run wancfg_dahdi
- Code: Select all
FATAL: Module wanpipe not found.
Would you like to generate /etc/asterisk/chan_dahdi.conf
1. YES
2. NO
[1-2]:1
---------------------------------------------
Configuring T1/E1 cards [A101/A102/A104/A108/A116]
---------------------------------------------
No Sangoma ISDN T1/E1 cards detected
lspci shows:
04:04.0 Network controller: Sangoma Technologies Corp. A104d QUAD T1/E1 AFT card
I feel like Im am a few steps away from getting this to work. Any ideas? I will continue to try stuff and post an update if I find anything.
Re: wancfg_dahdi command not found
Posted:
Wed May 01, 2013 12:35 pm
by williamconley
the sangoma site/people have a very good method for installing ... if you purchased hardware from them they are quite helpful in getting the drivers into asterisk so you can use their hardware instead of returning it.
Re: wancfg_dahdi command not found
Posted:
Thu May 02, 2013 11:28 am
by KeithHBW
After wancfg_dahdi finally came up. I was able to go through the process I attempted to start first which can be found at:
http://wiki.sangoma.com/wanpipe-linux-asterisk-dahdiNow the Sangoma card is working.
Re: wancfg_dahdi command not found
Posted:
Thu May 09, 2013 5:02 pm
by actiondave
After using a single server setup, I have recently switched to installing a cluster setup.
installation with vicibox 4.0.3 works fine. I have tried wanpipe-compile and have errors as well. Still a newbie with linux and all links and sangoma instructions pertain to other flavors than openSuSe.
I have searched and read and tried (re-installing several times) without success in getting the sangoma A102 card to work.
Does anyone have step by step on setting up sangoma A102 properly on the telephony server from the vicibox 4.0.3 iso?
Re: wancfg_dahdi command not found
Posted:
Wed May 29, 2013 7:10 pm
by actiondave
after many unsuccessful tries, I am still unable to get my A102 sangoma card installed and configured. I have completely reinstalled several times vicibox 4.0.3 and tried to use wanpipe-compile without success.
This is the error I am receiving after running wanrouter hwprobe
wanrouter: Wanpipe Module: /lib/modules/3.1.10-1.16-default/kernel/drivers/net/w an/sdladrv not found !!!!
WANPIPE drivers must be compiled as modules
Check kernel configuration in /usr/src/linux/.config:
CONFIG_WAN_ROUTER=m
CONFIG_VENDOR_SANGOMA=m
Any help would be appreciated and or willing to pay someone to get this working properly as I do not want to spend any more time with this.
Re: wancfg_dahdi command not found
Posted:
Wed May 29, 2013 11:07 pm
by striker
hi actiondave
ping me on my skype : striker24x7 i can do that .
Re: wancfg_dahdi command not found
Posted:
Fri Jun 28, 2013 7:02 pm
by actiondave
just want to say that striker is awesome. He helped me (or i should say) installed and configured my pri's and helped with other things as well. Thanks striker!
Re: wancfg_dahdi command not found
Posted:
Fri Jun 28, 2013 9:45 pm
by williamconley
He does help out quite a bit. Very cool
Re: wancfg_dahdi command not found
Posted:
Tue Aug 27, 2013 6:10 am
by tick
Hello,
i have problem too. Solutions:
$ zypper up
$ vicibox-install
$ reboot
$ zypper --non-interactive in -t pattern devel_kernel
$ zypper --non-interactive in kernel-syms patchutils dahdi-linux-devel libpri-devel asterisk-devel gcc-c++
$ wget libpri-1.4-current.tar.gz dahdi-linux-complete-current.tar.gz wanpipe-7.0.5.tgz
$ tar zxfv dahdi-linux-complete-current.tar.gz
$ killall -9 asterisk
$ /etc/init.d/dahdi stop
$ cd dahdi*
$ make all && make install && make config
$ cd ../libpri*
$ make && make install
$ tar zxfv wanpipe-7.0.5.tgz
$ cd wanp*
$ ./Setup install
I hope that helped