![paulc](/assets/img/avatar_default.png)
Added several example shell scripts. git-svn-id: http://yate.null.ro/svn/yate/trunk@17 acf43c95-373e-0410-b603-e72c3f656dc1
10 lines
345 B
Bash
Executable file
10 lines
345 B
Bash
Executable file
#!/bin/sh
|
|
|
|
# Bourne shell test script for the Yate external module interface
|
|
# Plays sound using the "play" program (from the sox package)
|
|
# To test add a route to: external/record/play.sh
|
|
|
|
echo "=================== play ====================" >&2
|
|
play -t raw -c 1 -f s -r 8000 -s w - <&3
|
|
echo "================= play done =================" >&2
|