Quantcast
Channel: General Help - FreePBX Community Forums
Viewing all articles
Browse latest Browse all 12604

Alter number before adding to blacklist

$
0
0

@vespino wrote:

I have the module "Set CallerID" set up to change the incoming number so that if the call is missed the number is automatically prefixed with a "0" for calling with the correct outgoing caller ID (0 is my business number, nothing is private). When using the blacklist function to add the last incoming number (*32) this 0 is also added to the blacklist which results in the number not being banned.

Is it possible to strip the 0 and add to original incoming number to the blacklist?

Break down:

Incoming call: 012-3456789
Set callerID: 0012-3456789
Blacklisted number: 0012-3456789 => should be 012-3456789

I have thought about quering the database and changing numbers that match "00" periodically but I can't seem to find the blacklist table in the MySQL database and I don't think it would be wise to change the asterisk database file (sqlite).

Posts: 3

Participants: 2

Read full topic


Viewing all articles
Browse latest Browse all 12604

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>