.. | ||
Makefile | ||
README.md | ||
sipcall-sample.sh | ||
sipcall.c | ||
sipserv-ctrl.sh | ||
sipserv-sample.cfg | ||
sipserv.c |
Sip-Tools - Automated calls and answering machine
sipcall - Automated calls over SIP/VOIP with TTS sipserv - Answering machine for SIP/VOIP with TTS
Dependencies:
- PJSUA API (http://www.pjsip.org)
- eSpeak (http://espeak.sourceforge.net)
Copyright (C) 2012 by Andre Wussow, 2012, desk@binerry.de
For more informations please visit http://binerry.de/post/29180946733/raspberry-pi-caller-and-answering-machine.
sipcall
Usage:
sipcall [options]
Mandatory options:
-sd=string Set sip provider domain.
-su=string Set sip username.
-sp=string Set sip password.
-pn=string Set target phone number to call
-tts=string Text to speak
Optional options:
-ttsf=string TTS speech file name
-rcf=string Record call file name
-mr=int Repeat message x-times
-s=int Silent mode (hide info messages) (0/1)
see also source of sipcall-sample.sh
sipserv
Usage:
sipserv [options]
Commandline:
Mandatory options:
--config-file=string Set config file
Optional options:
-s=int Silent mode (hide info messages) (0/1)
Config file:
Mandatory options:
sd=string Set sip provider domain.
su=string Set sip username.
sp=string Set sip password.
and at least one dtmf configuration (X = dtmf-key index):
dtmf.X.active=int Set dtmf-setting active (0/1).
dtmf.X.description=string Set description.
dtmf.X.tts-intro=string Set tts intro.
dtmf.X.tts-answer=string Set tts answer.
dtmf.X.cmd=string Set dtmf command.
Optional options:
rc=int Record call (0/1)
a sample configuration can be found in sipserv-sample.cfg
sipserv can be controlled with ./sipserv-ctrl.sh start and ./sipserv-ctrl.sh stop
License
This tools are free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1 of the License, or (at your option) any later version.
This tools are distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details.