Teams Direct routing - question around: Get-CsCallingLineIdentity

%3CLINGO-SUB%20id%3D%22lingo-sub-1923196%22%20slang%3D%22en-US%22%3ETeams%20Direct%20routing%20-%20question%20around%3A%20Get-CsCallingLineIdentity%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1923196%22%20slang%3D%22en-US%22%3E%3CP%3EHi%20All%2C%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EI%20hope%20you%20can%20help%20with%20a%20question%2C%20I%20have%20searched%20the%20documentation%20and%20haven't%20found%20an%20answer%20as%20of%20yet.%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EI%20am%20about%20to%20setup%20our%20teams%20direct%20routing%20within%20our%20environment%20and%20we%20have%20a%20few%20groups%20that%20require%20a%20specific%20number%20be%20pushed%20out%20per%20team.%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EI%20can%20easily%20set%20a%20CLID%20policy%20like%20the%20below%3A%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3ENew-CsCallingLineIdentity%20-Identity%20*policyname*%20-Description%20%22the%20description%20duh%22%20-CallingIDSubstitute%20*Number*%20-EnableUserOverride%20%24false%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EThen%20I%20will%20apply%20the%20policy%20per%20user%20in%20said%20teams.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EBut%20I%20cannot%20see%20if%20this%20applies%20to%20numbers%20gained%20for%20Microsoft%20directly%20or%20not.%20I%20currently%20have%20numbers%20from%20a%203rd%20party%2C%20but%20I%20am%20not%20in%20a%20position%20to%20test%20this%20from%20my%20own%20user%20just%20yet.%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3ESo%20my%20question%20is%3A%20Does%20this%20policy%20apply%20solely%20on%20numbers%20gained%20direct%20from%20Microsoft%2C%20or%20does%20it%20work%20with%203rd%20party%20numbers%20also%3F%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EThanks%2C%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3ESome%20tech%20called%20John%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-1923196%22%20slang%3D%22en-US%22%3E%3CLINGO-LABEL%3EAdministrator%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3ECalling%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3EMicrosoft%20Teams%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3ESettings%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E
New Contributor

Hi All,

 

I hope you can help with a question, I have searched the documentation and haven't found an answer as of yet. 

 

I am about to setup our teams direct routing within our environment and we have a few groups that require a specific number be pushed out per team. 

 

I can easily set a CLID policy like the below:

 

New-CsCallingLineIdentity -Identity *policyname* -Description "the description duh" -CallingIDSubstitute *Number* -EnableUserOverride $false

 

Then I will apply the policy per user in said teams.

 

But I cannot see if this applies to numbers gained for Microsoft directly or not. I currently have numbers from a 3rd party, but I am not in a position to test this from my own user just yet. 

 

So my question is: Does this policy apply solely on numbers gained direct from Microsoft, or does it work with 3rd party numbers also?

 

Thanks,

 

Some tech called John

1 Reply

Just an update on this, the number needs to be in the BVD (business voice directory) to be able to be used with the CsCallingLineIdentity command. This only happens with numbers bought/ported into Microsoft. 

 

This is probably by design so you can only present out numbers that you are confirmed to own. 

 

Going to try raise a ticket to see if I prove the numbers are owned by the company I am setting this up for if they can whitelist this for the BVD. 

 

If in doubt you can use the outbound call manipulation on the SBC to amend certain DDI's or all DDI's via a rule on the source username part.