Hi, Situation is like so:
1 number is reception, everybody can call it and it can call everybody
2. rest numbers are guests each guest can call only reception, and IVRs
3. Guest should be able to allow other one to call him over IVR
all numbers are pjsip ones
How to setup such system? i go thrue menus but I can’t find any place where i can tell ok this number can call only…
I’m ok with doing it in asterisk configs
There is a commercial module Class of Service, but it does not support extension to extension blocking. Other than that, I am not aware of any module that does anything similar or close to this .
You have two options (both are custom dialplans…).
Put these phones in a custom context, write a dialplan which will do the checks, andif allowed, you will send the call to from-internal,${EXTEN},1