Allow one incoming call per number per day

I would like to allow one incoming call per number per day. Is this possible in FreePBX?
Thanks

One call per caller ID or per DID?
Both are possible with a custom dialplan.

1 Like

Yes, incoming one call per caller ID.

As custom dialplan, record the last call date, keyed by caller ID in a database, and read it before proceeding with the call, updating it after accepting a call. Note this is subject to a race condition, if too calls arrive very close to each other, so you may need to impose locks as well.

Out of curiosity: which kind of scenario do you need this for?

This topic was automatically closed 31 days after the last reply. New replies are no longer allowed.