How-To: Remote Control the Robin
Robin Tech Note
Control the audio mute function using HTTP commands
The audio settings of the Robin can be controled using http commands. The commands control the
mute function of the Robin. It mutes speakers of the Robin.
You can mute three types of audio:
•
All incoming tones: Mute all tones from an incomming phone call
•
All tones: Mute all tones from incomming and outgoing phone calls
•
All audio: Mute the speakers of the Robin. It mutes all tones and voice. Use this option to listen-
in on the Robin.
The audio mute can also be disabled using one command.
The Robin will answer to these commands in JSON.
Command:
curl -u admin:<password> “http://<address>/api/v1/mute_set?mute=tones_
incoming”
Goal:
mute all tones from an incomming phone call
Answer:
{
“rv” : {
“mute”:”tones_incoming”
},
“ok” : true
}
Command:
curl -u admin:<password> “http://<address>/api/v1/mute_set?mute=tones_
all”
Goal:
mute all tones from incomming and outgoing phone calls
Answer:
{
“rv” : {
“mute”:”tones_all”
},
“ok” : true
}
Command:
curl -u admin:<password> “http://<address>/api/v1/mute_set?mute=all_au
dio”
Goal:
mute the speakers of the Robin. (mutes all tones and voice)
Answer:
{
“rv” : {
“mute”:”all_audio”
},
“ok” : true
}