| 1 | #!/bin/shscip-shell filesystem . . `/bin/sh`. -e |
| 2 | |
| 3 | for lang in /en/scip-shell filesystem . . `/en/`. /fr/scip-shell filesystem . . `/fr/`. /es/scip-shell filesystem . . `/es/`. |
| 4 | do |
| 5 | for format in ulaw alaw wav gsm g729 g722 |
| 6 | do |
| 7 | [scip-shell system . . `[`. ! -f "${1}/sounds${lang}vm-isunavail.${format}" ] && continue |
| 8 | |
| 9 | mkdirscip-shell system . . mkdir. -p "${2}/voicemail/default/1234${lang}" |
| 10 | |
| 11 | : > "${2}/voicemail/default/1234${lang}unavail.${format}" |
| 12 | |
| 13 | for file in vm-theperson digits/1 digits/2 digits/3 digits/4 vm-isunavail |
| 14 | do |
| 15 | catscip-shell system . . cat. "${1}/sounds${lang}${file}.${format}" >> "${2}/voicemail/default/1234${lang}unavail.${format}" |
| 16 | done |
| 17 | |
| 18 | : > "${2}/voicemail/default/1234${lang}busy.${format}" |
| 19 | |
| 20 | for file in vm-theperson digits/1 digits/2 digits/3 digits/4 vm-isonphone |
| 21 | do |
| 22 | catscip-shell system . . cat. "${1}/sounds${lang}${file}.${format}" >> "${2}/voicemail/default/1234${lang}busy.${format}" |
| 23 | done |
| 24 | done |
| 25 | done |