Re: Set/Reset DND
Hi Tushar,
You need to use the PbxApi:
https://sdk.innovaphone.com/doc/appwebsocket/PbxApi.htm
You can set the presence activity like this:
app.send({ mt: "SetPresence", api: "PbxApi", sip: sip, activity: activity, note: note });
Where activity in your case is dnd. Note is optional if you want to set also a presence note. Do not forget to set the PbxApi checkmark on your App Object.