Phone System

From TipsTrade Wiki
Revision as of 13:51, 27 July 2014 by Baylyj (talk | contribs) (Protected "Phone System" (‎[edit=sysop] (indefinite) ‎[move=sysop] (indefinite)))
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