Summary:ASTERISK-08580: During the install process, "make samples" assumes that you have installed the gsm sound files
Reporter:Jim Van Meggelen (jimvanm)Labels:
Date Opened:2007-01-15 10:58:18.000-0600Date Closed:2007-01-15 11:20:17.000-0600
Versions:Frequency of
Description:If "make menuselect" is run, and the only sound files installed are ulaw, the running of "make samples" ends with the following error:

mkdir -p /var/spool/asterisk/voicemail/default/1234/INBOX
:> /var/spool/asterisk/voicemail/default/1234/unavail.gsm
for x in vm-theperson digits/1 digits/2 digits/3 digits/4 vm-isunavail; do \
       cat /var/lib/asterisk/sounds/$x.gsm >> /var/spool/asterisk/voicemail/default/1234/unavail.gsm ; \ done
cat: /var/lib/asterisk/sounds/vm-theperson.gsm: No such file or directory
cat: /var/lib/asterisk/sounds/digits/1.gsm: No such file or directory
cat: /var/lib/asterisk/sounds/digits/2.gsm: No such file or directory
cat: /var/lib/asterisk/sounds/digits/3.gsm: No such file or directory
cat: /var/lib/asterisk/sounds/digits/4.gsm: No such file or directory
cat: /var/lib/asterisk/sounds/vm-isunavail.gsm: No such file or directory
make: *** [samples] Error 1


It seems that the script assumes I have installed the gsm sound files, which it probably shouldn't assume anymore, given that "make menuselect" allows for an install without gsm. It seems to be trying to create a default unavail message for the sample mailbox 1234. Since I don't have wav/wav49/gsm sound files installed, is there any way for it to create that greeting? The other thing that confuses me is why it bothers at all. It seems that what it creates is what the system plays when there is no greeting, so why create one at all?

I am not sure how this error would affect other installations. I have only tested it in an environment where I selected only 'ulaw' sounds.

I put this under app_voicemail, but really it's more a problem with the make process. Not sure how to better categorize it.
Comments:By: Serge Vecher (serge-v) 2007-01-15 11:14:24.000-0600

can you please test the 1.4 from svn instead of the tarball?

By: Joshua C. Colp (jcolp) 2007-01-15 11:20:16.000-0600

Done and tested. Fixed in 1.4 as of revision 50754 and trunk as of revision 50755 by kpfleming.