Re: [Asterisk-Users] Zaptel will not build
Hello I've been trying to compile zaptel 1.2.4 on Mandriva 10.2 , kernel 2.6.11-6mdk and i keep getting these errors: #make linux26 cc -I. -O4 -g -Wall -DBUILDING_TONEZONE-Drw_lock_t="rwlock_t" -DSTANDALONE_ZAPATA -DZAPTEL_CONFIG=\"/etc/zaptel.conf\" -c -o gendigits.o gendigits.c cc -o gendigits gendigits.o -lm ./gendigits cc -I. -O4 -g -Wall -DBUILDING_TONEZONE-Drw_lock_t="rwlock_t" -DSTANDALONE_ZAPATA -DZAPTEL_CONFIG=\"/etc/zaptel.conf\"makefw.c -o makefw ./makefw tormenta2.rbt tor2fw > tor2fw.h Loaded 69900 bytes from file ./makefw pciradio.rbt radfw > radfw.h Loaded 42096 bytes from file ZAPTELVERSION="1.2.4" build_tools/make_version_h > version.h.tmp if cmp -s version.h.tmp version.h ; then echo; else \ mv version.h.tmp version.h ; \ fi rm -f version.h.tmp cc -I. -O4 -g -Wall -DBUILDING_TONEZONE-Drw_lock_t="rwlock_t" -DSTANDALONE_ZAPATA -DZAPTEL_CONFIG=\"/etc/zaptel.conf\" -c -o ztcfg.o ztcfg.c cc -c -fPIC -I. -O4 -g -Wall -DBUILDING_TONEZONE -Drw_lock_t="rwlock_t" -DSTANDALONE_ZAPATA -DZAPTEL_CONFIG=\"/etc/zaptel.conf\" -DBUILDING_TONEZONE -o zonedata.lo zonedata.c cc -c -fPIC -I. -O4 -g -Wall -DBUILDING_TONEZONE -Drw_lock_t="rwlock_t" -DSTANDALONE_ZAPATA -DZAPTEL_CONFIG=\"/etc/zaptel.conf\" -DBUILDING_TONEZONE -o tonezone.lo tonezone.c ar rcs libtonezone.a zonedata.lo tonezone.lo cc -o ztcfg ztcfg.o libtonezone.a -lm cc -I. -O4 -g -Wall -DBUILDING_TONEZONE-Drw_lock_t="rwlock_t" -DSTANDALONE_ZAPATA -DZAPTEL_CONFIG=\"/etc/zaptel.conf\" -c -o torisatool.o torisatool.c cc -o torisatool torisatool.o cc -I. -O4 -g -Wall -DBUILDING_TONEZONE-Drw_lock_t="rwlock_t" -DSTANDALONE_ZAPATA -DZAPTEL_CONFIG=\"/etc/zaptel.conf\" -c -o ztmonitor.o ztmonitor.c cc -o ztmonitor ztmonitor.o cc -o ztspeed.o -c ztspeed.c cc -o ztspeed ztspeed.o cc -I. -O4 -g -Wall -DBUILDING_TONEZONE-Drw_lock_t="rwlock_t" -DSTANDALONE_ZAPATA -DZAPTEL_CONFIG=\"/etc/zaptel.conf\"zttest.c -o zttest cc -I. -O4 -g -Wall -DBUILDING_TONEZONE-Drw_lock_t="rwlock_t" -DSTANDALONE_ZAPATA -DZAPTEL_CONFIG=\"/etc/zaptel.conf\" -c -o fxotune.o fxotune.c cc -o fxotune fxotune.o -lm /lib/modules/2.6.11-6mdk/build make -C /lib/modules/2.6.11-6mdk/build SUBDIRS=/usr/src/zaptel-1.2.4 XPPMOD= modules make[1]: Entering directory `/lib/modules/2.6.11-6mdk/build' make[1]: *** No rule to make target `modules'. Stop. make[1]: Leaving directory `/lib/modules/2.6.11-6mdk/build' make: *** [linux26] Error 2 I've made all the modifications to the spinlock.h file [ #define DEFINE_RWLOCK(x) rwlock_t x = RW_LOCK_UNLOCKED] suggested on this list and also the changes to the Zaptel Makefile [CFLAGS+=$(shell if uname -r | grep -q 2.6.11-6mdk ; then echo "-Drw_lock_t=\"rwlock_t\""; fi) ] , but the problem persists . Any ideas ? -- Assaf Flatto Atelis IT Manager Cellular: +972-54-5679230 e-mail: [EMAIL PROTECTED] ___ --Bandwidth and Colocation provided by Easynews.com -- Asterisk-Users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
Re: [Asterisk-Users] SATA hard disk compatibility
The Hardware support of SATA in RH9.0 is not fully integrated AFAIK , so moving to a SATA hard disk without an upgrade might not be the safest bet. on the other hand until you try you won't know for sure . have you thought of using the Fedora Core ? those have SATA support and they should be the closest thing to RH9 you can find. why don't you want to upgrade the asterisk ? 1.0.3 is a very old version and many fixes and features where added to the software . Assaf amna saleem wrote: Hi! I have been using ASterisk 1.0.3 on Red hat Linux 9.0 for a long time now on my Home PC. I want to shift to a PC having SATA hard disk .Can I install Redhat 9.0 on SATA hard disk ??some people are telling me that I have to go for Linux Enterprise 4.0.I don`t want to leave Linux 9.0 because I want to run Asterisk 1.0.3 Can anyone help me?? Amna ___ --Bandwidth and Colocation provided by Easynews.com -- Asterisk-Users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users -- Assaf Flatto Atelis IT Manager Cellular: +972-54-5679230 e-mail: [EMAIL PROTECTED] ___ --Bandwidth and Colocation provided by Easynews.com -- Asterisk-Users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
Re: [Asterisk-Users] (Semi-OT) QoS Question FTP Living with Asterisk
Steve From what i read here and from what others have suggested i can only surmise that you tried almost everything besides the simplest thing . out of the box CentOs installs proftpd (AFAIK ) , this ftp engine has a simple too called mod_shaper which allows as you can assume shape traffic rates . example of the configuration is : ShaperEngine on ShaperLog /var/log/ftpd/shaper.log ShaperTable /var/log/ftpd/shaper.tab # Enableing FXP AllowForeignAddress on # An overall rate (in KB/s) must be set. This line explicitly # sets both the download and upload rates to be the same. ***ShaperAll downrate 100 uprate 100 This is the line to manipulate # Allow all system users to see shaper info #ShaperControlsACLs info allow user * # Allow FTP admins to alter settings both overall and per-session ShaperControlsACLs all,sess allow group ftpadm you'll need to see if the module was installed in the initial installation , and if not - download it and compile it . Assaf Steve Totaro wrote: I have searched google and came up with too many options and packages that may or may not work for my needs, most articles seem to be for setting up routers. Maybe someone on the list can give me some better insight. I have monitoring turned on my "shift eight (tm)" (Asterisk ;-)) box for all calls. We have over one hundred agents and tons of recordings in wav format. I also have a cron job that runs a script to mux the in and out files and ftp them to a NAS device and it runs every five minutes. The NAS device and the * box are both directly connected to a Cisco Gigabit switch. I have had complaints of calls fading in and out and also cutting off. After reviewing the recordings, some of these complaints seem valid and I suspect the sheer bandwidth of the FTP traffic is causing the issues. I also run nagios checks on the box and get ping warnings on a regular basis. My question is, how can I throttle the FTP (Standard with dist) transfers using out of the box CentOS4.3 (or any easy to use, low learning curve package)? I thought about FTPing the files at less frequent intervals but that just makes the issue less frequent but last longer. I would like to accomplish throttling FTP on the Linux box with a solution that is not too elegant since this is a production machine in a busy call center. If I cannot do it on the * box I guess my next step is to see if the Cisco Gigabit switch has any QoS functionality. Thanks, Steve ___ --Bandwidth and Colocation provided by Easynews.com -- Asterisk-Users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users -- Assaf Flatto Atelis IT Manager Cellular: +972-54-5679230 e-mail: [EMAIL PROTECTED] ___ --Bandwidth and Colocation provided by Easynews.com -- Asterisk-Users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
Re: [Asterisk-Users] SATA hard disk compatibility
Fedora core stable version now is FC4 (which is to say Red hat 10 version 4 or even Red Hat 11 if we count in the old way RH did ). IAX and the configuration have changed a bit from 1.0.3 so you'll need to modify the file to match the new configuration but other then that it should be no problem to move to a more Up-To-Date system. the current stable asterisk is 1.2.7.1 , and it works smoothly for me on several machine i installed and used in several locations. As John suggested CentOs is a good idea to use , however there are some well documented problems with the zaptel ( that is if you are using digium hardware ) compilation ,but all in all it shouldn't be a problem. Assaf amna saleem wrote: Thanks alot for the help. I have not worked on fedra core .Which version should I use Also can you tell me that if I am using Red hat Enterprise, which asterisk version will be the best suited ? and will i be able to use the same .conf files which i used earlier with aserisk 1.0.3. I only need to use IAX ,and the IAX soft phones ,don`t really have to use SIP or H323. Also I want a stable asterisk version like 1.0.3 which doesn`t need to be upgraded continuously. I hope you will help me Regards, Amna On 4/27/06, *Assaf Flatto* <[EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]>> wrote: The Hardware support of SATA in RH9.0 is not fully integrated AFAIK , so moving to a SATA hard disk without an upgrade might not be the safest bet. on the other hand until you try you won't know for sure . have you thought of using the Fedora Core ? those have SATA support and they should be the closest thing to RH9 you can find. why don't you want to upgrade the asterisk ? 1.0.3 is a very old version and many fixes and features where added to the software . Assaf amna saleem wrote: > Hi! > I have been using ASterisk 1.0.3 on Red hat Linux 9.0 for a long time > now on my Home PC. > I want to shift to a PC having SATA hard disk .Can I install Redhat > 9.0 on SATA hard disk ??some people are telling me that I have to go > for Linux Enterprise 4.0.I don`t want to leave Linux 9.0 because I > want to run Asterisk 1.0.3 > > Can anyone help me?? > Amna > > > ___ > --Bandwidth and Colocation provided by Easynews.com <http://Easynews.com> -- > > Asterisk-Users mailing list > To UNSUBSCRIBE or update options visit: > http://lists.digium.com/mailman/listinfo/asterisk-users > -- Assaf Flatto Atelis IT Manager Cellular: +972-54-5679230 e-mail: [EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]> ___ --Bandwidth and Colocation provided by Easynews.com <http://Easynews.com> -- Asterisk-Users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users ___ --Bandwidth and Colocation provided by Easynews.com -- Asterisk-Users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users -- Assaf Flatto Atelis IT Manager Cellular: +972-54-5679230 e-mail: [EMAIL PROTECTED] ___ --Bandwidth and Colocation provided by Easynews.com -- Asterisk-Users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users