Download Print this page

Robin SmartView Tech Note page 7

Hide thumbs Also See for SmartView:

Advertisement

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:
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:
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":"tones_incoming"
},
"ok" : true
}
{
"rv" : {
"mute":"tones_all"
},
"ok" : true
}
{
"rv" : {
"mute":"all_audio"
},
"ok" : true
}
How-To: Remote Control the Robin

Advertisement

loading
Need help?

Need help?

Do you have a question about the SmartView and is the answer not in the manual?