I would like to limit the access to DISA (and define a correct outbound callerID as well).
I did already used the inbound CID and it does work fine but requires 1 entry for each CID.
Is there a smarter way? similar to managing a list of CIDs allowed to use this DISA.
The PIN is not a good enough solution because of employees turnover (while the mobile phone number (CID) is provided to the employee with the hardware and can remain allowed most of the times).
Do you have a DID dedicated to DISA access? If so, then you could send all calls to that DID to a dynroute and then branch the call based in Asterisk Variable ${CALLERID(number)}. Define all the caller IDs in that dynroute (assuming its a manageable number) and then send all other callers to a different default destination.
Edit - thinking further, you don’t need a dedicated DID for this, you can use the default destination in the dynroute to send all callers that don’t get DISA access.
50 is prob the upper limit of manageable with this approach, certainly better than 50 inbound routes. A single inbound route to a single dynroute should do it.
Actually the Inbound Routes page is missing a copy button…
After entering 8 times the same data, I asked for alternatives.
Trying Dynroute will be at least a nice challenge, hopefully a solution.
The video is excellent; showing so much more than how to install it.
I now have to master this powerful tool.
A first very basic usage of DynRoute: using the asterisk variable [NUMBER] for selecting the destination. And voilà.
The callerID will allow to filter who can access. Perfect.
Instead of filling 50 lines, one for each user and then manage one more list, I will have to find how to get the mobile numbers directly. I have the data already stored in the extension follow-me list.
I will try to reach it.