You can set your extension to DND after parking a call, and remove DND when unparking. In any case, none of this is a FOP2 issue or problem. Asterisk does not allow put calls on hold (for real). So, use your phone hold button in that case.
It might be possible by writing a plugin. It is not just a simple userevent, there is more to that. You have to detect the transfer action, check that it was done to a park extension, if so set the DND astdb entry and perhaps the fop2state entry and fire UserEvent to notify FOP2 about that set. Then detect the pickup action from park and do the oposite.
So, it might be possible but a special plugin that is *not* that simple needs to be written.
Comments
The last night via chat you said, we can use parking call.
But if we doing parking call, may be lead new problems if the case is as follows :
Example : Extension 101 received call from customer PSTN line (IVR Queue) --> 1st call
and then Ext 101 parking call.
I set parking 70 /parking time : 3 minute / back to origin
Before 3 minute, there is incoming call PSTN line (IVR Queue) --> 2nd call, and ringing again on ext 101.
My purpose is , how to make the second call not ringing no ext : 101?
Thanks
Is it possible to change dnd my extension after parking without change manually? And remove dnd automatic when unparking?
If I should change on dialplan parking what command should I send to asterisk (userevent)
Thanks
So, it might be possible but a special plugin that is *not* that simple needs to be written.
Best regards,