There are no instructions as it depends on YOUR dialplan. FOP2 does not write your dialplan, so it does not know what to do. When you change presence with fop2 it sets an astdb value named DND/XXX where XXX is the extension number.
In your dialplan standad extension macro you should check if that variable is set, and if so, defer the call.
Comments
In your dialplan standad extension macro you should check if that variable is set, and if so, defer the call.
Best regards,