How to block specific caller id for incoming calls

xedlinux

Joined
Apr 24, 2009
Messages
17
Likes
0
Points
0
#1
How to block a number to prevent that number calling you in elastix. Lets say, i will block the call from 212-xxx-xxxx and give him a busy tone or whatever that can prevent him from always calling us anytime. Thanks. Please help me with this one. Thanks.
 

dicko

Joined
Oct 24, 2008
Messages
4,099
Likes
0
Points
0
#2
Just set an inbound route that matches that CID (any DID) and send it wherever you want.
 

xedlinux

Joined
Apr 24, 2009
Messages
17
Likes
0
Points
0
#3
thanks a lot dicko. ill try it.
 

xedlinux

Joined
Apr 24, 2009
Messages
17
Likes
0
Points
0
#4
Hi,

I created and inbound route for the following Details:

Description: xxxxxx
DID number: blank ( no data)
Caller ID Number: 1212xxxxxxxx the one that i blocked


then put it to hang up but nothings happen. it will goes to the queue. please help me to do this one. thanks.
 

dicko

Joined
Oct 24, 2008
Messages
4,099
Likes
0
Points
0
#5
Check that the CID is actually 1212xxxxxxx and not 212xxxxxxx
 

xedlinux

Joined
Apr 24, 2009
Messages
17
Likes
0
Points
0
#6
dicko said:
Check that the CID is actually 1212xxxxxxx and not 212xxxxxxx
yes i put the correct CID : 1212xxxxxxx but its the same? how do possible this happen?
 

dicko

Joined
Oct 24, 2008
Messages
4,099
Likes
0
Points
0
#7
verify the CID is not (as normally) stripped of it's prefix with


grep 212xxxxxxx /var/log/asterisk/full

just to check, or use _212xxxxxxx as the matching CID on the inbound
 

xedlinux

Joined
Apr 24, 2009
Messages
17
Likes
0
Points
0
#8
dicko said:
verify the CID is not (as normally) stripped of it's prefix with


grep 212xxxxxxx /var/log/asterisk/full

just to check, or use _212xxxxxxx as the matching CID on the inbound
when i grep 212xxxxxxx /var/log/asterisk/full there are logs displayed on it. i am now configure _212xxxxxxx as the matching CID on the inbound and i will monitor it if it works. thanks.
 

infolyseis

Joined
Apr 6, 2009
Messages
24
Likes
0
Points
0
#9
hello xedlinux,

another way to block some incoming calls is to set this number in black list (free pbx)

Dimitris
 

thelanguy

Joined
Mar 4, 2009
Messages
10
Likes
0
Points
0
#10
What if I want to block an entire area code. Can I use the X like you guys did above. For example 214xxxxxxx?
 

Members online

No members online now.

Latest posts

Forum statistics

Threads
30,902
Messages
130,887
Members
17,565
Latest member
omarmenichetti
Top