BUILD A LAB - CCNP/CCIE COLLAB - CUC SIP Integration

Video Statistics and Information

Video
Captions Word Cloud
Reddit Comments
Captions
in this video i'll be doing the sip integration with unity connection from my headquarters cucm over to my headquarters unity connection the first thing i'm going to do is go under system and then we'll scroll down to the bottom to security and then sip trunk security profile and i'll hit find and then here for the non-secure sip trunk profile i'm going to go ahead and copy that but i'm going to have it as a non-secure sip trunk profile to cuc and then down here i call these the four accepts i think i actually learned that from kevin wallace years ago but we want to select all four of these now there's a button on here that if you click it by accident i think it's this one and then you click ok because everybody just doesn't read and they click ok you'll go back and you'll uncheck this but what you don't realize is that up here this box became checked so watch what happens right we hit this and then it tells us about the enable digest authentication but without reading it we just click ok and then we go oh i didn't mean to check that make sure you go back and uncheck this if you check it by accident because if i remember correctly when i was doing my ccie collaboration i think i i think i ran into a problem where i hit that box and i didn't check that and i was troubleshooting forever and just lost a ton of time anyway that's um done now so we have the non-secure sip trunk uh profile over to unity connection the importance of this one here this is the one that i give the most importance to because with sip as we already pointed out previously in the other video leading up to this one um the mwi the message waiting indicator comes over in an unsolicited notify message let's go ahead and jump over to creating the sip trunk now i'm going to actually click on add new and we'll choose sip then i'll name this um cc sip trunk next i'm going to put it into a device pool which i'll have the san jose device pool here i also i'm going to have this run on all active cm nodes then if we scroll down just a little bit further to the inbound calls section for the calling search space i'm going to set that to the internal calling search space so that it when when calls come in over this trunk they can actually hit our directory numbers and then down here in the outbound calls section so this will be calls that go from our headquarters cucm over to our unity connection we really want to check this redirecting diversion header delivery outbound so what we'll end up doing is not checking that box right now just so that later on i can show you why that box is important and then down here for the destination address i'm going to put in the fully qualified domain name of my unity connection for the sip trunk security profile i'm going to go with the non-secure sip trunk profile to cuc and then for the sip profile i'm just going to use the standard sip profile now i'll go ahead and click save up here and then once this is done loading i'm going to reset the trunk as well because whenever you add a new trunk you have to reset it and then from here we'll go to call routing route slash hunt route pattern now i'll click on add new and i'm going to give this a number of 4000 because that's going to be our voicemail number i'll put this in the internal partition and then i'm going to mark this as on net i don't want to provide outside dial tone for the gateway or route list i'm just going to point it straight at the trunk and then i'll hit save and then now that that's saved we're going to move on to configuring the default voicemail profiles and stuff like that because i'm not going to be putting in a new voicemail profile on this cluster i'm just going to set it up to where the default one is what we use so let's go on over here to voicemail pilot number i'll hit find and right here the default says 2001 i'm actually going to change that to 4000 make this the default voicemail pilot for the system yes please i'll leave it with the internal css and then let's go back under advanced features voicemail and then voicemail profile we find here's the default it's got the default pilot so that should be good now what that does is because it's the default one for the system any directory number that does not have a voicemail profile associated will just automatically use this so if we were to go under call routing and then we go to directory number let's take a look at a directory number on here such as one thousand now one thousand you'll see down here the voicemail profile is none but look what it says here choose none to use the system default well what's the system default voicemail profile that's the one we were just talking about boom so what happens when this phone needs to send a call to voicemail well it's going to look up the default profile and then it's going to see this default pilot 4000 it's gonna call for that number four thousand well let's go to route plan report and see what 4000 is all about all right that's going to hit this route pattern which points to this sip trunk and then that sip trunk is going to send the call over to the unity connection right here so that's how the calls will get from the phone over to voicemail at this point i'm done with the configurations on the cucm side kind of because we left off that one part on the sip trunk about the uh redirecting outbound delivery and then there is another thing that i left out on purpose that i will show you here in a moment when we try to import users but let's go ahead and jump over to the unity connection we'll log in here but where i really want to be actually is um the cisco unity connection serviceability web page first we'll go under tools and service management we want to make sure that all the appropriate services are running so these all say activated and started activated and started yeah i think i think we're good here so let's go ahead and move back to the unity connection administration web page when it comes to configuring unity connection i basically scroll all the way to the bottom over here and i start at the bottom and then for here i'll do the phone system and then i'll click on this default one and i'll make this sip because later on if we decide to add the unity connection from site b then i might decide to do skinny over there so that we can see the difference between the sip integration and the skinny integration and then i'll hit save here once that's done being updated i want to add a port group we'll change this from skinny over to sip and i'll leave that display name the way it is everything the same but we need to actually put in our primary server settings right here for this one i'm going to be putting in my cucm at hq but it's going to be my sub sub a so let's go ahead and put that in here i'm gonna copy that out and plug it into my unity connection right here i figured it was gonna take the url i'll just copy that in case i need it later and then we'll click save notice over here is where you can uh change the advertised codecs for this setup right now g711 is going to take priority over g729 but both are supported we can also change the packet size i'm not going to do any of that or really any of the other um advanced configurations that we can do here but if you're ever asked to have to change the codecs that are being advertised you can do it right here and i'm going to add a port here i'll actually set this to be two ports everything else looks good to me import behavior answer calls all right so we'll save that and then it's going to take us back to the other page with our two ports here i'm going to change the axle setup here so we'll go to edit and then cisco unified communications manager axle servers while we're here i'm going to hit add new and then i'm going to put in my publisher here hqccmpub let's make sure that's right hq cuc mpub all right and i'll leave that as a zero the port here man i got bit pretty bad on this one if you leave the port as zero you'll get timeout connections over to the headquarters make sure you switch this over to 443 and then also make sure that you test the connection let's see the password is wrong so we have admin and then my lab password let's go ahead and hit save all right so it worked i'm going to hit test again just to be sure so it says that it was sent over successfully i found myself in a world of hurt a while back because i didn't change the port i didn't do the tests i didn't do the proper troubleshooting so if you start getting timeout messages like let's go ahead and put that to a zero and hit save it didn't even okay it says says denied violation of whatever let's go back and see what that's about edit axle servers still says port zero all right so let's hit the test and then see it's not doing anything and i remember sitting here and just staring at it and thinking what's going on and then hitting test and hitting test and hitting test i think eventually it should time but i'm not going to wait for it right now so hit save did you do it or are you stuck let's see if i broke this thing edit axle servers all right so i'd updated it now i guess i broke it a little bit earlier when i left it at zero and hit test so now at this point we have it set up to where cucm is pretty much done and then unity connection has some of the cucm stuff it has the ability to make actual connections over to cucm but let's go on over to our port group now this port group here doesn't really have the cucm information so what we need to do is go under edit and then servers and then we have our cucm sub a here let's add another one but this one will have an order of zero or sorry an order of one we'll plug in here and make it sub b and then we need to add our tls port as well not that i'm doing anything secure but i'm going to have that in there so we'll click save and that was updated let's go down to edit advanced settings i can't remember what i used to do in here uh it doesn't like there's anything of importance but again if we wanted to mess around with the advertised codecs we could do that here so now we've reached the point where we could basically import users if we want to but remember i start here from the bottom and then i go up so let's see if there's anything here that i can remember no nothing that i do there smtp i don't do anything let's see service browsers enterprise parameters the authentication rules i edit those so let's check the voicemail authentication rules i have it set up to never expire i have it set up to um that doesn't matter right there but minimum credential length i'll leave that really low minimum number of character changes between i leave that low and i don't store any of it and then i also don't check for trivial passwords so now if we go over to authentication rules and let's see this isn't what i wanted to do let's go back over to search authentication rules same thing for the web authentication rules never expire minimum credential length all this other stuff i have that all set up the same as well so now let's keep on going up the list here on the left hand side call routing i can't remember if i did anything these are important but i'm not doing anything in there right now or the system call handlers for the user templates if we go into the administrator template and we go to edit and we password change the password settings we want to choose does not expire now this is something that you're going to want to choose early on because your password will expire which i thought was ridiculous that an administrator's password can expire but let's go back to search user templates and go to voicemail user templates first off i do skip pin when calling from known extension and then also i uncheck set for self enrollment at next sign in and then i do edit well let me save this first but again remember i'm setting this up for like a lab scenario uh updated user template and then i go to edit and password settings i uncheck that the user must change it at the next sign in that will save you some time with jabber for sure i do check that it does not expire um and then i save that so let's go to edit change password for the user template i set this to something real easy oh this is actually the pin not the password so let's save the pin and then we need to do the web application password we'll save that as well and then i don't think that there's anything else that i end up doing on here let me just take a quick look nope so let's go on over to import users we shouldn't have any users right now actually let me just check yeah no users on here really so we'll go to import users and what you want to do is choose the phone system and then you can do where alias or whatever begins with this and that and then you click find but what you see here is that there's nothing to find so let's hop back over this is the thing i told you that i left something undone on purpose so that we can you know talk about it a little bit later on so let's go to user one the first thing we need to do right in order what we need to do in order to import them for unity connection to find them is it needs to have a primary extension but in order to have a primary extension there needs to be a controlled device so right here i don't i don't have any controlled devices i do have a controlled profile from our extension mobility video which is why the extension 1111 shows up but i really want the extension 1000 so i have to go and find the device where the directory number begins with 1000 so we'll save selected changes let's go back to the user that device is here now let's go down to the primary extension i can now give it one thousand and so now you see in order to set a primary extension there needs to be a controlled profile or a controlled device let's go over to the other user user two let's get you the device that starts with two thousand save select the changes set the primary extension let's save and then now that these two users have their primary extension set that's what needs to be done for unity connection to pick them up so let's hit find again and now we have our two users i'm going to say import all yes okay go ahead and import all i've now moved over and gone to show under search users right so users users and then search users you can see that these two users are here something that we want to do is uh go back down to the port group and then you can see here one or more report groups need to be reset and we have this related links check telephony configuration so let's go ahead and hit go there and it lets us know that this port group needs to be reset so let's go under that port group and we'll click reset right there now another thing is if we go back over to the headquarters cucm and we go to device trunk i was checking my configuration i see that i forgot to set that to be in the san jose location but i've corrected that now anyway now we're ready to go ahead and make the test call let's go ahead and see how that goes to make the test call i'm first going to go over to device phone and then i'm going to find my phone with 2000 we'll go ahead and open that up phone with 1000 will open that up as well but i'll put the 1000 first we have the control me here which is um you know if you saw the video that i did with the tool from anthony holloway that's what this is for and let's first test from directory number 1000 so i'll go off on speakerphone and then we'll do four one two three it's asking me for my pin which i had done one three four six seven nine so it lets me sign in i don't have to do the whole you know initial setup upon signing so in the call there uh we would get the same behavior if we called from 2000 but let's let's just uh make sure of that all right so one three four six seven nine pounds right so that worked exactly as how i needed it to work but let's go and check our call forward settings for the directory number on let's say one thousand if we go down here and take a look at the call forward busy internal busy external all this stuff we can do voicemail for all of these so we'll do voicemail voicemail voicemail and then we'll do these as well those are good to have and those all go to the voicemail and then for the calling search space we want to set those up boom boom boom let's see i don't have that set up for anything so i'll just leave it and then the no answer ring duration i'm going to slip that up to 12 seconds and we'll we'll save this and then i'll go ahead and apply the configuration and restart the directory number so now the device is restarting go back over here to see when it registers or we could probably even just watch the screen yeah it's good now but anyway it's registered i can i can actually see here right in front of me but just to be sure let's see we'll do directory number ends with because my 1000 and 2000 both end with that so you can see they're both here registered they're registered to different uh servers now if we go over to our directory number 2000 and we call 1000 let's see what happens all right so we got it ringing i'm going to let it ring until it redirects over to voicemail and in the meantime so if you hear that it's telling me to uh enter my pin but why should it be telling me to enter my pin uh i just called and i hung up i hung up the call but i i just called from two thousand one thousand it shouldn't be asking me to enter my pin it should be asking me to leave a voicemail for 1000 and let's go ahead and see what that's about i'm going to go ahead and log into rtmt but i'm this time when i'm logging into it i'm actually having it connect to my unity connection all right we'll say default that's fine and while we're here on unity connection i'm going to hit here and do port monitor we're going to select the node let's go back over to 2000 and call 1000 and then it's ringing until it gets forwarded over to voicemail let's move this i'm trying to move this to where i can see it so it's telling me to um enter my pin followed by pound okay so i did the start paul polling and you can see that our caller is 2000 the call number is 4000 and it says that it's direct it doesn't say anything about the last redirect number or or anything and then we can even see like what's the status subscriber sign in it wants me to sign in so let's go ahead and end this call but let's go on over to um our sip trunk and remember i was telling you about the importance of this check box right here redirect oh this is inbound sorry we're not looking for inbound so we'll go to outbound calls and this is the checkbox that i was talking about redirecting diversion header delivery outbound so let's check that box let's save it and let's hit reset and then let's go back and make the test call again and then we'll review how does that one check box modify what happens on the call to voicemail so right now you can see the polling is going on let me stop pulling i'm gonna set it to one second there's no calls to voicemail but this call is about to get redirected and now look i'm not getting prompted for my pin anymore in fact we're seeing that the caller's 2000 the call number is 4 000 we can see that the reason was forward no answer the redirecting number was 1 000. and then also we see that it was uh right so let's see what this status is playing the greeting for subscriber user one so right now all this talking i'm doing is actually being left as a voicemail for user one and then let's go back on over to user one and see if when i end this call all right i saw the message waiting indicator show up on the phone here and then you see this changes to voicemail it lets us know we have one voicemail so we'll go ahead and do one three four six seven nine pounds user one hello you have one new voice message new messages message one from user two we can see that the reason was deleted all right so i went ahead and i deleted that and i'm going to end this call so now you saw the importance of why we want to have that redirecting diversion header outbound we've gone through the whole setup of how to do it on the cucm side how to import the users on the unity connection side the importance of resetting the uh the port group the importance of adding the port when we're adding the servers to the port group or no no that was for the axle connection the importance of having the port for the axle connections on the port group something that i didn't really um highlight too much i didn't put too much emphasis on it but remember we added sub a and we added sub b to the port group let's go back to the phones if we only added sub a what do you think would happen when calls came in from a phone that's registered to sub b so the call flow would be you know right here we'd say the call flow would be the phone with uh 2000 would call 4000 that invite from the phone would go to sub b sub b would then process the call and send it out the sip trunk over to unity connection unity connection would see if it has anything for sub b and if it didn't we get a 503 service unavailable or whatever that's why it's important to make sure you add the appropriate call managers into the port group but anyway we saw that it all works here um maybe later on down the road in some of my cucm trace analysis videos we can take a look at the unity connection logs for updating nwi maybe we can do a whole thing on troubleshooting mwi but uh for now this ends up my this ends out my sip trunk integration with unity connection video and i'll see you in the next one [Music] you
Info
Channel: Patrick Kinane
Views: 740
Rating: undefined out of 5
Keywords: cisco, ccie, ccnp, lab, home lab, study, labeveryday, labitup, collab, collaboration, tutorial, how to build a home lab, topology, cucm, jabber, imp, cuc, uccx, expressway, mra, cube, windows, vmware, virtual machine, vm, deploy, ova, datastore, ntp, ntp server, ntp server on router, ntp master, ntp source, ccm, callmanager, voip tutorial for beginners, voip phone system, voip phone system for home, voip, voice, 350-801 CLCOR, 300-810 CLICA, 300-815 CLACCM, 300-820 CLCEI, 300-835 CLAUTO, port status monitor
Id: h_mhhfEBMZA
Channel Id: undefined
Length: 28min 55sec (1735 seconds)
Published: Mon Oct 19 2020
Related Videos
Note
Please note that this website is currently a work in progress! Lots of interesting data and statistics to come.