Picture of Carmen Álvarez Méndez (innovaphone)
Moderator Registered 7 years 85 days
Carmen Álvarez Méndez (innovaphone) Monday, 10 May 2021, 07:50 AM in response to tushar.yadav23
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.
← You can define your color theme preference here