Command line soft phone that makes phone calls, accepts calls, enters DTMF digits, plays back WAV files and records them. A useful testing tool for VoIP systems. Runs on Linux.
apt-get install opal-dev and ptlib-dev
Get source code from GitHub
If you compile the dependencies from source (don't), make sure that libpt and libopal are in your
LD_LIBRARY_PATH. The default installation location is
--user username (required) -a --alias username alias -l --localaddress local address to listen on -p --listenport the port to listen on -r --remoteparty the party to call to -x --execute program to follow -d --audio-prefix recorded audio filename prefix -f --file the name of played sound file -g --gatekeeper gatekeeper to use -w --gateway gateway to use
-x assumes answer mode. Additional
-r forces caller id checking.
-x assumes call mode.
prog := cmd ';'Example:
| cmd := call | answer | hangup | dtmf | voice | record | wait | setlabel | loop call := 'c' remoteparty answer := 'a' [ expectedremoteparty ] hangup := 'h' dtmf := 'd' digits voice := 'v' audiofile record := 'r' [ append ] [ silence ] [ iter ] millis audiofile append := 'a' silence := 's' closed := 'c' iter := 'i' activity:= 'a' wait := 'w' [ activity | silence ] [ closed ] millis setlabel:= 'l' label loop := 'j' [ how-many-times ] [ 'l' label ]