Cisco Call Blocking

Video Statistics and Information

Video
Captions Word Cloud
Reddit Comments
Captions
[Music] hello everyone Jim back doing another Cisco voice tutorial it's been a couple years but I'm back and we're starting off with a topic of Cobb walking so if we've ever had pesky incoming calls that we don't want coming into our organization anymore we're going to look at two ways today on how to block those and this is from the calling number so we know the person's caller ID that is calling in right and we're gonna stop those we're gonna first take a look at the Cisco gateway right I have pulling up here right now a Cisco SIP trunk right it's going from call manager to this gate this router to not a 2800 I believe in my lab and from a sip provider also going to this gateway the first step we're going to look at is in this Cisco IOS alright now as you can see we already have some voice translation roles right and some of these are in here and already applied to Dow piers Dow piers are legs of the call that come in on the cube or the voice gateway whichever terminology you want to use there okay so in my cube as I said we have a SIP trunk provider and then we have a sip truck going to call manager at this point we're wanting to block the calls as they come in on the first leg or on the first doll peer into our cube so so as it comes in from the SIP provider we're gonna nip it right out of there okay so I'm gonna take my face out and we're gonna dig right in on how to block the calls and it's this is actually the the easiest method out of the tube all right we're gonna add a new voice translation rule right we've got two and four in here and I've had obviously had three in here before this is the only one that's currently applied and as you can probably see we are alluding to a call reject translation profile but the actual rule is missing so we're gonna add that in here oh dang now some of these commands I added previously just to help shorten the video we're gonna see how it all ties together so we're going to create a new voice translation role and this is gonna be rule let's just roll one since we have it done there already okay now we've created translation rule one but now inside of that we need to set the crate of actual rules to go with a translation role so we're gonna do rule one and we're gonna say reject it's what we're wanting to do now we're going to make up a number here this will work for our example I'm not actually going to call this number we're just going to apply these rules all right so now we have voice translation rule 1 and we inside of that we've rejected and we've added a number so we can add rule to rule 3 rule for with different sets of numbers that will be blocked okay then we would add this voice translation profile and I've called it call reject and we're gonna translate calling this is the incoming calling leg of the call one that one corresponds to our rule one translation rule one that we just created right so we could go and take another look at that really quickly and there's our new rule one alright so now let's look at our dau peers and our first dog here is our incoming sit leg and you can see I have a translation profile of incoming sip inbound that's going to apply different digit manipulation that you saw earlier up in those other translation profiles all right we're gonna add to this dog here so let's get the config T mode and go to down here and if I could spell Dow here boys one all right so in doubt pure voice one we're gonna add a new section for blocking the call and that's can be neatly called call block and we're going to add our translation profile that we created up here earlier of call reject all right but before we can do that we have to apply which direction of our colleague we want to do so we are actually sorry hit the wrong key we're actually going to say incoming for the incoming colleague then the name of our profile which is actually right here so call reject is the name of our profile and we're gonna say call block and of course that oh I see what I did there it's call block translation incoming I had to the call block at the it it's just called reject the name of our profile there we go so for whatever reason I added call block a second time on the translation profile but you just say call block that sets up what we're doing our translation profile on the incoming leg and then the name of our profile we set up here now another thing to go along with this is the disconnect okay and we want to give it a calls and in our and it is also in the incoming direction right same incoming call leg now let's give this a call reject we could do an allocated number number other things but we're gonna just call reject and that's it folks that is odd takes to block this specific number on the Cisco IOS alright so if we take another peek we have our voice translation rule one where we're saying we want no good we want to read jack this number we apply it to a translation profile called car reject here's alt applaud and then in our Dow pier on our Dow pier 1 we now see the call box alright and we're adding the incoming calls out of call reject and we are doing a disconnect calls of call rejected alright so they will hear a call reject oh that's it we could save our configuration and then the next time someone called with that calling number that's up here in our translation rule would not go through so that's all it takes for Cisco IOS now we're going to dig in to the comment at your side all right and within the comment at your side it gets a little it's not difficult by any means but you have to go around about all right because we have to get the incoming number then we're going to filter those numbers to make sure we want they're allowed to come in then if they are allowed we allow them on in to however our Dao plan works in my case we're doing translation patterns to ten digits that strengths it down to four digits in my lab all right so over here in our call manager as I showed you earlier we have a trunk going to a cube and show that now just a sip gateway here and it is right now the calling search space for inbound calls is inbound calling search base all right that's the way it is right now without any blocking going on all right and to show you the calling search space and what it is in it that it can call inbound calling search space it has the inbound partition also have a e.164 DN partition but this is the one that matters the inbound partition is assigned to a translation pattern that houses our D ID right here there's our D ID in the end down partition it translates that to our internal side right with our 3,000 extension that's our phone that we're going to be ringing in the end there's 3000 and in this internal calling search space it goes to our internal side where the partitions that are on this extension 3000 live so a quick view into that if we look at that time concert space if we look at our internal you can see we have internal directories and stop this one here JBM D in partition is where our directory number live it's currently on our phone so if we look here in our lab phone it is in the JB MD and partition and it's actually unregistered so I'm gonna get that registered and we're gonna place a test call alright so I'll be with the magic of Internet I will be right back with a registry phone alright so now we are back up we have the lab phone there's now registered and I actually have a little soft phone here and we're gonna place a test call with our current call flow coming in that sip gateway with the inbound call it search base so I'm just going to hit down over here on another external application and then we go we have a call flow and I'm just gonna end that so we have this call coming in and we're end up I'm just gonna miss calls we're gonna end up blocking this calling number right and first we need to set up some things so that we can block that call call manager it's not really that difficult but we're gonna and a couple insert spaces and partitions and I already have them here so if we go to calling search spaces I have this in capture and in filter that's gonna do the job for us first the encapture inside this we have the enroute partition so what we're going to do is want to stick this in capture in place of the inbound calling search space on our sip gateway so our first going to capture our incoming called number all right then we are going to send that to the end filter and in that we have the end filter partition in here we're going to do two things we're gonna add a catch-all to allow calls and then we're going to add another route to block calls so that's where we're headed all right so I've already configured some translation patterns right and we have the enroute partition on this one that's in that end capture calling search space alright so it's going to come in the SIP gateway hit that in capture calling search space which only has access to the end route partition well in our pattern we're gonna allow whatever you know this bangs as any number of digits in the end round partition now what we're going to do with that is we're going to route that out of a calling search space to the N filter alright but the main kicker here is we're gonna route that by the calling party number this check has to be there so what we're going to do to this farm to this point we've captured by the call number right but now we're gonna send this over to the end filter calling search space with the calling number all right so what that looks like if I go back a step because we have another translation pattern that's in that end filter partition well this looks exactly the same and it is because this is our catch-all so any calling number that hits the end filter partition we're going to send that back to something that we've already seen in that inbound calling search space and we're going to route it as normal so then with allowing all we've we've captured our called number we've sent it the calling number over here matched it and we're going to send this on to the inbound calling search space which we know is already in place and has this inbound partition and this number dialed will continue on translate to our internal four-digit extension and Bob drunkle right we have created a whole different scenario for our inbound call flow but doing a couple hops and let's go ahead and change our woops device trunk let's go to the right place I can talk and click at the same time so we are currently in the inbound calling search space then we just do the test call no that works we're going to change this over to the in capture calling search space and we're going to save it excuse me and if you know anything about SIP trunks we know we need to reset them just say it's not going to do it we need to actually hit that reset button there for it to actually do a full complete reset to grab of this new calling search space on the inbound side right I search space in capture so now we're sending it to that new translation pattern that's going to capture it that's in the calling number over to our second translation pattern and it's going to filter it by the calling number right now we're allowing anything with that exclamation mark or bang and so any calling number is going to continue on down our flow into the inbound calling search space so let's go ahead and test at this point I'm going to go ahead and dial this number again and see if it comes through and there's our ring we can see that this number is in fact coming true so we've still got the coffee that we had to begin with so what in the world what what have we done right we've created this roundabout way to get call us to do what I was doing a minute ago but with this in place we can now block by the calling number or the caller ID that's coming in from a malicious call or someone that's threatening whatever the case may be how'd it do that well we're going to add a new translation pack it's the easiest way and we can do any type of pattern if we want to block multiple calls right we'll just do a series of patterns in here in this case I'm gonna block our test D ID number that's in another device on my lab D IDs right and we are going to in the same route partition this in filter the same as the catch-all right but these are gonna block want to block the bed lock them and we don't need to do anything on the calling search space those other things usually we need to do here is block it we're gonna block by call rejected alright and we can save that so now if I use my same device that I used to call and do a test call just a minute ago it should now fail so I'm the cue that up three or four seven one two two eight one eight I hit down this now and it's already failed so on my external application it is saying call failed because it is getting a call rejected tone and you can see that nothing came in on this screen we have no new calls right so we successfully blocked a inbound number about a calling them now like I said for multiple calls maybe we only let it do a whole range you know we could do our normal pattern expressions here and we could get knitting grid it with you of course we could do all 304 numbers right that would talk a lot of people but we could do you know we could say anything that has that what was our number test not only but no ma no seven 207 so we could do anything that's 207 and starts with a 0 XX one two three four five six one more 10 so we could do our normal expressions here to block multiple numbers and we can add a new translation pattern that's in the same partition if our numbers are very far apart that we need to block right and a lot of cases the block calls that I've had to do I could grab them with a single translation pattern just by manipulating you know if we had a 207 and you know we could do this sort of thing so we have a 2-0 and a 2-1 number that we need to block and they have whatever here we had a zero and zero through two right and then get granular over here on the you know last digits here and say these were wanted a to write so we can do these expressions to block multiple numbers but if we need to we just add a new translation pattern in the same in filter partition and block it and that's all we have to do for call manager so we have seen two different ways to block calls incoming with the calling number we looked at the voice gateway where we could block it with translation rules or we can set this up in call Manager and block all kinds of calls so there's two different ways to block calls so I really hope you've enjoyed this little tutorial on blocking calls I'd like to thank you very much for viewing and please please please like and subscribe to my channel it helps me to create new ones for you and I really ask that you leave some comments and let me know some things within Cisco voice that you want to learn about I'm actually a CCNP collaboration so we could look at anything from commenter unity CCX expressways and doing video conferencing I will do my best to set up labs and show you some working configs on how to get things done so please leave comments and until then thank you for watching
Info
Channel: Go CodeGuru
Views: 8,361
Rating: undefined out of 5
Keywords: Cisco, voip, calls, call blocking, voice guru, gocodeguru, CUCM, SIP, Call Manager
Id: sYqI6O_9_mM
Channel Id: undefined
Length: 20min 45sec (1245 seconds)
Published: Thu Aug 16 2018
Related Videos
Note
Please note that this website is currently a work in progress! Lots of interesting data and statistics to come.