3 for lang
in / /fr
/ /es
/
5 for format
in ulaw alaw wav gsm g729 g722
7 [ ! -f ${1}/sounds${lang}vm-isunavail.${format} ] && continue
9 mkdir
-p ${2}/voicemail
/default
/1234${lang}
11 : > ${2}/voicemail/default/1234${lang}unavail.${format}
13 for file in vm-theperson digits
/1 digits
/2 digits
/3 digits
/4 vm-isunavail
15 cat ${1}/sounds${lang}${file}.${format} >> ${2}/voicemail/default/1234${lang}unavail.${format}
18 : > ${2}/voicemail/default/1234${lang}busy.${format}
20 for file in vm-theperson digits
/1 digits
/2 digits
/3 digits
/4 vm-isonphone
22 cat ${1}/sounds${lang}${file}.${format} >> ${2}/voicemail/default/1234${lang}busy.${format}