[OpenZAP] Does Dahdi (ex-Zaptel) require Asterisk?
Hello I'd like to install OpenZAP so I can use a TDM card with Freeswitch, but I'm getting a software error althought the TDM card seems detected (lspci -v OK). Dahdi was successfully compiled from source code. Is it OK to just install Dahdi 2.2.0 without Asterisk before going ahead with OpenZAP? The reason I ask, is that in another forum, someone mentionned "/etc/asterisk/chan_dahdi.conf". Here's the output from dahdi_cfg -vvv: DAHDI Tools Version - 2.2.0 DAHDI Version: 2.2.0.2 Echo Canceller(s): Configuration ====================== Channel map: Channel 01: FXS Kewlstart (Default) (Echo Canceler: none) (Slaves: 01) 1 channels to configure. DAHDI_CHANCONFIG failed on channel 1: No such device or address (6) Here's ls -l /dev/dahdi/: total 0 crw-rw---- 1 root root 196, 254 Dec 8 13:38 channel crw-rw---- 1 root root 196, 0 Dec 8 13:38 ctl crw-rw---- 1 root root 196, 255 Dec 8 13:38 pseudo crw-rw---- 1 root root 196, 253 Dec 8 13:38 timer Has someone succesfully installed Dahdi without Asterisk? Thank you. -- View this message in context: http://old.nabble.com/-OpenZAP--Does-Dahdi-%28ex-Zaptel%29-require-Asterisk-... Sent from the Freeswitch-users mailing list archive at Nabble.com.
Fred-145 <codecomplete@free.fr> said:
Has someone succesfully installed Dahdi without Asterisk?
Of course, and it's working like a charm. DAHDI is a driver. It doesn't care what software uses it. We're using DAHDI with a TE110P PRI T1 card. What is in /proc/dahdi? If it shows "1", what do you see if you "cat /proc/dahdi/1"? Did you correctly configure the files in /etc/dahdi? How did you configure ../freeswitch/conf/openzap.conf? Maybe it would be helpful to spend a few minutes browsing the wiki at http://wiki.freeswitch.org/wiki/OpenZAP -- Russell Mosemann ________________________________________________________ Concordia University, Nebraska See http://www.cune.edu/ for the latest news and events!
Thanks Russel for the tip. After more googling, I ended up figuring that /etc/dahdi/modules had to contain the list of drivers to load. For those interested, here's how to compile and install Dahdi (which doesn't need Asterisk at all, unlike some docs on the Net seem to imply due to references to /etc/asterisk/*.conf): 1. Download and unpack the Dahdi tarball 2. make all ; make install ; make config 3. cd /etc/dahdi/ 4. vi system.conf: #For France, single FXO module on TDM card loadzone = fr defaultzone = fr fxsks=1 5. vi modules: wcfxo wctdm dahdi 6. /etc/init.d/dahdi start 7. dahdi_cfg -vvv 8. ls -la /proc/dahdi/ Now, on to OpenZAP... Thanks again. -- View this message in context: http://old.nabble.com/-OpenZAP--Does-Dahdi-%28ex-Zaptel%29-require-Asterisk-... Sent from the Freeswitch-users mailing list archive at Nabble.com.
Fred-145 <codecomplete@free.fr> said:
5. vi modules: wcfxo wctdm dahdi
You only need one of the modules above, if you have one card. I don't see a "dahdi" module listed in the file here.
8. ls -la /proc/dahdi/
You should be able to cat the file in that directory for more information. -- Russell Mosemann ________________________________________________________ Concordia University, Nebraska See http://www.cune.edu/ for the latest news and events!
Russell.Mosemann wrote:
You only need one of the modules above, if you have one card. I don't see a "dahdi" module listed in the file here.
Yup, turns out wcfxo is needed for the X10xP card, while wctdm is needed for Digium cards. As for dahdi, maybe wcfxo/wctdm loads the dahdi module automatically? Russell.Mosemann wrote:
8. ls -la /proc/dahdi/ You should be able to cat the file in that directory for more information.
Yes indeed: # ls -al /proc/dahdi/ total 0 dr-xr-xr-x 2 root root 0 Dec 8 16:30 . dr-xr-xr-x 80 root root 0 Dec 8 13:37 .. -r--r--r-- 1 root root 0 Dec 8 16:30 1 # cat 1 Span 1: WCTDM/4 "Wildcard TDM400P REV E/F Board 5" (MASTER) 1 WCTDM/4/0 FXSKS RED 2 WCTDM/4/1 3 WCTDM/4/2 4 WCTDM/4/3 Thanks for the tip. I'll see if I can update the wiki accordingly. -- View this message in context: http://old.nabble.com/-OpenZAP--Does-Dahdi-%28ex-Zaptel%29-require-Asterisk-... Sent from the Freeswitch-users mailing list archive at Nabble.com.
Fred-145 <codecomplete@free.fr> said:
For those interested, here's how to compile and install Dahdi
It would be helpful to others if you add the results of your efforts to the wiki. -- Russell Mosemann ________________________________________________________ Concordia University, Nebraska See http://www.cune.edu/ for the latest news and events!
For those interested, here's how to compile and install Dahdi (which doesn't need Asterisk at all, unlike some docs on the Net seem to imply due to references to /etc/asterisk/*.conf):
I understand that Some Debian based distro's have Dahdi in their repo's making it simple, but not many know that Digium runs its own repo for rpm based distros: http://packages.asterisk.org/ Can't get easier than that... jlc
Our plan for 1.0.5 is that we will also have rpm and deb packages for many distros on our own repo. Stay tuned. This has been another major reason for the delay in 1.0.5. Mike On Dec 8, 2009, at 1:26 PM, Joseph L. Casale wrote:
For those interested, here's how to compile and install Dahdi (which doesn't need Asterisk at all, unlike some docs on the Net seem to imply due to references to /etc/asterisk/*.conf):
I understand that Some Debian based distro's have Dahdi in their repo's making it simple, but not many know that Digium runs its own repo for rpm based distros:
Can't get easier than that...
jlc
_______________________________________________ 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
Michael Jerris wrote:
Our plan for 1.0.5 is that we will also have rpm and deb packages for many distros on our own repo. Stay tuned. This has been another major reason for the delay in 1.0.5.
Great news. I also prefer to use packages whenever possible, so as to know what software is installed in a host, and have the package manager handle conflicts and missing dependencies. -- View this message in context: http://old.nabble.com/-OpenZAP--Does-Dahdi-%28ex-Zaptel%29-require-Asterisk-... Sent from the Freeswitch-users mailing list archive at Nabble.com.
I have 2 Rhino cards for sale if anyone needs one. They are both Best Offer. I have a R2T1-EC and a R24FXX-EC with 12 dual FXS modules. Both have never been used more than a few times for testing purposes. Both cards work fine and are guaranteed not to be DOA. Reece Savage Information Technology Manager King & Ballow Law Offices 315 Union Street Suite 1100 Nashville, TN 37201 Phone (615) 726-5525 Fax (615) 254-7907 rsavage@kingballow.com
participants (5)
-
Fred-145
-
Joseph L. Casale
-
Michael Jerris
-
Reece Savage
-
Russell.Mosemann@cune.org