VoiceCall
DPYVOICECALLTOOL Linux Programmer's Manual DPYVOICECALLTOOL
DESCRIPTION
dpyvoicecalltool : Tool used to manage phone calls operations. Moreover, it is used to configure several audio and configuration settings.
SYNOPSIS
dpyvoicecalltool [-h/ --help]
dpyvoicecalltool [-tv / --toolversion]
dpyvoicecalltool [-ls/ --listsources]
dpyvoicecalltool [-gs/ --getstate] <sourceid>
dpyvoicecalltool [-se --sourcesevents]
dpyvoicecalltool [-sse / --sourcesstatusevents]
dpyvoicecalltool [-ce/ --callevents]
dpyvoicecalltool [-c/ --call] <sourceid> <destination>
dpyvoicecalltool [-a/ --answer] <callid>
dpyvoicecalltool [-f/ --finish] <callid>
dpyvoicecalltool [-i/ --callinfo] <callid>
dpyvoicecalltool [-lc/ --listcalls]
dpyvoicecalltool [-sc/ --setconfig] <sourceid> <callparameter> <value>
dpyvoicecalltool [-gc/ --setconfig] <sourceid> <callparameters>
OPTIONS
-h / --help : Print help command information.
-tv / --toolversion : Print tool version.
-ls / --listsources : Get list of Call sources that have been detected.
-gs / --getstate <sourceid> : Get current voice call state from a source.
-se / --sourcesevents : Get call sources list events whenever a change happens.
-sse / --sourcesstatusevents : Get sources status events whenever a change happens.
-ce / --callevents : Get Call events updates in a permanent mode.
-c / --call <sourceid> <destination> : Makes a call to the specified destination.
Description:
<destination> : Destination (phone or address) that will receive the call.
-a / --answer <callid> : Answers a specific call.
-f / --finish <callid> : Finishes a specific call.
Description:
<value> : Value to enable/disable the microphone. Possible values are:
<true> : Disables the microphone.
<false> : Enables the microphone.
-i / --callinfo <callid> : Retrieve call information for a specific call.
-lc / --listcalls : Retrieve the list of calls.
-sc / --setconfig <sourceid> <callparameter> <value>: Set a specific call parameter for a given source.
-gc / --getconfig <sourceid> <callparameters> : Get the value for one or more call parameters for a given source.
Description:
<callparameter> [allowed_values]: used to select the parameter to change. Possible values are:
NUM_OF_RINGS: Number of rings before automatic answer if it is enabled [0,10].
AUTOMATIC_ANSWER: Automatic answer ("true","false").
AUDIO_MODE: Audio mode [0,6].
RINGTONE: Type of ring tone [0,7].
VOLUME_RINGTONE: Volume of ring tone,varies from low to high [0,100].
VOLUME_PERCENT: Percentage of volume [0,100].
MICRO_ADC_GAIN: Amplification of the microphone. ADC Gain [0,100].
MICRO_MULT_FACTOR: Amplification of the microphone. Multiplication factor [0,100].
NUM_OF_RETRIES: Maximum retries number.
SIP_ACCOUNT: SIP account configuration. Examples:
<sip:root@localhost>;regint=0;
<sip:64019@195.53.226.130:5060;transport=udp>;auth_pass=4019
SIP_LOCAL_PORT: Local SIP port: Example: "5060".
RTP_LOCAL_PORT_RANGE: Local RTP ports. Example: "10000-10100".
SIP_CODECS: Allowed audio codecs. Examples:
"OPUS,G711"
"OPUS"
"G711,OPUS"
EXAMPLES
dpyvoicecalltool -ls
dpyvoicecalltool -gs "1234567890"
dpyvoicecalltool --call "1234567890" "+34678901234"
dpyvoicecalltool --callinfo "1"
dpyvoicecalltool --listcalls
dpyvoicecalltool -sc "1234567890" "RINGTONE" 2
dpyvoicecalltool -gc "1234567890" "RINGTONE" "VOLUME_RINGTONE"
FILES
JSON Configuration file : /mntSFS/gmvCNF/voicecall_conf.json
Calls list file : /mntSFS/gmvCNF/callsList.json
BUGS
SEE ALSO
AUTHORS
Deepsy Team
