Phone System

From TipsTrade Wiki
Revision as of 10:10, 11 July 2014 by 192.168.0.30 (talk) (Added phone system information)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Asterisk

Converting WAV to PCM Asterisk can't play mu-law files, so they need to be converted to PCM

ORIG=<ulaw file>
PCM=$(echo "$ORIG" | sed 's/ulaw/pcm/')
sox "$ORIG" -r 8000 -c 1 -e signed $PCM