Hi all,
I am succesfully using directdid and inbound routes based on DID.
Now I would like to add a new inbound route, in order to refuse calls coming from a specific CID.
I tried to create an inbound route exactly as I always did for DID with no chance.
I see that in freepbx 2.2.1, 2.2.2, 2.2.3 the positions for include from-did into from-pstn changed (but this is another story, I think…)
I saw that the rule I created is translated into these lines into extensions_additional.conf (12345 is the CID to “refuse”)
OK, I tried your suggestion and it worked
I had to configure 2 inbound route, the first for exactly the pri destination prefix, the second for _prefix. in order to match any combination of possible DID.
So I think the problem is only a documentation problem staying on the DID field you are said
“Leave this blank to match calls with any or no DID info.”
but it seems not to be true; probably also an _. could work… anyway I didn’t try this