sattar k avatar image
sattar k asked Phong Vu commented

TAS-106 - Operation is not allowed

when we hit the answer call party API we are getting the error.


we got this suggestion from your end but we didn't get the device id from the List Extension Devices API . As you mentioned in the comment that we can not detect the device ID for RC app. so how we gonna run the answer call API without device id when it is a required field.


Do we have any other option to get the static/dynamic device ID from RC app.

rest apicall handlingcall forwardingcall logscall recording
1 |3000

Up to 8 attachments (including images) can be used with a maximum of 1.0 MiB each and 10.0 MiB total.

1 Answer

Phong Vu avatar image
Phong Vu answered Phong Vu commented

Unfortunately, with the device id limitation, this API can be used mainly to answer incoming calls to a desk/hard phone only.

But if you want to try out with the RC app. here is a workaround solution.

Manually make an outbound call from your RC app to any phone number and answer the call. Then read the user active calls with the view=Detailed and parse the "from" object from the response to detect the device id. The device id will remain the same until you change your internet connection.

E.g. response

  uri: '',
  id: 'YILblmt5jMJPzUA',
  sessionId: '1166748370016',
  startTime: '2023-11-02T14:03:54.000Z',
  duration: 104,
  durationMs: 104000,
  type: 'Voice',
  internalType: 'LongDistance',
  direction: 'Outbound',
  action: 'VoIP Call',
  result: 'Call connected',
  to: {
  from: {
    name: 'Paco Vu',
    extensionNumber: '11119',
    device: {
      uri: '',
      id: '802404970016'
1 |3000

Up to 8 attachments (including images) can be used with a maximum of 1.0 MiB each and 10.0 MiB total.

sattar k avatar image sattar k commented ·

In case of out bound in the user active call API ( I am getting the device ID but not getting the party Id. So please suggest from which API we will get party id and device id both to answer the incoming call using answering call API (

I am getting the error in response of answer call API.


Actually i need the answer call functionality for inbound calls.

0 Likes 0 ·
1698944316052.png (82.7 KiB)
Phong Vu avatar image Phong Vu ♦♦ sattar k commented ·

That workaround solution is just for grabbing the device id. You can hangup the call after that and save the device id somewhere for using with your test to answer incoming calls later.

0 Likes 0 ·
sattar k avatar image sattar k Phong Vu ♦♦ commented ·

We are hitting the User Active Call API (

Case 1 :- In response we are getting the result : In Progress, so in this case which type of result should we get in response.


0 Likes 0 ·
1699017933973.png (44.8 KiB)
Show more comments

Developer sandbox tools

Using the RingCentral Phone for Desktop, you can dial or receive test calls, send and receive test SMS or Fax messages in your sandbox environment.

Download RingCentral Phone for Desktop:

Tip: switch to the "sandbox mode" before logging in the app:

  • On MacOS: press "fn + command + f2" keys
  • On Windows: press "Ctrl + F2" keys