Skip to main content

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!

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