wancfg_dahdi command not found

All installation and configuration problems and questions

Moderators: gerski, enjay, williamconley, Op3r, Staydog, gardo, mflorell, MJCoate, mcargile, Kumba, Michael_N

wancfg_dahdi command not found

Postby KeithHBW » Wed Apr 24, 2013 12:54 pm

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?
Vicibox 7.0.1 from .iso | Vicidial 2.12b0.5 Build 160122-1401 | Asterisk 11.21.0-vici | Cluster | No Digium/Sangoma Hardware | No Extra Software After Installation | [Six Core CPU] Intel Xeon E5-2640 @ 2.50GHz
KeithHBW
 
Posts: 104
Joined: Fri Jan 13, 2012 12:58 pm

Re: wancfg_dahdi command not found

Postby williamconley » Wed Apr 24, 2013 2:21 pm

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.
Vicidial Installation and Repair, plus Hosting and Colocation
Newest Product: Vicidial Agent Only Beep - Beta
http://www.PoundTeam.com # 352-269-0000 # +44(203) 769-2294
williamconley
 
Posts: 20258
Joined: Wed Oct 31, 2007 4:17 pm
Location: Davenport, FL (By Disney!)

Re: wancfg_dahdi command not found

Postby KeithHBW » Thu Apr 25, 2013 10:26 am

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.
Vicibox 7.0.1 from .iso | Vicidial 2.12b0.5 Build 160122-1401 | Asterisk 11.21.0-vici | Cluster | No Digium/Sangoma Hardware | No Extra Software After Installation | [Six Core CPU] Intel Xeon E5-2640 @ 2.50GHz
KeithHBW
 
Posts: 104
Joined: Fri Jan 13, 2012 12:58 pm

Re: wancfg_dahdi command not found

Postby KeithHBW » Thu Apr 25, 2013 12:36 pm

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
Vicibox 7.0.1 from .iso | Vicidial 2.12b0.5 Build 160122-1401 | Asterisk 11.21.0-vici | Cluster | No Digium/Sangoma Hardware | No Extra Software After Installation | [Six Core CPU] Intel Xeon E5-2640 @ 2.50GHz
KeithHBW
 
Posts: 104
Joined: Fri Jan 13, 2012 12:58 pm

Re: wancfg_dahdi command not found

Postby striker » Sat Apr 27, 2013 2:27 pm

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
www.striker24x7.com www.youtube.com/c/striker24x7 Telegram/skype id : striker24x7
striker
 
Posts: 962
Joined: Sun Jun 06, 2010 10:25 am

Re: wancfg_dahdi command not found

Postby KeithHBW » Mon Apr 29, 2013 12:20 pm

Oh, wow, thank you. I will work on this tomorrow hopefully and get back to you with the results.
Vicibox 7.0.1 from .iso | Vicidial 2.12b0.5 Build 160122-1401 | Asterisk 11.21.0-vici | Cluster | No Digium/Sangoma Hardware | No Extra Software After Installation | [Six Core CPU] Intel Xeon E5-2640 @ 2.50GHz
KeithHBW
 
Posts: 104
Joined: Fri Jan 13, 2012 12:58 pm

Re: wancfg_dahdi command not found

Postby KeithHBW » Tue Apr 30, 2013 2:36 pm

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.
Vicibox 7.0.1 from .iso | Vicidial 2.12b0.5 Build 160122-1401 | Asterisk 11.21.0-vici | Cluster | No Digium/Sangoma Hardware | No Extra Software After Installation | [Six Core CPU] Intel Xeon E5-2640 @ 2.50GHz
KeithHBW
 
Posts: 104
Joined: Fri Jan 13, 2012 12:58 pm

Re: wancfg_dahdi command not found

Postby williamconley » Tue Apr 30, 2013 9:32 pm

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.
Vicidial Installation and Repair, plus Hosting and Colocation
Newest Product: Vicidial Agent Only Beep - Beta
http://www.PoundTeam.com # 352-269-0000 # +44(203) 769-2294
williamconley
 
Posts: 20258
Joined: Wed Oct 31, 2007 4:17 pm
Location: Davenport, FL (By Disney!)

Re: wancfg_dahdi command not found

