Microsoft Teams Direct Routing with SBC hosted in Azure – THR2134
Articles,  Blog

Microsoft Teams Direct Routing with SBC hosted in Azure – THR2134


DEPLOY SBC INSIDE OF AZURE, YOU NEED TO TAKE INTO ACCOUNT THE LATENCY. FOR INSTANCE IN MY CASE I’M IN SOUTH AFRICA, IF I DEBLOI AN SBC IN THE U.S., IT WILL ADD THE 300 MILLISECONDS DELAY TO THE CALL AND NO MATTER WHAT I DO, I’M ALWAYS GOING TO HAVE THAT DELAY. MAG SURE TO DEPLOY THESE RESOURCES AS CLOSE AS YOU CAN TO YOUR TENANT AND YOUR PBX. NETWORK INTERFACES AND PBI, I CLOSE TO USE TWO PUBLIC INTERFACES, I CALL ONE MY EXTERNAL NETWORK AND ONE MY INTERNAL NETWORK. THE IDEA IS THAT THE INTERNAL NETWORK I CAN CONNECT TO MY PBX AND THE EXTERNAL IS ONE I DO FOR MY TEAMS. EACH ONE OF THESE IS NETTED AS WELL. WE ATTACH THE INTERFACES TO THE SBC AND WE CAN KEEP GOING FROM THERE. SOME THINGS TO THINK ABOUT. WHEN IT COMES TO THIS PARTICULAR, THIS PARTICULAR ENVIRONMENT, THEY ARE ALWAYS A MINIMUM OF TWO TRUNKS. OKAY. ONE WILL EITHER GO TO YOUR PBX ON YOUR SUBPROVIDER AND THE OTHER ONE IS GOING TO GO TO OFFICE 365. TO THE TEAM’S END POINTS. FOR YOUR MODEL CAN YOU DO IT IN TWO SCENARIO, ENTERPRISE MODEL AND HOSTING MODEL. IF YOU ARE A LARGE COMPANY YOU COULD GENERALLY CHOOSE AN ENTERPRISE MODEL. IT WOULD ALLOW YOU TO HAVE ONE CONNECTION TO TEAMS AND ONE CONNECTION TO THE PBX. IF YOU CHOOSE TO HAVE THE HOSTING MODEL, YOU CAN CONNECT THROUGH MULTIPLE OFFICE 365 TENANTS AND YOU CAN HAVE MULTIPLE TRUNKS TO ALL THE DIFFERENT OFFICE 365 TENANTS AS WELL AS DIFFERENT PBXs AND DIFFERENT TRUNKS AND YOU WOULD BE ABLE TO SUPPORT YOUR CLIENTS WITH A MULTITENANTED MODEL AND YOU CAN BECOME THE GUY WHO CONNECTS TEAMS TO THE VOICE NETWORKS. TRANSCODE SOMETHING ANOTHER THING TO THINK OF WHEN YOU’RE USING SILK, NARROW BAND OR WIDE BAND. SILK IS A VERY EFFICIENT PROTOCOL. SOMETIMES MORE EFFICIENT THAN G-711. WHEN YOU’RE ENABLING TRANSCODING, THERE’S ALWAYS TWO LEGS TO A CALL. THERE’S INCOMING TO THE SBC AND OUTGOING TO THE SBC. THE IDEA IS THAT EACH ONE OF THOSE LEGS IS GOING TO BE TRANSCODED. IF YOU BUY 50 TRANSCODING LICENSES, THEN YOU CAN ONLY HAVE 25 CONCURRENT CALLS. SO THAT’S SOMETHING TO BE MINDFUL OF AS WELL. SAME WITH YOUR SBC LICENSE AS WELL. SOMETHING TO ALSO BE MINDFUL OF WHEN IT COMES TO THE LICENSING, IS LICENSING IS ATTACHED AND I’LL GET TO THIS NOW IN THE NEXT SLIDE TO THE IP, TO THE MAC ADDRESS OF THE SERVICE. AND SO WHEN YOU DEPLOY THE AUDIO CODES CLOUD EDITION IT DEPLOYS IT WITH A DYNAMIC MAC ADDRESS INSIDE AZURE IF YOU’RE LOOKING TO DEPLOY SOME SORT OF DISASTER RECOVERY OR AZURE SITE RECOVERY AND THAT MACHINE NEEDS TO FAIL OVER, IT’S GOING TO FAIL OVER WITH A DIFFERENT MAC ADDRESS AND YOUR LICENSING IS GOING TO DISAPPEAR. SO — IF YOUR CALLS ALL OF A SUDDEN STOP WORKING, YOU UNDERSTAND WHY. WHEN IT COMES TO CONFIGURING THE AUDIOCODES DEVICE, IT’S A SUPER HIGH LEVEL. THE IDEA IS YOUR LICENSING IS SOMETHING YOU NEED TO CONFIGURE FIRST. IN OUR CASE WE USE, WE WORK ON A 20 CON CURRENCY RATIO. SO IF YOU HAVE A CUSTOMER THAT’S 50 USERS AND WE WORK IN A 20 CON CURRENCY RATIO, THAT’S 10 LICENSES, WE WORK ON THE 10 LICENSES WE WOULD PURCHASE FROM AUDIOCODES FOR THIS PARTICULAR INSTALLATION. IP NETWORK, WE WOULD ALLOCATE AN INTERFACE FOR INTERNAL INTERFACE FOR EXTERNAL. I MEAN IDEALLY YOU COULD OBVIOUSLY PROBABLY USE EXPRESSROUTE FOR THIS AS WELL WHERE YOU ATTACH THE INTERNAL NETWORK TO A V-NET AND THEN THE V-NET CAN TALK VIA EXPRESSROUTE THROUGH DUAL IBPX. IF THE CERTIFICATE IS NOT VALID. YOU WON’T BE ABLE TO CONNECT. YOU’RE SIGNALING THE MEDIA. WHEN IT COMING TO SIGNALING THE MEDIA. YOU’LL CHOOSE A SPECIFIC SET OF PORTS ON THE SBC THAT ARE GOING TO BE USED WHEN ESTABLISHING THAT RTP STREAM AND THOSE PORTS YOU WILL THEN SPECIFY THOSE RANGES INSIDE OF THE AUDIOCODES CONFIGURATION AND MAKE SURE THAT THE FIREWALL IS CONFIGURED THE SAME WAY. IN OUR CASE, WE WILL BE USING MET METRICS, AND YOUR CALL WILL DROP OFF AFTER 30 SECONDS BECAUSE THE CALL CAN’T BE ESTABLISHED. TROUBLE SHOOTING, AUDIOCODES SYS LOG VIEWER IS PROBABLY YOUR BEST FRIEND. FROM AUDIOCODES DIRECTLY. AS WELL AS YOUR E-EDIT WHICH ALLOWS YOU TO EDIT THE CONFIGURATION OF THE SBC BEFORE UPLOADING THE CONFIGURATION TO THE SBC. AND THEN ANOTHER ONE ALWAYS, ALWAYS BACK UP YOUR CONFIGURE.INI. THAT CAN BE RESTORED TO A BLANK SBC AND RESTORE EVERYTHING BACK TO THE WAY IT WAS. THAT’S BEAUTIFUL. SO ALWAYS BACK IT UP IN CASE YOU BREAK SOMETHING, YOU CAN JUST QUICKLY CONNECT TO THE SBC AND YOU CAN RESTORE IT. WHEN IT COMES TO CONFIGURING YOUR OFFICE 365 TENANT. PAIRING THE SBC WITH MICROSOFT PHONE SYSTEM CAN BE DONE COMPLETELY WITH POWER SHOP WHICH IS GREAT. FOR ALL OF US COMMAND LINE GUYS. SO I WILL SHOW YOU THE POWER SHELL. I’M NOT GOING TO EXACTLY CREATE THE CONNECTION, BUT I’M GOING TO SHOW YOU HOW IT LOOKS. ONCE YOU’VE PAIRED THE SBC, YOU CAN VALIDATE THE SBC. ANOTHER THING THAT YOU MUST ALSO BE VERY MINDFUL OF HERE IS LET’S THE EXTERNAL HOST NAME OF YOUR SBC, WILL HAVE THE FQDN WILL HAVE A DOMAIN. THAT DOMAIN NEEDS TO BE A VALIDATED DOMAIN AGAINST YOUR OFFICE 365 TENANT. SO IF LET’S SAY MY EXTERNAL ADDRESS IS SBC.DOMAIN.COM. DOMAIN.COM NEEDS TO BE INSIDE MY OFFICE 365 TENANT. SO WHEN YOU’RE DOING A MULTITENANTED MODEL LIKE WE DID, WE WOULD CREATE THE DOMAIN. AND THEN WHAT WE WOULD DO IS CREATE A FICTITIOUS DNS RECORD OR SOME SORT OF SUBDOMAIN. SBC.PROVIDER.COM. SO THEN YOU COULD TAKE THAT AND ACTIVATE IT IN THE CLIENT’S TENANT. THAT’S THE ONLY WAY YOU’LL GET IT WORKING. THEN WHAT WE DO IS WE CREATE A USER IN OFFICE 36 AND ASSIGN THEM THE PHONE LICENSE. WE THEN MAKE SURE THAT THEY ARE HOMED IN SKYPE FOR BUSINESS ONLINE. WE CONFIGURE THE PHONE NUMBER AND ENTERPRISE VOICE IN VOICE MAIL AND THE VOICE ROUTING AND THE VOICE POLICIES. THEN ANOTHER THING WE NEED TO DO IS MAKE SURE THE DIRECT ROUTING IS THE PREFERRED CALLING CLIENT OR TEAMS IS THE PREFERRED CALLING CLIENT FOR THE USERS. HERE’S A LINK AT THE BOTTOM WHICH EXPLAINS ALL OF THIS STUFF. YOU’LL BE ABLE TO SEE IT IN MORE DETAIL. SO DEMO TIME. ALL RIGHT. IS THAT THE RIGHT ONE? ALL RIGHT. SO WHAT I’M GOING TO DO IS I’M GOING TO SHOW YOU WHAT THE INSTALLATION LOOKS LIKE IN AZURE. SO IF YOU LOOK OVER HERE I’VE CREATED MY RESOURCE GROUP. OVER THERE. NOW CAN EVERYBODY SEE OKAY? ALL RIGHT. SO — ALL RIGHT. HOW IS THAT?>>ALL RIGHT. OKAY SO YOU’LL SEE THERE WHAT I’VE DONE IS I’VE UPLOADED THE IMAGE AND ONCE I UPLOADED THIS PARTICULAR IMAGE I WENT IN AND CREATED A VIRTUAL MACHINE. WHEN IT COMES TO SPECCING THE VIRTUAL MACHINE. THE MINIMUM REQUIREMENTS THAT AUDIOCODES GIVE US IS A 4 CPU, 4-GIG OF RAM SERVER. THIS WILL CHANGE BASED ON HOW MANY CONCURRENT CALL US WOULD WANT TO HAVE AND WHAT SORT OF TRANSCODING YOU’RE LOOKING TO DO. YOU’LL SEE WHAT I’VE DONE IS ATTACHED THE TWO METRIC INTERFACES OVER HERE TO THE VIRTUAL MACHINE AND THEN I’VE ATTACHED THE TWO PUBLIC IP ADDRESSES. IF WE LOOK AT THE NETWORK SECURITY GROUPS THAT ARE THERE. YOU’LL SEE IN THIS PARTICULAR, YOU’LL SEE THESE ARE THE RULES THAT I’VE CREATED FOR, FOR THE VOICE. SO IN THIS CASE, THIS IS THE EXTERNAL INTERFACE, AND YOU’LL SEE THAT I’VE GOT A 5,000 PORT WHICH IS WHAT I’VE CONFIGURED OFFICE 365 TO TALK ON. SOMETHING TO BE MINDFUL OF IS POD 5060 IS GENERALLY A PORT FROM VOICE. AND THE MINUTE YOU HAVE 5060 OPEN ON THE INTERNET, PEOPLE ARE GOING TO TRY TO MAKE CALLS. IT DOESN’T MATTER WHO THEY ARE, CHINA, THEY’RE GOING TO GO CRAZY ON THAT THING. SO CHANGE IT. CHANGE IT FROM THE DEFAULT PORT. AS WELL AS YOUR I’VE LIMITED IT HERE TO THE KNOWN ADDRESSES OF TEAMS. SO THOSE ARE OVER THERE. AND SO THIS WILL ONLY ACCEPT STUFF ON PORT 5,000 FROM TEAMS. THEN YOU’LL SEE FOR THE SAKE OF THE DEMO, WHAT I DID WAS CREATED A 3 CX PBX. SO I GO TO PBX EXPRESS AND I CREATED A PBX AND YOU’LL SEE INSIDE HERE, THIS WOULD BE THE MANAGEMENT SYSTEM, IT WAS QUICK AND EASY FOR US TO DO THIS TEST. I CREATED IT. I THEN WENT AND I CREATED A SUBTRANK TO THE AUDIO CODES SBC. YOU’LL SEE IT’S POINTING TO THAT PARTICULAR IP ADDRESS. THAT’S THE IP ADDRESS THAT I CAN THEN MANAGE THE AUDIO CODE SBC ON AS WELL. WHEN YOUR BROWSER DOESN’T WORK. SO YOU’LL SEE THIS IS THE AUDIOCODES SBC. AND YOU’LL SEE I’VE CONFIGURED A WHOLE BUNCH OF STUFF. WHAT I WANT TO SHOW YOU IS INSIDE THE MONITOR AND INSIDE THE PROXY SET STATUS YOU’LL SEE THAT WHAT’S HAPPENING IS THESE PARTICULAR LINES OVER HERE IS WHERE I’M CONNECTING TO TEAMS. NOW YOU’LL SEE THAT THE MODE IS ALSO SET TO LOAD BALANCING. SO ESSENTIALLY WHAT HAPPENS IS WE’LL BE TRYING TO USE THESE ONES ALL THE TIME AND YOU’LL SEE THAT IT SAYS IT’S ONLINE OVER HERE. NOW THE MINUTE WE HAVE AN INCORRECT, INCORRECT CERTIFICATE, THAT STUFF IS GOING TO DISAPPEAR AND SO NO. SO IN THIS CASE WHAT WE DO IS GO TO THE TLX CONTEXT OVER ANOTHER AND GO TO THE CERTIFICATE INFORMATION. AND YOU’LL SEE THAT IT SAYS IT’S OKAY. SO THAT STUFF IS THEN WORKING. ALL RIGHT. SO NOW HOW DO WE SEE WHAT’S GOING ON ON THE SBC? LITTLE MONKEY OVER HERE, THIS IS A GUY OVER HERE AND BASICALLY WHAT’S HAPPENING IS THIS GUY IS CONNECTING OVER THE INTERNET VIA HTP. TO THE SBC. YOU’LL SEE THERE’S A BUNCH OF REGISTRATIONS THAT — OOPS, IT’S RINGING. WHO WOULD BE RUDE ENOUGH TO CALL ME DURING MY DEMO? CAN YOU GUYS TELL THAT WAS SCRIPTED? YOU’LL SEE, SO WHAT I CAN DO IS I CAN ANSWER THE TEAM AND THE CALL IS HAPPENING OVER HERE. AND THAT IS BASICALLY THE CALL RUNNING. NOW MY GOOD FRIEND NICHOLAS MADE THAT CALL FROM OVER THERE. SO WHAT WE CAN DO IS WE CAN SEE EXACTLY WHAT HAPPENED WHEN THESE INVITES WENT THROUGH. WE CAN CHOOSE THAT SUBLET AND YOU CAN SEE THE ACTUAL CALL IS RINGING AND THIS IS WHERE WE WOULD START TO GO AND TROUBLESHOOT THINGS WHEN THINGS GO WRONG. SO AS A RESULT NOW I CAN DO THE SAME THING. AND I CAN LET’S SAY CALL THIS BACK. SO IF I DECIDE TO CALL THIS NUMBER BACK, WE’LL SEE THAT THAT PHONE OVER THERE WILL START RINGING. OR I’LL ALTERNATIVELY — [ PHONE RINGING ]>>THIS GUY, WHICH IS THE 3 CX DOE FAULT TIME IS ALSO RINGING. THE COOL THING IS WHEN YOU MAKE THIS CALL, YOUR TEAM’S CLIENTS ON ALL OF YOUR INTERFACES WILL RING. SO IF YOU HAVE TEAMS CLIENT ON YOUR DESK PHONE OR ON YOUR MAC, I’M SWITCHING BACKWARDS AND FORWARDS HERE BETWEEN WINDOWS AND MAC, BECAUSE THE TEAM, THE TEAM’S INTERFACE IS PRETTY MUCH THE SAME ALL ROUND. SOME ADDITIONAL STUFF WHEN IT COMES TO TEAMS, SOME ADDITIONAL VOICE RELATED SESSIONS, SOMETHING THAT I RECOMMEND THAT YOU GUYS GO AND DO IS SEE THIS SESSION HERE ON FRIDAY MORNING. NIKOLAI, WHO IS THE DOCTOR OF DIRECT ROUTING, WE CALL HIM DR. DR., GO SEE HIM IF YOU WANT A MORE DEEP DIVE ON THIS PARTICULAR, THIS PARTICULAR TOPIC. AND YES? THAT’S ME. IF YOU GUYS HAVE ANY QUESTIONS, PLEASE COME SEE ME AFTERWARDS. OTHER THAN THAT, THAT’S I THINK, MY 20 MINUTES, THANKS VERY MUCH, GUYS. [ APPLAUSE ]

Leave a Reply

Your email address will not be published. Required fields are marked *