Solved - Dynamic Routes Module with Asterisk Address Book for whitelist?


(Gar Fin) #1

Hi , I’ve installed “Dynamic Routing” in a hope of being able to forward incoming acclers whom exist in Asterisk Address book, direct to the Main Extension, rather than forcing them through the IVR.

But how to point to Asterisk Address book (or some other file/table etc) as a Source?

Regards.


Blacklist/WhiteList in FreePBX
(Lorne Gaetz) #2

Use Asterisk variable with an expression like:

${DB_EXISTS(cidname/${CALLERID(number)})}

The above will return 1 if there is a match, and 0 if no match, so create your two conditions with those.


(Gar Fin) #3

Thanks @lgaetz

Works like a charm.


(system) closed #4

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