Remote Feature Code Execution

I’m having trouble with the appropriate way to implement remote feature code execution. Really all I’m trying to do is setup a way for one extension to toggle DND for another extension. In the research I’ve done, this should be able to be achieved through Dial Plan or Misc Destination but I’m having trouble putting it together. Could anyone point me in the right direction?