“484 Address Incomplete” on outbound calls when using Microsoft Teams Direct Routing

Matt Ellis
Mar 12 · 3 min read

Over the past few weeks I have setup Microsoft Teams Direct Routing on Ribbon SBCs in a number of countries all over the world. On a few occasions I have run into a“484 Address Incomplete” issue when making outbound calls from Microsoft Teams.

It would appear that some carriers don’t like the P-Asserted-Identity that is applied when the call leaves Microsoft. The solution is to strip the P-Asserted-Identity SIP header just before it leaves the SBC as it heads towards the carrier.

Example of the SIP 484 error:

Received From 10.200.1.210:5060 On 10.200.1.200:5060 via UDPCALL-ID: call-1BE92823-0000-0010-021E-104B@10.200.1.200
GCID: 4174
Message found at line: 5892
SIP/2.0 484 Address Incomplete
Via: SIP/2.0/UDP 10.200.1.200:5060;branch=z9hG4bK-UX-0a42-07da-87965
Record-Route: <sip:10.200.1.210:5060;transport=udp;lr>
Call-ID: call-1BE92823-0000-0010-021E-104B@10.200.1.200
From: "Microsoft Teams DR Test"<sip:2222222@10.200.1.200:5060;user=phone>;tag=a4207da-82027;sgid=2
To: <sip:0044xxxxxxxxxx@10.200.1.210:5060;user=phone>;tag=sbc04e22ac
CSeq: 2 INVITE
Reason: Q.850;cause=28;text="address incomplete"Content-Length: 0

If we look at the P-Asserted-Identity in the SIP INVITE from the SBC to the carrier we see the following:

P-Asserted-Identity: "Microsoft Teams DR Test" <sip:+XXXXXXXXXXXX@sbc.yourdomain.com:5061;user=phone>

This is the P-Asserted-Identity inserted by Microsoft and it seems like some carriers just don’t like it. I’ve seen this with two carriers in India and one in the Middle East so far.

In order to get around this we need to use message manipulation to remove the PAI SIP header before it gets to the carrier.

Create & Apply Message Manipulation

Under Settings > SIP > Message Manipulation > Message Rule Tables create a new table called something like “Remove PAI”

Under your new Message Rule Table create a new Header Rule called something like “Remove PAI”:

Apply this message table to the Inbound Message Manipulation list on your signaling group for Microsoft Teams (or for your Proxy SBC if this is a downstream SBC).

To apply this, go to your signaling group, scroll to the bottom and set Message Manipulation to “Enabled”. Once done, choose your “Remove PAI” message table in the Inbound Message Manipulation section.

Once done, the P-Asserted-Identity in the working SIP INVITE will be different that it was previously:

P-Asserted-Identity: "Microsoft Teams DR Test" <sip:XXXXXXX@10.xx.xx.xx:5060;user=phone>

Job done.

365 UC

Stories from the world of UC by a bunch of UC…

Medium is an open platform where 170 million readers come to find insightful and dynamic thinking. Here, expert and undiscovered voices alike dive into the heart of any topic and bring new ideas to the surface. Learn more

Follow the writers, publications, and topics that matter to you, and you’ll see them on your homepage and in your inbox. Explore

If you have a story to tell, knowledge to share, or a perspective to offer — welcome home. It’s easy and free to post your thinking on any topic. Write on Medium

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store