AudioCodes Mediant VE setup for multi-tenant support with MS-Teams

%3CLINGO-SUB%20id%3D%22lingo-sub-2402883%22%20slang%3D%22en-US%22%3EAudioCodes%20Mediant%20VE%20setup%20for%20multi-tenant%20support%20with%20MS-Teams%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2402883%22%20slang%3D%22en-US%22%3E%3CP%3EHi%20There%20Forum%2C%3C%2FP%3E%3CP%3EI%20have%20one%20question%20and%20I%20hope%20I%20can%20be%20proven%20wrong.%3C%2FP%3E%3CP%3EHas%20anyone%20here%20actually%20without%20the%20help%20of%20Westcon%20or%20AudioCodes%20gotten%20the%20MS-Teams%20Multi%20Tenant%20configuration%20working%20from%20an%20AudioCodes%20SBC%20perspective.%3C%2FP%3E%3CP%3EWhen%20following%20their%20and%20MS%20documentation%20for%20the%20customer%20tenants%20all%20you%20need%20to%20do%20is%20to%20manipulate%20the%20contact%20header%20to%20their%20tenant%20SBC%20FQDN%20and%20the%20call%20will%20go%20to%20that%20client.%20(Calls%20to%20the%20primary%2Fbase%2Fsp%20tenant%20works%20like%20a%20charm%2C%20that%20is%20the%20one%20you%20enable%20the%20proxy%20set%20with%20on%20Audiocodes)%3C%2FP%3E%3CP%3EI%20have%20tried%20that%20call%20gets%20no%20where%2C%20BUT%20if%20I%20do%20a%20Call-id%20header%20manipulation%20and%20add%20the%20client%20FQDN%20into%20the%20call-id%20I%20actually%20get%20the%20MS-Teams%20client%20to%20be%20alerted%2C%20but%20then%20I%20get%20the%20message%20the%20call%20cannot%20be%20completed%20at%20this%20time%2C%20and%20in%20the%20syslog%20files%20it%20comes%20up%20with%20a%20warning%20that%20it%20cannot%20find%20a%20matching%20transaction%20for%20response%20100%2C%20180%20and%20183.%3C%2FP%3E%3CP%3EIf%20I%20follow%20the%20explanation%20below%20and%20example%20below%20and%20I%20only%20manipulate%20the%20contact%20header%20for%20say%20sbc1.customer.adatum.biz%20the%20call%20don't%20even%20get%20to%20that%20teams%20tenant.%3C%2FP%3E%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22Sirkalliemarie79_0-1622529410870.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F285244iC6517459B33314D4%2Fimage-size%2Fmedium%3Fv%3Dv2%26amp%3Bpx%3D400%22%20role%3D%22button%22%20title%3D%22Sirkalliemarie79_0-1622529410870.png%22%20alt%3D%22Sirkalliemarie79_0-1622529410870.png%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22Sirkalliemarie79_1-1622529410876.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F285243i82ABCE2F5C7085AD%2Fimage-size%2Fmedium%3Fv%3Dv2%26amp%3Bpx%3D400%22%20role%3D%22button%22%20title%3D%22Sirkalliemarie79_1-1622529410876.png%22%20alt%3D%22Sirkalliemarie79_1-1622529410876.png%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3ESo%20if%20I%20only%20change%20the%20contact%20header%20the%20call%20gets%20canceled%20from%20the%20providers%20side.%3C%2FP%3E%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22Sirkalliemarie79_2-1622529410880.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F285245iE8088E1A26BF50CB%2Fimage-size%2Fmedium%3Fv%3Dv2%26amp%3Bpx%3D400%22%20role%3D%22button%22%20title%3D%22Sirkalliemarie79_2-1622529410880.png%22%20alt%3D%22Sirkalliemarie79_2-1622529410880.png%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EIf%20I%20change%20the%20contact%20header%20to%20xxxxxxxx%40sbc1.customer.%20customer.adatum.biz%20as%20well%20as%20with%20a%20regex%20manipulation%20change%20the%20call-id%20from%20CALL-ID%3A%20xxxxxxxxxxxx%40customer.adatum.biz%20to%26nbsp%3B%20CALL-ID%3A%20xxxxxxxxxxxx%40sbc1.customer.adatum.biz%20the%20call%20actually%20alerts%20the%20teams%20client%20but%20you%20get%20the%20Microsoft%20voice%20telling%20you%20the%20call%20cannot%20be%20completed%20right%20now%2C%20the%20client%20gets%20to%20call%20alerts%20you%20answer%20the%20first%20one%20you%20get%20the%20ladies%20voice%2C%20you%20answer%20the%20second%20one%20it%20seems%20like%20teams%20is%20trying%20to%20call%20the%20calling%20number%20back.%3C%2FP%3E%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22Sirkalliemarie79_3-1622529410882.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F285246i94085C4DDB658125%2Fimage-size%2Fmedium%3Fv%3Dv2%26amp%3Bpx%3D400%22%20role%3D%22button%22%20title%3D%22Sirkalliemarie79_3-1622529410882.png%22%20alt%3D%22Sirkalliemarie79_3-1622529410882.png%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EIncoming%20call%20with%20contact%20header%20and%20call-id%20changed%20to%20sbc1.customer.adatum.biz%3C%2FP%3E%3COL%3E%3CLI%3EAlert%20coming%20in%3C%2FLI%3E%3C%2FOL%3E%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22Sirkalliemarie79_4-1622529410905.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F285248iD5E7BDF96B601240%2Fimage-size%2Fmedium%3Fv%3Dv2%26amp%3Bpx%3D400%22%20role%3D%22button%22%20title%3D%22Sirkalliemarie79_4-1622529410905.png%22%20alt%3D%22Sirkalliemarie79_4-1622529410905.png%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3COL%3E%3CLI%3E%26nbsp%3BAnswer%20call%20(It%20drops%20on%20the%20far%20end%20with%20a%20voice%20saying%20call%20cannot%20be%20completed%20at%20this%20time%20please%20try%20again%20later)%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22Sirkalliemarie79_5-1622529410913.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F285247iB433CD79D00492F9%2Fimage-size%2Fmedium%3Fv%3Dv2%26amp%3Bpx%3D400%22%20role%3D%22button%22%20title%3D%22Sirkalliemarie79_5-1622529410913.png%22%20alt%3D%22Sirkalliemarie79_5-1622529410913.png%22%20%2F%3E%3C%2FSPAN%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3C%2FLI%3E%3CLI%3EOnce%20answered%20a%20second%20alert%20appears%20and%20tries%20to%20call%20the%20calling%20number%20back%20but%20nothing%20happens%3C%2FLI%3E%3C%2FOL%3E%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22Sirkalliemarie79_6-1622529410923.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F285251i89D46E5277781AC3%2Fimage-size%2Fmedium%3Fv%3Dv2%26amp%3Bpx%3D400%22%20role%3D%22button%22%20title%3D%22Sirkalliemarie79_6-1622529410923.png%22%20alt%3D%22Sirkalliemarie79_6-1622529410923.png%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3COL%3E%3CLI%3ENow%20you%20have%201%20call%20dropped%20and%201%20call%20just%20hanging%20there%3C%2FLI%3E%3C%2FOL%3E%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22Sirkalliemarie79_7-1622529410928.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F285249iD27C357ABA63802C%2Fimage-size%2Fmedium%3Fv%3Dv2%26amp%3Bpx%3D400%22%20role%3D%22button%22%20title%3D%22Sirkalliemarie79_7-1622529410928.png%22%20alt%3D%22Sirkalliemarie79_7-1622529410928.png%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3COL%3E%3CLI%3EAnd%20it%20registers%20in%20the%20call%20history%20as%202%20missed%20calls.%3C%2FLI%3E%3C%2FOL%3E%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22Sirkalliemarie79_8-1622529410931.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F285250i7BB0813F5D8D7BE7%2Fimage-size%2Fmedium%3Fv%3Dv2%26amp%3Bpx%3D400%22%20role%3D%22button%22%20title%3D%22Sirkalliemarie79_8-1622529410931.png%22%20alt%3D%22Sirkalliemarie79_8-1622529410931.png%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-2402883%22%20slang%3D%22en-US%22%3E%3CLINGO-LABEL%3ECalling%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3ECommunity%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3EHow-to%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3EMicrosoft%20Teams%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3ESettings%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3ETranslation%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2419425%22%20slang%3D%22en-US%22%3ERe%3A%20AudioCodes%20Mediant%20VE%20setup%20for%20multi-tenant%20support%20with%20MS-Teams%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2419425%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F1068042%22%20target%3D%22_blank%22%3E%40Sirkalliemarie79%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%3CP%3EI've%20worked%20with%20a%20couple%20of%20vendors%2Ftelcos%20that%20have%20this%20kind%20of%20configuration%20without%20any%20issues.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EI've%20looked%20over%20the%20details%20on%20doing%20this%2C%20but%20most%20of%20my%20customers%20self-host%20so%20I've%20not%20had%20to%20go%20through%20the%20details.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EA%20couple%20of%20things%20worth%20looking%20at%3A%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CUL%3E%3CLI%3EAre%20the%20SSL%20certificates%20setup%20correctly%20for%20the%20parent%2C%20and%20child%20domains%20(ie%20customers.mydomain.com%20and%20abccorp.customers.mydomain.com)%3F%3C%2FLI%3E%3CLI%3EAre%20you%20configuring%20the%20SBCs%20under%20the%20client%20tenant%3F%3C%2FLI%3E%3CLI%3EDoes%20Teams%20show%20the%20status%20of%20the%20SBCs%3F%3C%2FLI%3E%3CLI%3EDo%20you%20see%20Options%20messages%20being%20sent%20in%20both%20directions%2C%20and%20getting%20OKs%3F%3C%2FLI%3E%3C%2FUL%3E%3CP%3EDo%20you%20have%20more%20details%20from%20the%20logs%3F%20While%20the%20SIP%20flow%20is%20handy%2C%20there's%20sometimes%20details%20in%20the%20logs%20that%20show%20more%20details.%26nbsp%3B%20Have%20you%20turned%20up%20logging%20in%20AudioCodes%20to%20see%20if%20there%20are%20any%20additional%20log%20details%3F%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EWhat%20about%20outbound%20calling%20from%20Teams%3F%3C%2FP%3E%3C%2FLINGO-BODY%3E
New Contributor

