tag:blogger.com,1999:blog-2156539095375223979.comments2024-03-09T08:09:39.573-05:00Ken's Unified Communications BlogKen Laskohttp://www.blogger.com/profile/14298995806059683301noreply@blogger.comBlogger1361125tag:blogger.com,1999:blog-2156539095375223979.post-56776440531967224302023-09-04T02:43:53.527-04:002023-09-04T02:43:53.527-04:00Please ignore my last question, got it already. Ba...Please ignore my last question, got it already. Back up file is stored at user folerLooking for eternityhttps://www.blogger.com/profile/13163339294379308081noreply@blogger.comtag:blogger.com,1999:blog-2156539095375223979.post-28533860236908699132023-09-04T02:41:44.792-04:002023-09-04T02:41:44.792-04:00I am new to teams, just tried this in trial tenant...I am new to teams, just tried this in trial tenant. But i am not sure where this back up will get savedLooking for eternityhttps://www.blogger.com/profile/13163339294379308081noreply@blogger.comtag:blogger.com,1999:blog-2156539095375223979.post-62655635055845299352023-02-20T13:41:01.017-05:002023-02-20T13:41:01.017-05:00Yes, you could do ^(\d{4}|\+9714\d{7})$Yes, you could do ^(\d{4}|\+9714\d{7})$Ken Laskohttps://www.blogger.com/profile/14298995806059683301noreply@blogger.comtag:blogger.com,1999:blog-2156539095375223979.post-80412115693814568092023-02-20T13:30:12.178-05:002023-02-20T13:30:12.178-05:00Hi Ken,
is it supported to add ^(\d{4})$(\+9714\d...Hi Ken,<br /><br />is it supported to add ^(\d{4})$(\+9714\d{7})$ in Voice Route dial pattern using single PSTN Usage.<br /><br />I want to allow 4 Digit number & +9714 on the same routeAnonymousnoreply@blogger.comtag:blogger.com,1999:blog-2156539095375223979.post-17702352316582845752022-12-16T10:04:54.876-05:002022-12-16T10:04:54.876-05:00That's the way its always been. What it should...That's the way its always been. What it should say is that if a match is found AND THE ROUTE IS AVAILABLE, then it won't evaluate further. Ken Laskohttps://www.blogger.com/profile/14298995806059683301noreply@blogger.comtag:blogger.com,1999:blog-2156539095375223979.post-18333145707744123812022-12-16T06:03:04.456-05:002022-12-16T06:03:04.456-05:00Hi Ken, it does seem to have changed then per here...Hi Ken, it does seem to have changed then per here in Example 2 there is a note;<br /><br />https://learn.microsoft.com/en-us/microsoftteams/direct-routing-voice-routing<br /><br />"The order of PSTN usages in voice routing policies is critical. The usages are applied in order, and if a match is found in the first usage, then other usages are never evaluated"<br /><br />As with Skype I would have had two PSTN usages for say emergency with routes multiple SBC's but this is clearly now a non-starter with teams and its definately a case of a single PSTN usage with multiple routes under it.<br /><br />dat800https://dat800.wordpress.com/noreply@blogger.comtag:blogger.com,1999:blog-2156539095375223979.post-8073995644064757822022-12-15T09:35:13.952-05:002022-12-15T09:35:13.952-05:00Wow! I don't see many comments coming through ...Wow! I don't see many comments coming through that aren't spam anymore. I'm curious about this. Historically, routes within PSTN usages would be utilized somewhat randomly and couldn't be counted on for true failover. I wonder if this has changed. Also, are you absolutely positive that multiple PSTN usages doesn't work? That would be a pretty major change.Ken Laskohttps://www.blogger.com/profile/14298995806059683301noreply@blogger.comtag:blogger.com,1999:blog-2156539095375223979.post-27193401074759400302022-12-15T08:29:12.408-05:002022-12-15T08:29:12.408-05:00Hi Ken, as always a great Script however I did not...Hi Ken, as always a great Script however I did not that my SfB\Lync implementions have always used multiple PSTN usages for fail over routing (as detailed excellently by you here ;https://ucken.blogspot.com/2014/09/EVMisconceptionsRouting.html) however in Teams the same does not apply and secondary PSTN usages that are the same are never utilised as you need multiple voice routes within the same usage instead. As such when I tried this in one of my tenants failover would then not occur as Teams would not hit the other PSTN usage with the other SBC.dat800https://dat800.wordpress.com/noreply@blogger.comtag:blogger.com,1999:blog-2156539095375223979.post-65145553344701369432022-09-07T07:37:47.700-04:002022-09-07T07:37:47.700-04:00Yes, you are correct. I will update the scripts.Yes, you are correct. I will update the scripts.Ken Laskohttps://www.blogger.com/profile/14298995806059683301noreply@blogger.comtag:blogger.com,1999:blog-2156539095375223979.post-48805358089452803272022-09-07T04:01:05.053-04:002022-09-07T04:01:05.053-04:00since MS Teams modules were updated New-CsOnlineSe...since MS Teams modules were updated New-CsOnlineSession is no longer recognized as a cmdlet. It should be Connect-MicrosoftTeams insteadmalukshttps://www.blogger.com/profile/03430378050609582547noreply@blogger.comtag:blogger.com,1999:blog-2156539095375223979.post-43540705861879381122022-06-30T08:41:51.048-04:002022-06-30T08:41:51.048-04:00Hi Ken, your Site Ucdialplans is down.
It’s every ...Hi Ken, your Site Ucdialplans is down.<br />It’s every MS Teams implementer’s guide.<br />Please let us know when this will be online again.Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-2156539095375223979.post-10576689572335972902022-06-28T23:47:56.127-04:002022-06-28T23:47:56.127-04:00Is ucdialplans site down indefinitely? Currently c...Is ucdialplans site down indefinitely? Currently can’t access it anymore. Kindly check.Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-2156539095375223979.post-39800976304240761532022-04-26T03:30:42.821-04:002022-04-26T03:30:42.821-04:00Hi Ken nice blog just to ask. do you have a perman...Hi Ken nice blog just to ask. do you have a permanent solution on the delay for the adding pstn usage to voice policy? I notice the command is Set-CsOnlineVoiceRoutingPolicy -Identity "MY-XXX-National" -OnlinePstnUsages @{Add=$MY_NationalList} -ErrorAction Stop. will removing the erroraction stop will resolve this issue? i can assign this manually in TACrenthttps://www.blogger.com/profile/10907910567674280642noreply@blogger.comtag:blogger.com,1999:blog-2156539095375223979.post-88268107097382311022022-02-11T04:54:58.435-05:002022-02-11T04:54:58.435-05:00Thank you Ken.Thank you Ken.Juanhttps://www.blogger.com/profile/07117607218775896722noreply@blogger.comtag:blogger.com,1999:blog-2156539095375223979.post-69801436067134840912022-02-09T09:56:47.755-05:002022-02-09T09:56:47.755-05:00No, its a rule issue. I've updated the mobile ...No, its a rule issue. I've updated the mobile rule to include these Vodacom special numbersKen Laskohttps://www.blogger.com/profile/14298995806059683301noreply@blogger.comtag:blogger.com,1999:blog-2156539095375223979.post-90544888639254195802022-02-09T01:06:34.802-05:002022-02-09T01:06:34.802-05:00Hi Ken,
Yes the numbers can be dialed from any ot...Hi Ken,<br /><br />Yes the numbers can be dialed from any other network provider. We have a Direct routing configuration setup. DO you think it could be an issue on the SBC side?Juanhttps://www.blogger.com/profile/07117607218775896722noreply@blogger.comtag:blogger.com,1999:blog-2156539095375223979.post-11661054493124290312022-02-08T10:51:08.145-05:002022-02-08T10:51:08.145-05:00Are you sure those short phone numbers are dialabl...Are you sure those short phone numbers are dialable from outside of Vodacom's network? I tried dialing +2782135 and I got a "Could not be completed as dialed"Ken Laskohttps://www.blogger.com/profile/14298995806059683301noreply@blogger.comtag:blogger.com,1999:blog-2156539095375223979.post-71234649288944124212022-02-08T03:51:00.745-05:002022-02-08T03:51:00.745-05:00Hi Ken,
We generated our dial plans from UCDialpl...Hi Ken,<br /><br />We generated our dial plans from UCDialplans.com. We recently had a request to open up a number from a cellular provider, the number 082 1946. We then created a new rule to allow this. It shows as working when testing from powershell and using the correct rule.<br /><br />Our normal rules:<br /><br />$NR += New-CsVoiceNormalizationRule -Name 'ZA-TollFree' -Parent $DPParent -Pattern '^0(80\d{7})\d*$' -Translation '+27$1' -InMemory -Description "TollFree number normalization for South Africa"<br />$NR += New-CsVoiceNormalizationRule -Name 'ZA-Premium' -Parent $DPParent -Pattern '^0(86[24-9]\d{6})$' -Translation '+27$1' -InMemory -Description "Premium number normalization for South Africa"<br />$NR += New-CsVoiceNormalizationRule -Name 'ZA-Mobile' -Parent $DPParent -Pattern '^0(([67]\d{8}|8[1-5]\d{7}))$' -Translation '+27$1' -InMemory -Description "Mobile number normalization for South Africa"<br />$NR += New-CsVoiceNormalizationRule -Name 'ZA-National' -Parent $DPParent -Pattern '^0(([1-5]\d\d|8[789]\d|86[01])\d{6})\d*(\D+\d+)?$' -Translation '+27$1' -InMemory -Description "National number normalization for South Africa"<br />$NR += New-CsVoiceNormalizationRule -Name 'ZA-Service' -Parent $DPParent -Pattern '^(1\d{2,4})$' -Translation '$1' -InMemory -Description "Service number normalization for South Africa"<br />$NR += New-CsVoiceNormalizationRule -Name 'ZA-International' -Parent $DPParent -Pattern '^(?:\+|00)(1|7|2[07]|3[0-46]|39\d|4[013-9]|5[1-8]|6[0-6]|8[1246]|9[0-58]|2[1235689]\d|24[013-9]|242\d|3[578]\d|42\d|5[09]\d|6[789]\d|8[035789]\d|9[679]\d)(?:0)?(\d{6,14})(\D+\d+)?$' -Translation '+$1$2' -InMemory -Description "International number normalization for South Africa"<br /><br />The new rule we added to allow this number is:<br /><br />$NR += New-CsVoiceNormalizationRule -Name 'Vodacom' -Parent $DPParent -Pattern '^\d{1}(\d{6})$' -Translation '+27$1' -InMemory -Description "Vodacom"<br /><br />You can see it makes use of this rule when testing, but it only states, sorry we could not connect you.<br /><br />Another number that belongs to the same company does work, the number is 082 135.<br />Any other number 082 1946 does not work.<br />The 082 135 number can be dialed internationaly +2782 135.<br />If you belong to the same cellular provider all the numbers are free, if not you will be charged for the call.<br /><br />Thank you.Juanhttps://www.blogger.com/profile/07117607218775896722noreply@blogger.comtag:blogger.com,1999:blog-2156539095375223979.post-90105768594498819032022-01-07T09:52:03.533-05:002022-01-07T09:52:03.533-05:00The "Block Premium Numbers" feature for ...The "Block Premium Numbers" feature for SfB uses the SfB Announcement service to not only block premium numbers but will play back a custom message to the caller. See https://ucken.blogspot.com/2011/09/block-premium-rate-numbers-with-dialing.html for more information.<br /><br />In Teams, this feature isn't available, but the voice policies generated by UCDialplans.com allow for blocking premium number calling. The default National voice policy does not allow premium dialing. The International voice policy does allow it, but you can simply remove the Premium PSTN usage from the policy to block premium dialing for all.Ken Laskohttps://www.blogger.com/profile/14298995806059683301noreply@blogger.comtag:blogger.com,1999:blog-2156539095375223979.post-10925898402143226152022-01-07T08:39:42.325-05:002022-01-07T08:39:42.325-05:00Hi Ken! We can't choose to block premium rate ...Hi Ken! We can't choose to block premium rate numbers for the UK (09 numbers) for Teams.The option is only available for SFB on your site. What regex rule would we need to use to effectively have users open unrestricted with just premium numbers blocked? Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-2156539095375223979.post-70818044124670872402021-12-28T17:28:08.010-05:002021-12-28T17:28:08.010-05:00I wanted to follow up on this. I was not grasping ...I wanted to follow up on this. I was not grasping at the fact I would have to modify the existing script and swap out the command new-csonlinesession with connect-microsoftteams. Once I did this and ran command everything worked as expected. Thanks again for the script. This was really helpful. Hopefully someone else will benefit from my oversight.<br /><br />a little snippet from Microsoft article:<br />When using Teams PowerShell Module 2.0 or later, update your scripts that refers New-CsOnlineSession to Connect-MicrosoftTeams. Import-PsSession is no longer required to establish a Skype for Business Online Remote PowerShell Session as that is done implicit when using Connect-MicrosoftTeams.therook711https://www.blogger.com/profile/14009175532852795965noreply@blogger.comtag:blogger.com,1999:blog-2156539095375223979.post-13305696703263736812021-12-28T17:25:17.752-05:002021-12-28T17:25:17.752-05:00I wanted to follow up on this. I decided to read t...I wanted to follow up on this. I decided to read the fine print in the Skype for Business Online Connector to the Teams powershell module article. I was not grasping that I would actually have to modify your script. Once I made the changes everything worked as expected. Simply had to adjust the new-csonlinesession command to connect-microsoftteams.<br /><br />A Little snippet from Microsoft article:<br />When using Teams PowerShell Module 2.0 or later, update your scripts that refers New-CsOnlineSession to Connect-MicrosoftTeams. Import-PsSession is no longer required to establish a Skype for Business Online Remote PowerShell Session as that is done implicit when using Connect-MicrosoftTeams.therook711https://www.blogger.com/profile/14009175532852795965noreply@blogger.comtag:blogger.com,1999:blog-2156539095375223979.post-2897183044918215822021-12-21T15:38:13.223-05:002021-12-21T15:38:13.223-05:00Appreciate the feedback. I ran this directly on th...Appreciate the feedback. I ran this directly on the SFB server. It does actually work to an extent. If I do the command prior it still attempts to authenticate during the script and the errors with message. If I don't do the connect-microsoftteams it prompts for authentication and then errors at same part. Do you think -verbose may provide further details?therook711https://www.blogger.com/profile/14009175532852795965noreply@blogger.comtag:blogger.com,1999:blog-2156539095375223979.post-91326356478369887702021-12-21T14:11:36.408-05:002021-12-21T14:11:36.408-05:00You also have to run this on a system that has the...You also have to run this on a system that has the on-prem SfB PS module installed. Looking closer at the error, its happening at the part where its trying to get your SfB details.Ken Laskohttps://www.blogger.com/profile/14298995806059683301noreply@blogger.comtag:blogger.com,1999:blog-2156539095375223979.post-3613599013909202872021-12-21T13:54:30.920-05:002021-12-21T13:54:30.920-05:00Yes, you'll have to run Connect-MicrosoftTeams...Yes, you'll have to run Connect-MicrosoftTeams beforehand. The script hasn't been updated to use the new PowerShell Teams module yet.Ken Laskohttps://www.blogger.com/profile/14298995806059683301noreply@blogger.com