we present information about computer news and price information and specs samsung, huawei, Tecno Price products, Specifications & Features and more information about software

Rabu, 14 September 2011

Block Premium Rate Numbers with Dialing Rule Optimizer

Block Premium Rate Numbers with Dialing Rule Optimizer - do you know that every day there are new gadgets that are created with new advantages to simplify your life, on the blog Computers News we will discuss about the latest gadgets and gadgets that have long ranging from speck and price, now we will discuss about Block Premium Rate Numbers with Dialing Rule Optimizer we have collected a lot of news to make this article to be really useful for you, please see.

Articles : Block Premium Rate Numbers with Dialing Rule Optimizer
full Link : Block Premium Rate Numbers with Dialing Rule Optimizer

You can also see our article on:


Block Premium Rate Numbers with Dialing Rule Optimizer

I'm always on the lookout for ways to improve the Lync Dialing Rule Optimizer.  I got a request from a frequent user to add an option to block premium rate phone numbers.  Premium rate phone numbers are numbers that charge a higher than normal fee for calls...like those TV ads that promise incredibly hot women in bikinis are waiting to talk to you for only $4.99 per minute. 

The usual way to block these numbers was to program an exception for them in the relevant route regular expression.  I was on my way to figuring out how to programatically do this through the Optimizer when I stumbled upon this little gem of a post from Brian Rubart's UC Blog.  He came up with the brilliant idea to use the Lync Announcement and Unassigned Number service to block these numbers.  So, rather than just returning an uninformative fast-busy when someone tries to call a premium rate number, the Announcement service will tell the user why the call cannot be completed.

The only downside I can see to dealing with premium numbers in this manner is that its a setting that will affect all users.  There isn't a way to allow specific people to call premium rate numbers.

In the latest revision of the Dialing Rule Optimizer, you now have the option to use the Announcement service to block premium rate numbers.  All you need to do is to put a checkmark beside Block Premium Numbers.  It will create the relevant Powershell commands at the bottom of the resulting PS1 file. 


The Powershell commands will create the announcement using text-to-speech synthesis in the language of the selected country. You can modify the announcement text as you see fit. You can also modify the default premium number ranges or add your own if you wish.

An example is below.  Don't try to run these commands outside of the context of the Optimizer-generated script.  It relies on variables set earlier in the script:

New-CsAnnouncement -Parent $AppSrv.Identity -Name 'Announce_BlockedNumber_NA' -TextToSpeechPrompt 'The number you have dialed is prohibited due to corporate policy. If you need to reach this number, please notify your manager.' -Language 'en-US'

New-CsUnassignedNumber -Identity 'PremiumRate_NA_1' -NumberRangeStart '+19002000000' -NumberRangeEnd '+19009999999' –AnnouncementService $AppSrv.Identity -AnnouncementName 'Announce_BlockedNumber_NA'

New-CsUnassignedNumber -Identity 'PremiumRate_NA_2' -NumberRangeStart '+19762000000' -NumberRangeEnd '+19769999999' –AnnouncementService $AppSrv.Identity -AnnouncementName 'Announce_BlockedNumber_NA'

If you are so inclined, instead of using text-to-speech, you can use an audio file (in WAV/WMA format). Import the file using the Import-CSAnnouncementFile command as below...
$a = Get-Content ".\GreetingFile.wav" -ReadCount 0 -Encoding Byte

Import-CsAnnouncementFile -Parent ApplicationServer:redmond.litwareinc.com -FileName "WelcomeMessage.wav" -Content $a
...and then assign it to the announcement using the -AudioFilePrompt switch in the New-CSAnnouncement command. 

You can also send blocked calls to a SIP URI like sip:yournamehere@contoso.com or a phone number like "sip:+14255551212@litwareinc.com;user=phone", by using the -TargetURI switch in the New-CSAnnouncement command. That way, you can shame your users verbally when they try to call blocked numbers. Fun times!

If you have any suggestions for additional features, corrections to the premium number list, or if you can help me correct the Google-translated text I used for the other languages supported by the Optimizer, please drop me a line.




article titled Block Premium Rate Numbers with Dialing Rule Optimizer has been completed in the discussion

hopefully information about Block Premium Rate Numbers with Dialing Rule Optimizer can provide benefits for you in determining the gadget to suit your needs so much easier in living everyday life.

you just read the article entitled Block Premium Rate Numbers with Dialing Rule Optimizer if you feel this information is useful for you and want to bookmark it or want to share it please use link https://nandncomputers.blogspot.com/2011/09/block-premium-rate-numbers-with-dialing.html.

Tag :
Share on Facebook
Share on Twitter
Share on Google+
Tags :

Related : Block Premium Rate Numbers with Dialing Rule Optimizer

0 komentar:

Posting Komentar