Hi There Forum,

I have one question and I hope I can be proven wrong.

Has anyone here actually without the help of Westcon or AudioCodes gotten the MS-Teams Multi Tenant configuration working from an AudioCodes SBC perspective.

When following their and MS documentation for the customer tenants all you need to do is to manipulate the contact header to their tenant SBC FQDN and the call will go to that client. (Calls to the primary/base/sp tenant works like a charm, that is the one you enable the proxy set with on Audiocodes)

I have tried that call gets no where, BUT if I do a Call-id header manipulation and add the client FQDN into the call-id I actually get the MS-Teams client to be alerted, but then I get the message the call cannot be completed at this time, and in the syslog files it comes up with a warning that it cannot find a matching transaction for response 100, 180 and 183.

If I follow the explanation below and example below and I only manipulate the contact header for say sbc1.customer.adatum.biz the call don't even get to that teams tenant.

Sirkalliemarie79_0-1622529410870.png

 

Sirkalliemarie79_1-1622529410876.png

 

So if I only change the contact header the call gets canceled from the providers side.

Sirkalliemarie79_2-1622529410880.png

 

If I change the contact header to xxxxxxxx@sbc1.customer. customer.adatum.biz as well as with a regex manipulation change the call-id from CALL-ID: xxxxxxxxxxxx@customer.adatum.biz to  CALL-ID: xxxxxxxxxxxx@sbc1.customer.adatum.biz the call actually alerts the teams client but you get the Microsoft voice telling you the call cannot be completed right now, the client gets to call alerts you answer the first one you get the ladies voice, you answer the second one it seems like teams is trying to call the calling number back.

