-
Notifications
You must be signed in to change notification settings - Fork 52
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
DND Status #307
Comments
Hi @SampsonCrowley , you can try this:
Send message to widget iframe to update DnD. |
doesn't change the actual presence, only cosmetic. API call is only triggered on click |
@SampsonCrowley Just tried this, and it works in my side: |
there was nothing in the network log last time i tried it. it changed the visible selected option, but my presence still stayed what it was before |
there has apparently been an update to the base widget since I opened this issue, as there is now a "Accept call queue calls" toggle, where that vital checkbox used to be missing |
document.querySelector("#rc-widget-adapter-frame").contentWindow.postMessage({
type: 'rc-adapter-presenceItemClicked',
presenceType: 'TakeAllCalls', // Available, Busy, DoNotAcceptAnyCalls, Offline
}, '*'); Does not toggle "Accept Queue Calls" back on if presence is set to "Available" If I do document.querySelector("#rc-widget-adapter-frame").contentWindow.postMessage({
type: 'rc-adapter-presenceItemClicked',
presenceType: 'DoNotAcceptAnyCalls', // Available, Busy, DoNotAcceptAnyCalls, Offline
}, '*');
document.querySelector("#rc-widget-adapter-frame").contentWindow.postMessage({
type: 'rc-adapter-presenceItemClicked',
presenceType: 'TakeAllCalls', // Available, Busy, DoNotAcceptAnyCalls, Offline
}, '*'); It is toggled back on |
@SampsonCrowley you are right. This is by design now. Will talk with PM about this. |
Would be nice to have a way to change DND Status both through a postMessage and in the call settings
I can't seem to figure out where in the embeddable I can get direct access to the SDK with config
want to post to
/restapi/v1.0/account/${accountId}/extension/${extensionId}/presence
The text was updated successfully, but these errors were encountered: