Hi everyone,
I’m trying to modify the following Asterisk variable, which currently checks if the caller ID exists in the Asterisk Phonebook:
${DB_EXISTS(cidname/${CALLERID(number)})}
I’d like to adjust this so that it also checks if the caller ID exists in an “Allowlist” module database entry. Essentially, I want the logic to work as:
If the caller ID is in the Asterisk Phonebook OR in the Allowlist, the check should pass, with a 1. If not, it should result in a 0.
Any help or guidance would be greatly appreciated!
Thanks in advance.
Richie
1 post - 1 participant