cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
1213
Views
0
Helpful
3
Replies

Broadsoft answer

How can I answer a call using XSI? or what is the correct way to respond to a flame using Broadsoft APIs

1 Accepted Solution

Accepted Solutions

Chinmaya
Cisco Employee
Cisco Employee
The below command is used to answer the specified call if it is unanswered or to retrieve the specified call if it is held (that is, to start talking).
http(s)://<host:port>/com.broadsoft.xsiactions/v2.0/user/<userid>/calls/<callid>/Talk
Method: PUT
PUT Request Content: No Content

View solution in original post

3 Replies 3

Chinmaya
Cisco Employee
Cisco Employee
The below command is used to answer the specified call if it is unanswered or to retrieve the specified call if it is held (that is, to start talking).
http(s)://<host:port>/com.broadsoft.xsiactions/v2.0/user/<userid>/calls/<callid>/Talk
Method: PUT
PUT Request Content: No Content

I try to call from A to B, using XSI. and I want to answer B using XSI. What is the indicated URL to call from A to B, without asking A first, without authorization?

I receive that as a result

daniel@daniel-HP-340-G2:~$ telnet broadsoftsandboxxsp.cisco.com 80
Trying 64.103.37.40...
Connected to broadsoftsandboxxsp.cisco.com.
Escape character is '^]'.
PUT /com.broadsoft.xsi-actions/v2.0/user/u9736722344@broadsoftlab.com/calls/callhalf-17255553:0/Talk HTTP/1.1
Host: broadsoftsandboxxsp.cisco.com
Authorization: Basic dTk3MzY3MjIzNDRAYnJvYWRzb2Z0bGFiLmNvbTo3cjNlcHVtdA==
Content-Length: 0

HTTP/1.1 200 OK
X-BROADSOFT-CORRELATION-ID: 39855b65-6a40-4655-9a7e-58d55a1a7de0
X-Frame-Options: SAMEORIGIN
X-XSS-Protection: 1; mode=block
Set-Cookie: JSESSIONID=4C7FF98F9979BD2932A53ED4786ED9BF; Path=/com.broadsoft.xsi-actions; HttpOnly
Expires: Thu, 01 Jan 1970 00:00:00 GMT
Cache-Control: no-cache, no-store
Pragma: no-cache
Content-Language: en-US
Content-Type: application/xml;charset=UTF-8
Transfer-Encoding: chunked
Date: Mon, 01 Jun 2020 22:46:06 GMT
Server: HTTP Server

0

Connection closed by foreign host.