[OpenSIPS-Users] Microsoft teams multi tenancy

Pasan Meemaduma pasan_5 at yahoo.com
Wed Sep 1 09:35:21 EST 2021


Hi All,
I hope all of you are well and safe. I was able to setup teams direct routing referring to this blogpost https://blog.opensips.org/2019/09/16/opensips-as-ms-teams-sbc/
When I add a second tenant, incoming calls to the second tenant don't work, as Microsoft teams not responding to the invite. outgoing calls from the second tenant works fine.
I have configured the second tenant using a derived trunk. any idea why following INVITE not respond by Microsoft but later (first tenant INVITE ) works?
------ SECOND TENANT INVITE -------
Sep  1 17:13:47 msteams-sbc opensips[26043]: INVITE sip:+xxxxxxxxxx at sip.pstnhub.microsoft.com SIP/2.0
Sep  1 17:13:47 msteams-sbc opensips[26043]: Record-Route: <sip:pasanm.voippabx.cloud:5061;transport=tls;ftag=as0e9dc8dc;lr;r2=on>
Sep  1 17:13:47 msteams-sbc opensips[26043]: Record-Route: <sip:172.31.36.39:5060;ftag=as0e9dc8dc;lr;r2=on>
Sep  1 17:13:47 msteams-sbc opensips[26043]: Via: SIP/2.0/TLS x.x.x.x:5061;branch=z9hG4bKf0c.bd20fe7.0;i=609325e7
Sep  1 17:13:47 msteams-sbc opensips[26043]: Via: SIP/2.0/TLS y.y.y.y:5061;received=y.y.y.y;branch=z9hG4bK54c25df9;rport=49408
Sep  1 17:13:47 msteams-sbc opensips[26043]: Max-Forwards: 69
Sep  1 17:13:47 msteams-sbc opensips[26043]: From: "Private" <sip:0000000000 at y.y.y.y>;tag=as0e9dc8dc
Sep  1 17:13:47 msteams-sbc opensips[26043]: To: <sip:+xxxxxxxxxx at msteamssbc.voippabx.cloud>
Sep  1 17:13:47 msteams-sbc opensips[26043]: Contact: <sip:0000000000 at y.y.y.y:5061;transport=tls>

---FIRST TENANT INVITE---- (WORKING)
Sep  1 17:17:46 msteams-sbc opensips[26043]: INVITE sip:+cccccccccc at sip.pstnhub.microsoft.com SIP/2.0
Sep  1 17:17:46 msteams-sbc opensips[26043]: Record-Route: <sip:voippabx.cloud:5061;transport=tls;ftag=as5e20130f;lr;r2=on>
Sep  1 17:17:46 msteams-sbc opensips[26043]: Record-Route: <sip:172.31.36.39:5060;ftag=as5e20130f;lr;r2=on>
Sep  1 17:17:46 msteams-sbc opensips[26043]: Via: SIP/2.0/TLS x.x.x.x:5061;branch=z9hG4bKe5f8.239f87a3.0;i=009325e7
Sep  1 17:17:46 msteams-sbc opensips[26043]: Via: SIP/2.0/TLS z.z.z.z:5061;received=z.z.z.z;branch=z9hG4bK7ff0149e;rport=44650
Sep  1 17:17:46 msteams-sbc opensips[26043]: Max-Forwards: 69
Sep  1 17:17:46 msteams-sbc opensips[26043]: From: "Extension" <sip:9001 at z.z.z.z>;tag=as5e20130f
Sep  1 17:17:46 msteams-sbc opensips[26043]: To: <sip:+cccccccccc at msteamssbc.voippabx.cloud>
Sep  1 17:17:46 msteams-sbc opensips[26043]: Contact: <sip:9001 at z.z.z.z:5061;transport=tls>
 I only have voippabx.cloud configured as a sbc on first Tenant. As per the above documentation I'm putting correct domain on RR header. Did I miss anything?  Thank you.
        Distinguishing What && How !
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opensips.org/pipermail/users/attachments/20210901/2a1db82f/attachment.html>


More information about the Users mailing list