365 UC
Published in

365 UC

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

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 On via UDPCALL-ID: call-1BE92823-0000-0010-021E-104B@
GCID: 4174
Message found at line: 5892
SIP/2.0 484 Address Incomplete
Via: SIP/2.0/UDP;branch=z9hG4bK-UX-0a42-07da-87965
Record-Route: <sip:;transport=udp;lr>
Call-ID: call-1BE92823-0000-0010-021E-104B@
From: "Microsoft Teams DR Test"<sip:2222222@;user=phone>;tag=a4207da-82027;sgid=2
To: <sip:0044xxxxxxxxxx@;user=phone>;tag=sbc04e22ac
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.




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

Recommended from Medium

DIY && DIT — do it yourself and do it together!

What is GitKraken? Why Everyone Should Use GitKraken?

CSS Tips & Tricks

How to Use Python for SQL Querying

Learning Lambda — Part 5

How to stake your GLMR in GoStake?

Understanding VUCA & VUCA Prime

Sorting Algorithms- Properties/Pros/Cons/Comparisons

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
Matt Ellis

Matt Ellis

Unified Communications Architect, Pompey fan, burger eater, coffee drinker...

More from Medium

Meet the Speaker | Solly Moeng

Villa Savoye/ Le Corbusier — French architecture tour

Why “Attrition rate” is an incorrect KPI for Flex-workers