# Blacklist by CNAM (name) and wildcards

**URL:** https://forums.vitalpbx.org/t/blacklist-by-cnam-name-and-wildcards/867
**Category:** Wish List
**Created:** [January 12, 2022, 5:32pm UTC](https://forums.vitalpbx.org/t/blacklist-by-cnam-name-and-wildcards/867 "2022-01-12T17:32:59Z")
**Posts on this page:** 7
**Page:** 1

<div class="post-metadata">

### Author: ![arosillog](https://forums.vitalpbx.org/user_avatar/forums.vitalpbx.org/arosillog/32/574_2.png) [@arosillog](https://forums.vitalpbx.org/u/arosillog)
#### Post date: [January 12, 2022, 5:32pm UTC](https://forums.vitalpbx.org/t/blacklist-by-cnam-name-and-wildcards/867/1 "2022-01-12T17:32:59Z")

</div>

Good morning team!,

we have been hit by spammers the CNAM (calling name ) always begins with V1 followed by random numbers (12111642000289919) and always a different CID number.

I would like to block the call by CNAM and wild card, for example V1\* or V1#

can this be possible?

Thanks!

---

<div class="post-metadata">

### Author: ![mo10](https://forums.vitalpbx.org/letter_avatar_proxy/v4/letter/m/58f4c7/32.png) [@mo10](https://forums.vitalpbx.org/u/mo10)
#### Post date: [January 13, 2022, 2:31pm UTC](https://forums.vitalpbx.org/t/blacklist-by-cnam-name-and-wildcards/867/2 "2022-01-13T14:31:24Z")

</div>

Would be possible with a custom context but i am excited to hear a different way from somebody else.  
Since it would be quite some work to set up a custom context for every inbound route.

Hope there is a different way or a different way will be made possible.

---

<div class="post-metadata">

### Author: ![TELECOMIN](https://forums.vitalpbx.org/user_avatar/forums.vitalpbx.org/telecomin/32/646_2.png) [@TELECOMIN](https://forums.vitalpbx.org/u/TELECOMIN)
#### Post date: [January 14, 2022, 7:03am UTC](https://forums.vitalpbx.org/t/blacklist-by-cnam-name-and-wildcards/867/3 "2022-01-14T07:03:33Z")

</div>

V1… this is someone targeting you via Vici dial as such id is generated via Vicidial  
You can block IP series via which you are getting calls.  
Example: we are using digital-ocean and block such IPs on firewall option available from digital ocean.

Plus, you can use Geo-firewall and block the unwanted countries to secure your installation.

Blocking with custom context may work but may utilize more system resources.

---

<div class="post-metadata">

### Author: ![arosillog](https://forums.vitalpbx.org/user_avatar/forums.vitalpbx.org/arosillog/32/574_2.png) [@arosillog](https://forums.vitalpbx.org/u/arosillog)
#### Post date: [January 14, 2022, 9:21pm UTC](https://forums.vitalpbx.org/t/blacklist-by-cnam-name-and-wildcards/867/4 "2022-01-14T21:21:38Z")

</div>

Thanks, We have Geo firewall , and IP address will not work as it can by changed very easy daily.

---

<div class="post-metadata">

### Author: ![arosillog](https://forums.vitalpbx.org/user_avatar/forums.vitalpbx.org/arosillog/32/574_2.png) [@arosillog](https://forums.vitalpbx.org/u/arosillog)
#### Post date: [January 14, 2022, 9:25pm UTC](https://forums.vitalpbx.org/t/blacklist-by-cnam-name-and-wildcards/867/5 "2022-01-14T21:25:15Z")

</div>

Good morning team!,

we have been hit by spammers the CNAM (calling name ) always begins with V1 followed by random numbers (12111642000289919) and always a different CID number.

I would like to block the call by CNAM and wild card, for example V1\* or V1# or Joe Doe, etc

---

<div class="post-metadata">

### Author: ![mo10](https://forums.vitalpbx.org/letter_avatar_proxy/v4/letter/m/58f4c7/32.png) [@mo10](https://forums.vitalpbx.org/u/mo10)
#### Post date: [January 15, 2022, 12:14am UTC](https://forums.vitalpbx.org/t/blacklist-by-cnam-name-and-wildcards/867/6 "2022-01-15T00:14:59Z")

</div>

+1

Would be nice to have a general context right before the inbound routes to take care of that. Or a custom context in the blacklist-module so we can adjust as needed.

---

<div class="post-metadata">

### Author: ![system](https://forums.vitalpbx.org/uploads/default/original/1X/672b458a1d454755270c2c16adc5316b641c3c6a.png) [@system](https://forums.vitalpbx.org/u/system)
#### Post date: [February 13, 2022, 9:25pm UTC](https://forums.vitalpbx.org/t/blacklist-by-cnam-name-and-wildcards/867/7 "2022-02-13T21:25:34Z")

</div>

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