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

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.

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.

Thanks @lgaetz

Works like a charm.