Postby KeithHBW » Wed May 01, 2013 11:02 am

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.
Vicibox 7.0.1 from .iso | Vicidial 2.12b0.5 Build 160122-1401 | Asterisk 11.21.0-vici | Cluster | No Digium/Sangoma Hardware | No Extra Software After Installation | [Six Core CPU] Intel Xeon E5-2640 @ 2.50GHz
KeithHBW
 
Posts: 104
Joined: Fri Jan 13, 2012 12:58 pm

Re: wancfg_dahdi command not found

Postby williamconley » Wed May 01, 2013 12:35 pm

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.
Vicidial Installation and Repair, plus Hosting and Colocation
Newest Product: Vicidial Agent Only Beep - Beta
http://www.PoundTeam.com # 352-269-0000 # +44(203) 769-2294
williamconley
 
Posts: 20258
Joined: Wed Oct 31, 2007 4:17 pm
Location: Davenport, FL (By Disney!)

Re: wancfg_dahdi command not found

Postby KeithHBW » Thu May 02, 2013 11:28 am

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-dahdi

Now the Sangoma card is working.
Vicibox 7.0.1 from .iso | Vicidial 2.12b0.5 Build 160122-1401 | Asterisk 11.21.0-vici | Cluster | No Digium/Sangoma Hardware | No Extra Software After Installation | [Six Core CPU] Intel Xeon E5-2640 @ 2.50GHz
KeithHBW
 
Posts: 104
Joined: Fri Jan 13, 2012 12:58 pm

Re: wancfg_dahdi command not found

Postby actiondave » Thu May 09, 2013 5:02 pm

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?
New Setup:Vicibox Redux.x86 64-4.0.3
Database/Webserver - Asus KFSN4-DRE/SAS | 2x AMD Opteron 2356 Quad Core |8GB RAM

Telephony Server: HP Proliant DL380 G5 - 2x 2.5GHz Xeon Quad Core - 16GB RAM

Archive Server - 1.7GHz (recordings)
actiondave
 
Posts: 63
Joined: Mon Jun 20, 2011 9:46 pm

Re: wancfg_dahdi command not found

Postby actiondave » Wed May 29, 2013 7:10 pm

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.
New Setup:Vicibox Redux.x86 64-4.0.3
Database/Webserver - Asus KFSN4-DRE/SAS | 2x AMD Opteron 2356 Quad Core |8GB RAM

Telephony Server: HP Proliant DL380 G5 - 2x 2.5GHz Xeon Quad Core - 16GB RAM

Archive Server - 1.7GHz (recordings)
actiondave
 
Posts: 63
Joined: Mon Jun 20, 2011 9:46 pm

Re: wancfg_dahdi command not found

Postby striker » Wed May 29, 2013 11:07 pm

hi actiondave
ping me on my skype : striker24x7 i can do that .
www.striker24x7.com www.youtube.com/c/striker24x7 Telegram/skype id : striker24x7
striker
 
Posts: 962
Joined: Sun Jun 06, 2010 10:25 am

Re: wancfg_dahdi command not found

Postby actiondave » Fri Jun 28, 2013 7:02 pm

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!
New Setup:Vicibox Redux.x86 64-4.0.3
Database/Webserver - Asus KFSN4-DRE/SAS | 2x AMD Opteron 2356 Quad Core |8GB RAM

Telephony Server: HP Proliant DL380 G5 - 2x 2.5GHz Xeon Quad Core - 16GB RAM

Archive Server - 1.7GHz (recordings)
actiondave
 
Posts: 63
Joined: Mon Jun 20, 2011 9:46 pm

Re: wancfg_dahdi command not found

Postby williamconley » Fri Jun 28, 2013 9:45 pm

He does help out quite a bit. Very cool 8-)
Vicidial Installation and Repair, plus Hosting and Colocation
Newest Product: Vicidial Agent Only Beep - Beta
http://www.PoundTeam.com # 352-269-0000 # +44(203) 769-2294
williamconley
 
Posts: 20258
Joined: Wed Oct 31, 2007 4:17 pm
Location: Davenport, FL (By Disney!)

Re: wancfg_dahdi command not found

Postby tick » Tue Aug 27, 2013 6:10 am

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
tick
 
Posts: 9
Joined: Tue Aug 27, 2013 2:15 am
Location: Poland, WLKP, Września


Return to Support

Who is online

Users browsing this forum: Bing [Bot], Google [Bot] and 147 guests