Download Print this page

Robin SmartView Tech Note page 6

Hide thumbs Also See for SmartView:

Advertisement

Robin Tech Note
Making calls using HTTP commands
You can control the Robin to make calls, disconnect calls and retrieve the current call status.
The Robin will answer to these commands in JSON.
Command: curl -u admin:<password> "http://<address>/api/v1/call_
setup?number=501"
Goal: Call extension 501
Answer:
Command: curl -u admin:<password> "http://<address>/api/v1/call_status"
Goal: Retrieve the call status of the Robin
Answer:
Command: curl -u admin:<password> "http://<address>/api/v1/call_hangup"
Goal: disconnect the call (call hangup)
Answer:
Command: curl -u admin:<password> "http://<address>/api/v1/api_ping"
Goal: ping the Robin (to check if it responds)
Answer:
! Note: If the HTTP command to dial an extension contains an extension that is already known
in the phone book, the Robin dials that extension and will use the profile that is defined for that
extension. !
{
"ok" : true
}
{
"rv" : {
"status" : "outgoing call to 501"
},
"ok" : true
}
{
"ok" : true
}
{
"rv" : {
"pong" : "pong"
},
"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?

Subscribe to Our Youtube Channel