Solved

Answer Call Javascript SDK

  • 23 March 2020
  • 1 reply
  • 608 views

Hi,


Already using the Javascript SDK to query for Account, Directory, Presence, Call Status, etc. Also successfully using the SDK to do CallOut sessions.


When trying to Answer calls, the API always answer with 400 or 404 responses.

What would be the SDK usage to answer a call, using the telephonySessionId, partyId & deviceId?


regards,

Thanks!

icon

Best answer by Phong1426275020 23 March 2020, 23:25

View original

1 reply

Userlevel 1

In order to answer a call programmatically, you need the telephoneSessionId and the partyId. You can get those ids from an active call. The best way to get ac active call info is to implement push notification and subscribe for the presence notification with the detailedTelephonyState set to true, or subscribe for the telephony session notification

Reply