Re: [asterisk-users] zaptel to dahdi
It turns out to be a pretty easy change, even potentially transparent. Gotchas? YMMV, but if you're just doing vanilla asterisk functions, pretty much no. -Original Message- From: asterisk-users-boun...@lists.digium.com [mailto:asterisk-users-boun...@lists.digium.com] On Behalf Of Alex Samad Sent: Tuesday, June 02, 2009 3:52 AM To: asterisk-users@lists.digium.com Subject: [asterisk-users] zaptel to dahdi Hi i have just recently installed asterisk 1.4 server with a digium card 410, i used the zaptel packages in debian. now I have notice the move to dahdi which seems to be a rename and some changes as well. is it a easy change from zaptel to dahdi ? any sort of gotchas to watch out for ? Alex ___ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
[asterisk-users] zaptel to dahdi
Hi i have just recently installed asterisk 1.4 server with a digium card 410, i used the zaptel packages in debian. now I have notice the move to dahdi which seems to be a rename and some changes as well. is it a easy change from zaptel to dahdi ? any sort of gotchas to watch out for ? Alex signature.asc Description: Digital signature ___ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
Re: [asterisk-users] Zaptel to Dahdi
Even if Zaptel is compiled, you can also compile Dahdi because Asterisk will choose the DAHDI-module... it seems. So I left Zaptel... and compiled Dahdi (everything went well, I followed the steps) en then Asterisk again (with dahdi support!!). Yet another episode in this nightmare : [r...@asterisk jonas]# /sbin/service dahdi reload Rerunning dahdi_cfg: Notice: Configuration file is /etc/dahdi/system.conf line 0: Unable to open master device '/dev/dahdi/ctl' 1 error(s) detected [FAILED] [r...@asterisk jonas]# /sbin/service dahdi restart Unloading DAHDI hardware modules: doneLoading DAHDI hardware modules: FATAL: Error inserting dahdi (/lib/modules/2.6.18-128.1.6.el5/dahdi/dahdi.ko): Device or resource busy wctdm24xxp: FATAL: Error inserting wctdm24xxp (/lib/modules/2.6.18-128.1.6.el5/dahdi/wctdm24xxp/wctdm24xxp.ko): Unknown symbol in module, or unknown parameter (see dmesg) [FAILED] wcfxo: FATAL: Error inserting wcfxo (/lib/modules/2.6.18-128.1.6.el5/dahdi/wcfxo.ko): Unknown symbol in module, or unknown parameter (see dmesg) [FAILED] wctdm: FATAL: Error inserting wctdm (/lib/modules/2.6.18-128.1.6.el5/dahdi/wctdm.ko): Unknown symbol in module, or unknown parameter (see dmesg) [FAILED] wcb4xxp: FATAL: Error inserting wcb4xxp (/lib/modules/2.6.18-128.1.6.el5/dahdi/wcb4xxp/wcb4xxp.ko): Unknown symbol in module, or unknown parameter (see dmesg) [FAILED] wctc4xxp: FATAL: Error inserting wctc4xxp (/lib/modules/2.6.18-128.1.6.el5/dahdi/wctc4xxp/wctc4xxp.ko): Unknown symbol in module, or unknown parameter (see dmesg) [FAILED] Error: missing /dev/dahdi! I think the reason there is no /dev/dahdi is because I did not yet edited /etc/dahdi/system.conf /etc/dahdi/system.conf states : Autogenerated by /usr/sbin/dahdi_genconf on Tue Apr 21 20:23:17 2009 -- do not hand edit I would put here the following : fxsks=1-3 loadzone=be defaultzone=be But like it says : no manual editing. So I want to run /usr/sbin/dahdi_genconf. But when I do that... nothing happens... Voipinfo.org states : /etc/dahdi/genconf_parameters Fine--tuning parameters for dahdi_genconf (replaces zapconf and also deprecates genzaptelconf). But check this : [r...@asterisk dahdi]# ls /etc/dahdi/ init.conf modules system.conf system.conf.bak NO such file ! With Zaptel, I had a working kernel-module that recognized my hardware... but no zapata.conf. Now that I've compiled DAHDI, I'm again missing some files. Can someone please give some advice. Thanks in advance... Greetingz, Jonas. On Mon, 2009-04-20 at 14:13 -0400, Joshua Kinard wrote: Converting is actually pretty straightforward: Bare minimum: /etc/zaptel.conf -- /etc/dahdi/system.conf /etc/asterisk/zapata.conf -- /etc/asterisk/chan_dahdi.conf Any reference to ZAP/* becomes DAHDI/* in your asterisk conf files (i.e., extensions.conf). Granted, all I use Asterisk for is a fax-to-email mechanism in conjunction with my ~18yr-old Rolm system, but I imagine more complex setups are probably not too hard to replace. Most of it was just search replace in the extensions.conf file. You can also leave the older zapata.conf intact. I believe newer Asterisk version will ignore the file's existance. Ditto on the older zaptel.conf, since the dadhi code doesn't even reference it I believe. The only thing I miss, is I thought Zaptel was a pretty cool name. Like, lasers shooting everytime a call comes in or something. Dahdi makes me think of angels singing everytime a call comes in now. HTH, --J ___ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
Re: [asterisk-users] Zaptel to Dahdi
Please, is there anyone who can help me with this zaptel -- Dahdi -problem ?? Will chan_dahdi.conf work with zaptel.conf ? Will Asterisk be able to communicate with the Digium TDM pci-card ? Or do I need to compile dahdi and recompile Asterisk ??? Thank you for your reply. Jonas. Forwarded Message From: jonas kellens jonas.kell...@telenet.be To: asterisk-users@lists.digium.com Subject: Zaptel to Dahdi Date: Sun, 19 Apr 2009 17:17:39 +0200 VoIP-wiki.org states : /etc/zaptel.conf Becomes /etc/dahdi/system.conf /etc/asterisk/zapata.conf Becomes /etc/asterisk/chan_dahdi.conf Now, what do I have installed on my system : /etc/zaptel.conf and /etc/asterisk/chan_dahdi.conf Will these two config-files work together ??? I have no /etc/asterisk/zapata.conf and no /etc/dahdi/system.conf Do I create an empty zapata.conf ?? I also do not have /usr/lib/asterisk/modules/chan_zap.so !! My Asterisk-version : 1.4.24 ___ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
Re: [asterisk-users] Zaptel to Dahdi
On Sun, Apr 19, 2009 at 05:17:38PM +0200, jonas kellens wrote: VoIP-wiki.org states : Digium resources http://www.asterisk.org/zaptel-to-dahdi /etc/zaptel.conf Becomes /etc/dahdi/system.conf /etc/asterisk/zapata.conf Becomes /etc/asterisk/chan_dahdi.conf Now, what do I have installed on my system : /etc/zaptel.conf and /etc/asterisk/chan_dahdi.conf Will these two config-files work together ??? I have no /etc/asterisk/zapata.conf and no /etc/dahdi/system.conf Do I create an empty zapata.conf ?? I also do not have /usr/lib/asterisk/modules/chan_zap.so !! My Asterisk-version : 1.4.24 If you built Asterisk with DAHDI support . Should still work on 1.4.x , for x= 22 . -- Tzafrir Cohen icq#16849755 jabber:tzafrir.co...@xorcom.com +972-50-7952406 mailto:tzafrir.co...@xorcom.com http://www.xorcom.com iax:gu...@local.xorcom.com/tzafrir ___ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
Re: [asterisk-users] Zaptel to Dahdi
2009/4/20 jonas kellens jonas.kell...@telenet.be: Please, is there anyone who can help me with this zaptel -- Dahdi -problem ?? Will chan_dahdi.conf work with zaptel.conf ? Will Asterisk be able to communicate with the Digium TDM pci-card ? Or do I need to compile dahdi and recompile Asterisk ??? Thank you for your reply. Why not just try it. Jonas. Forwarded Message From: jonas kellens jonas.kell...@telenet.be To: asterisk-users@lists.digium.com Subject: Zaptel to Dahdi Date: Sun, 19 Apr 2009 17:17:39 +0200 VoIP-wiki.org states : /etc/zaptel.conf Becomes /etc/dahdi/system.conf /etc/asterisk/zapata.conf Becomes /etc/asterisk/chan_dahdi.conf Now, what do I have installed on my system : /etc/zaptel.conf and /etc/asterisk/chan_dahdi.conf Will these two config-files work together ??? I have no /etc/asterisk/zapata.conf and no /etc/dahdi/system.conf Do I create an empty zapata.conf ?? I also do not have /usr/lib/asterisk/modules/chan_zap.so !! My Asterisk-version : 1.4.24 ___ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users -- http://www.suretecsystems.com/services/openldap/ ___ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
Re: [asterisk-users] Zaptel to Dahdi
Tzafir, When I did 'make menuselect' in 3. channel drivers, I selected [*] chan dahdi... But the only thing I have of dahdi is chan_dahdi.conf... http://svn.digium.com/svn/dahdi/linux/tags/2.1.0.4/UPGRADE.txt states : The system configuration file has moved from /etc/zaptel.conf to /etc/dahdi/system.conf. I don't have this file... I don't have a directory named /etc/dahdi. The only thing I have is chan_dahdi.conf, replacing in my case zapata.conf. I do not have the tools dahdi_cfg and dahdi_tool installed... This is what I have installed on my system of dahdi : [r...@asterisk jonas]# locate dahdi /etc/asterisk/chan_dahdi.conf /usr/include/asterisk/dahdi_compat.h /usr/src/asterisk-1.4.24/apps/.app_dahdibarge.makeopts /usr/src/asterisk-1.4.24/apps/.app_dahdibarge.moduleinfo /usr/src/asterisk-1.4.24/apps/.app_dahdibarge.o.d /usr/src/asterisk-1.4.24/apps/.app_dahdiras.makeopts /usr/src/asterisk-1.4.24/apps/.app_dahdiras.moduleinfo /usr/src/asterisk-1.4.24/apps/.app_dahdiras.o.d /usr/src/asterisk-1.4.24/apps/.app_dahdiscan.makeopts /usr/src/asterisk-1.4.24/apps/.app_dahdiscan.moduleinfo /usr/src/asterisk-1.4.24/apps/.app_dahdiscan.o.d /usr/src/asterisk-1.4.24/apps/app_dahdibarge.c /usr/src/asterisk-1.4.24/apps/app_dahdibarge.o /usr/src/asterisk-1.4.24/apps/app_dahdiras.c /usr/src/asterisk-1.4.24/apps/app_dahdiras.o /usr/src/asterisk-1.4.24/apps/app_dahdiscan.c /usr/src/asterisk-1.4.24/apps/app_dahdiscan.o /usr/src/asterisk-1.4.24/channels/.chan_dahdi.makeopts /usr/src/asterisk-1.4.24/channels/.chan_dahdi.moduleinfo /usr/src/asterisk-1.4.24/channels/.chan_dahdi.o.d /usr/src/asterisk-1.4.24/channels/chan_dahdi.c /usr/src/asterisk-1.4.24/channels/chan_dahdi.o /usr/src/asterisk-1.4.24/codecs/.codec_dahdi.makeopts /usr/src/asterisk-1.4.24/codecs/.codec_dahdi.moduleinfo /usr/src/asterisk-1.4.24/codecs/.codec_dahdi.o.d /usr/src/asterisk-1.4.24/codecs/codec_dahdi.c /usr/src/asterisk-1.4.24/codecs/codec_dahdi.o /usr/src/asterisk-1.4.24/configs/chan_dahdi.conf.sample /usr/src/asterisk-1.4.24/include/asterisk/dahdi_compat.h Is this the same for you ??? Can I edit one of these files to make chan_dahdi.conf interact with zaptel.conf (zaptel kernel module) in stead of the dahdi-linux kernel modules ?? Greetingz, Jonas. On Mon, 2009-04-20 at 15:57 +0300, Tzafrir Cohen wrote: On Sun, Apr 19, 2009 at 05:17:38PM +0200, jonas kellens wrote: VoIP-wiki.org states : Digium resources http://www.asterisk.org/zaptel-to-dahdi /etc/zaptel.conf Becomes /etc/dahdi/system.conf /etc/asterisk/zapata.conf Becomes /etc/asterisk/chan_dahdi.conf Now, what do I have installed on my system : /etc/zaptel.conf and /etc/asterisk/chan_dahdi.conf Will these two config-files work together ??? I have no /etc/asterisk/zapata.conf and no /etc/dahdi/system.conf Do I create an empty zapata.conf ?? I also do not have /usr/lib/asterisk/modules/chan_zap.so !! My Asterisk-version : 1.4.24 If you built Asterisk with DAHDI support . Should still work on 1.4.x , for x= 22 . ___ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
Re: [asterisk-users] Zaptel to Dahdi
Converting is actually pretty straightforward: Bare minimum: /etc/zaptel.conf -- /etc/dahdi/system.conf /etc/asterisk/zapata.conf -- /etc/asterisk/chan_dahdi.conf Any reference to ZAP/* becomes DAHDI/* in your asterisk conf files (i.e., extensions.conf). Granted, all I use Asterisk for is a fax-to-email mechanism in conjunction with my ~18yr-old Rolm system, but I imagine more complex setups are probably not too hard to replace. Most of it was just search replace in the extensions.conf file. You can also leave the older zapata.conf intact. I believe newer Asterisk version will ignore the file's existance. Ditto on the older zaptel.conf, since the dadhi code doesn't even reference it I believe. The only thing I miss, is I thought Zaptel was a pretty cool name. Like, lasers shooting everytime a call comes in or something. Dahdi makes me think of angels singing everytime a call comes in now. HTH, --J From: asterisk-users-boun...@lists.digium.com [mailto:asterisk-users-boun...@lists.digium.com] On Behalf Of jonas kellens Sent: Sunday, April 19, 2009 11:18 AM To: asterisk-users@lists.digium.com Subject: [asterisk-users] Zaptel to Dahdi VoIP-wiki.org states : Digium resources http://www.asterisk.org/zaptel-to-dahdihttp://www.voip-info.org/wiki/edit.php?page=http%3A%2F%2Fwww.asterisk.org%2Fzaptel-to-dahdi /etc/zaptel.conf Becomes /etc/dahdi/system.confhttp://www.voip-info.org/wiki/view/system.conf /etc/asterisk/zapata.conf Becomes /etc/asterisk/chan_dahdi.confhttp://www.voip-info.org/wiki/view/chan_dahdi.conf Now, what do I have installed on my system : /etc/zaptel.conf and /etc/asterisk/chan_dahdi.conf Will these two config-files work together ??? I have no /etc/asterisk/zapata.conf and no /etc/dahdi/system.conf Do I create an empty zapata.conf ?? I also do not have /usr/lib/asterisk/modules/chan_zap.so !! My Asterisk-version : 1.4.24 ___ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
[asterisk-users] Zaptel to Dahdi
VoIP-wiki.org states : Digium resources http://www.asterisk.org/zaptel-to-dahdi /etc/zaptel.conf Becomes /etc/dahdi/system.conf /etc/asterisk/zapata.conf Becomes /etc/asterisk/chan_dahdi.conf Now, what do I have installed on my system : /etc/zaptel.conf and /etc/asterisk/chan_dahdi.conf Will these two config-files work together ??? I have no /etc/asterisk/zapata.conf and no /etc/dahdi/system.conf Do I create an empty zapata.conf ?? I also do not have /usr/lib/asterisk/modules/chan_zap.so !! My Asterisk-version : 1.4.24 ___ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
Re: [asterisk-users] Zaptel vs DAHDI
I am using the asterisk 1.4.22 and dahdi 2.0.0 I dont have the module oslec installed I am using the default echo cancelation: mg2 whene I used the option aggressive=1 the echo been worse any idea thx in advanced From: Tzafrir Cohen tzafrir.co...@xorcom.com To: asterisk-users@lists.digium.com Sent: Thursday, December 25, 2008 4:05:16 PM Subject: Re: [asterisk-users] Zaptel vs DAHDI On Thu, Dec 25, 2008 at 05:30:31AM -0800, Jacob Blonisci wrote: hello shalom what ia the alternative of AGGRESSIVE_SUPPRESSORin zconfig.h in the DAHDI version dahdi_echocan_oslec.ko ;-) Sreiously, though, it has been made a run-time option. In chan_dahdi.conf: echocancel = yes,aggressive=1 -- Tzafrir Cohen icq#16849755 jabber:tzafrir.co...@xorcom.com +972-50-7952406 mailto:tzafrir.co...@xorcom.com http://www.xorcom.com iax:gu...@local.xorcom.com/tzafrir ___ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users ___ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
[asterisk-users] Zaptel vs DAHDI
hello shalom what ia the alternative of AGGRESSIVE_SUPPRESSORin zconfig.h in the DAHDI version todah ___ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
Re: [asterisk-users] Zaptel vs DAHDI
On Thu, Dec 25, 2008 at 05:30:31AM -0800, Jacob Blonisci wrote: hello shalom what ia the alternative of AGGRESSIVE_SUPPRESSORin zconfig.h in the DAHDI version dahdi_echocan_oslec.ko ;-) Sreiously, though, it has been made a run-time option. In chan_dahdi.conf: echocancel = yes,aggressive=1 -- Tzafrir Cohen icq#16849755 jabber:tzafrir.co...@xorcom.com +972-50-7952406 mailto:tzafrir.co...@xorcom.com http://www.xorcom.com iax:gu...@local.xorcom.com/tzafrir ___ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users