DND toggle - VoiceOne

Hey,
I would like you to ask for help in creating a toggle DND on VoiceOne.
Here are sample macros:
Activation

exten = s, 1, Answer
exten = s, n, Wait (1)
exten = s, n, Set (DB (DND / $ {CallerID (num)}) = YES)
exten = s, n, Playback (do-not-disturb)
exten = s, n, Playback (activated)
Deactivation:

exten = s, 1, Answer
exten = s, n, Wait (1)
exten = s, n, DBdel (DND / $ {CallerID (num)})
exten = s, n, Playback (do-not-disturb)
exten = s, n, Playback (de-activated)

I need to create a macro, which itself activates / switch off DND (DND toggle Elastixa * 76). Unfortunately Elastix macro does not work.