| 1 | #!/bin/sh |
| 2 | |
| 3 | set -e |
| 4 | |
| 5 | # Veryfy amr support is enabled as per |
| 6 | # https://www.mail-archive.com/[email protected]/msg45213.html |
| 7 | # by verifying if the amr codecs are listed and by checking if amr transcoding |
| 8 | # is available |
| 9 | |
| 10 | asterisk -x 'core show codecs audio' | grep -E '\bamr\b' |
| 11 | asterisk -x 'core show codecs audio' | grep -E '\bamrwb\b' |
| 12 | |
| 13 | asterisk -x 'core show translation' | grep -E '\bamr\b' |
| 14 | asterisk -x 'core show translation' | grep -E '\bamrwb\b' |