Sirkalliemarie79_3-1622529410882.png

 

Incoming call with contact header and call-id changed to sbc1.customer.adatum.biz

  1. Alert coming in

Sirkalliemarie79_4-1622529410905.png

 

  1.  Answer call (It drops on the far end with a voice saying call cannot be completed at this time please try again later)Sirkalliemarie79_5-1622529410913.png

     

  2. Once answered a second alert appears and tries to call the calling number back but nothing happens

Sirkalliemarie79_6-1622529410923.png

 

  1. Now you have 1 call dropped and 1 call just hanging there

Sirkalliemarie79_7-1622529410928.png

 

  1. And it registers in the call history as 2 missed calls.

Sirkalliemarie79_8-1622529410931.png

 

 

1 Reply

@Sirkalliemarie79 

I've worked with a couple of vendors/telcos that have this kind of configuration without any issues.

 

I've looked over the details on doing this, but most of my customers self-host so I've not had to go through the details.

 

A couple of things worth looking at:

 

  • Are the SSL certificates setup correctly for the parent, and child domains (ie customers.mydomain.com and abccorp.customers.mydomain.com)?
  • Are you configuring the SBCs under the client tenant?
  • Does Teams show the status of the SBCs?
  • Do you see Options messages being sent in both directions, and getting OKs?

Do you have more details from the logs? While the SIP flow is handy, there's sometimes details in the logs that show more details.  Have you turned up logging in AudioCodes to see if there are any additional log details?

 

What about outbound calling from Teams?