Re: [asterisk-users] changing inbuilt sound messages
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Lists wrote: Hi all, I am wanting to change the sound files from the standard ones to a New Zealand voice pack. I have copied the files into the /var/lib/asterisk/sounds directory and chowned them to asterisk:asterisk and chmod 420 to match the existing files but the system is still using the original files. The original files seem to be wav files while the NZ voice pack ones are gsm files. How do I get the system to use the new gsm files? Bear in mind that the New Zealand sound files are only available in GSM. Asterisk will choose the sound file which best matches the current audio format. I.E. if you have ulaw/alaw sounds and a ulaw/alaw conversation, Asterisk will use the alaw/ulaw sounds rather than the GSM ones. Either remove all files and only install GSM (and then put NZ over the top), or convert the NZ sounds to ulaw/alaw. Alternatively, make sure your call is in GSM. - -- Kind Regards, Matt Riddell Director ___ http://www.venturevoip.com (Great new VoIP end to end solution) http://www.venturevoip.com/news.php (Daily Asterisk News - html) http://www.venturevoip.com/newrssfeed.php (Daily Asterisk News - rss) -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.7 (MingW32) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFIfU5oDQNt8rg0Kp4RAtBfAJ0dZVK9J8Qki5B01ZXMX6oiKqf7VgCeLVnA MpO+/VOYVYvQ7Ckz3JCfMZo= =REJx -END PGP SIGNATURE- ___ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- AstriCon 2008 - September 22 - 25 Phoenix, Arizona Register Now: http://www.astricon.net asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
Re: [asterisk-users] changing inbuilt sound messages
I was curious so I took a look at my sounds directory. Most of the files are 644 except the g729 which are 444. I also noticed that the ownerid/groupid are a non-existent 1000/1000. I take it that the sound installer uses something like tar with the option to keep the original owner and groupid which it shouldn't be doing. If it's tar it should use at least the option -o when doing the extraction to /var/lib/asterisk/sounds. -rw-r--r-- 1 1000 10006985 Dec 5 2007 zip-code.alaw -rw-r--r-- 1 1000 10006985 Dec 5 2007 zip-code.g722 -r--r--r-- 1 1000 1000 870 Dec 5 2007 zip-code.g729 -rw-r--r-- 1 1000 10001452 Dec 5 2007 zip-code.gsm -rw-r--r-- 1 1000 10006985 Dec 5 2007 zip-code.ulaw -rw-r--r-- 1 1000 1000 14014 Dec 5 2007 zip-code.wav from asterisk/sounds/Makefile: Makefile: @PACKAGE=$(subst $(SOUNDS_DIR)/.asterisk,asterisk,$@).tar.gz; \ Makefile: (cd $(SOUNDS_DIR); cat $(PWD)/$${PACKAGE} | gzip -d | tar xf -) \ Makefile: @PACKAGE=$(subst $(SOUNDS_DIR)/.asterisk,asterisk,$@).tar.gz; \ Makefile: (cd $(SOUNDS_DIR)/es; cat $(PWD)/$${PACKAGE} | gzip -d | tar xf -) \ Makefile: @PACKAGE=$(subst $(SOUNDS_DIR)/.asterisk,asterisk,$@).tar.gz; \ Makefile: (cd $(SOUNDS_DIR)/fr; cat $(PWD)/$${PACKAGE} | gzip -d | tar xf -) \ Makefile: @PACKAGE=$(subst $(SOUNDS_DIR)/.asterisk,asterisk,$@).tar.gz; \ Makefile: (cd $(SOUNDS_DIR); cat $(PWD)/$${PACKAGE} | gzip -d | tar xf -) \ Makefile: @PACKAGE=$(subst $(SOUNDS_DIR)/.asterisk,asterisk,$@).tar.gz; \ Makefile: (cd $(SOUNDS_DIR)/es; cat $(PWD)/$${PACKAGE} | gzip -d | tar xf -) \ Makefile: @PACKAGE=$(subst $(SOUNDS_DIR)/.asterisk,asterisk,$@).tar.gz; \ Makefile: (cd $(SOUNDS_DIR)/fr; cat $(PWD)/$${PACKAGE} | gzip -d | tar xf -) \ Makefile: @PACKAGE=$(subst $(MOH_DIR)/.asterisk,asterisk,$@).tar.gz; \ Makefile: (cd $(MOH_DIR); cat $(PWD)/$${PACKAGE} | gzip -d | tar xf -) \ Tzafrir Cohen wrote: On Fri, Jul 11, 2008 at 09:56:29AM +1200, Lists wrote: I only did the 420 because thats what the original files looked like? r-- -w- --- Should I change this to 644? Yes! ___ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- AstriCon 2008 - September 22 - 25 Phoenix, Arizona Register Now: http://www.astricon.net asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
Re: [asterisk-users] changing inbuilt sound messages
Hi, try to delete old .wav ones. Why not using a sounds/nz subfolder and set language to nz? Giorgio Lists wrote: Hi all, I am wanting to change the sound files from the standard ones to a New Zealand voice pack. I have copied the files into the /var/lib/asterisk/sounds directory and chowned them to asterisk:asterisk and chmod 420 to match the existing files but the system is still using the original files. The original files seem to be wav files while the NZ voice pack ones are gsm files. How do I get the system to use the new gsm files? Thanks Kate ___ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- AstriCon 2008 - September 22 - 25 Phoenix, Arizona Register Now: http://www.astricon.net asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users -- _ Giorgio Incantalupo, mailto:[EMAIL PROTECTED] FGA srl - http://www.fgasoftware.com - [EMAIL PROTECTED] - The Agile PBX http://www.voiceatwork.eu Tel: 02997663.14, Fax: 0291390172 ___ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- AstriCon 2008 - September 22 - 25 Phoenix, Arizona Register Now: http://www.astricon.net asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
Re: [asterisk-users] changing inbuilt sound messages
On Thu, Jul 10, 2008 at 10:18:21AM +0200, Giorgio Incantalupo wrote: Lists wrote: Hi all, I am wanting to change the sound files from the standard ones to a New Zealand voice pack. I have copied the files into the /var/lib/asterisk/sounds directory and chowned them to asterisk:asterisk and chmod 420 420? r-- -w- --- ? Why not stick with the standard 644 or maybe 664? Anyway, the Asterisk user does not need to write access to the standard sound files. Only read-access. to match the existing files but the system is still using the original files. The original files seem to be wav files while the NZ voice pack ones are gsm files. Only gsm? Any higher quality originals from which to produce other formats? How do I get the system to use the new gsm files? Hi, try to delete old .wav ones. Why not using a sounds/nz subfolder and set language to nz? en-nz? -- Tzafrir Cohen icq#16849755 jabber:[EMAIL PROTECTED] +972-50-7952406 mailto:[EMAIL PROTECTED] http://www.xorcom.com iax:[EMAIL PROTECTED]/tzafrir ___ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- AstriCon 2008 - September 22 - 25 Phoenix, Arizona Register Now: http://www.astricon.net asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
Re: [asterisk-users] changing inbuilt sound messages
I only did the 420 because thats what the original files looked like? r-- -w- --- Should I change this to 644? Kate Tzafrir Cohen wrote: On Thu, Jul 10, 2008 at 10:18:21AM +0200, Giorgio Incantalupo wrote: Lists wrote: Hi all, I am wanting to change the sound files from the standard ones to a New Zealand voice pack. I have copied the files into the /var/lib/asterisk/sounds directory and chowned them to asterisk:asterisk and chmod 420 420? r-- -w- --- ? Why not stick with the standard 644 or maybe 664? Anyway, the Asterisk user does not need to write access to the standard sound files. Only read-access. to match the existing files but the system is still using the original files. The original files seem to be wav files while the NZ voice pack ones are gsm files. Only gsm? Any higher quality originals from which to produce other formats? How do I get the system to use the new gsm files? Hi, try to delete old .wav ones. Why not using a sounds/nz subfolder and set language to nz? en-nz? ___ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- AstriCon 2008 - September 22 - 25 Phoenix, Arizona Register Now: http://www.astricon.net asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
Re: [asterisk-users] changing inbuilt sound messages
On Fri, Jul 11, 2008 at 09:56:29AM +1200, Lists wrote: I only did the 420 because thats what the original files looked like? r-- -w- --- Should I change this to 644? Yes! -- Tzafrir Cohen icq#16849755 jabber:[EMAIL PROTECTED] +972-50-7952406 mailto:[EMAIL PROTECTED] http://www.xorcom.com iax:[EMAIL PROTECTED]/tzafrir ___ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- AstriCon 2008 - September 22 - 25 Phoenix, Arizona Register Now: http://www.astricon.net asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
[asterisk-users] changing inbuilt sound messages
Hi all, I am wanting to change the sound files from the standard ones to a New Zealand voice pack. I have copied the files into the /var/lib/asterisk/sounds directory and chowned them to asterisk:asterisk and chmod 420 to match the existing files but the system is still using the original files. The original files seem to be wav files while the NZ voice pack ones are gsm files. How do I get the system to use the new gsm files? Thanks Kate ___ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- AstriCon 2008 - September 22 - 25 Phoenix, Arizona Register Now: http://www.astricon.net asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users