{"id":67,"date":"2012-06-13T07:20:00","date_gmt":"2012-06-13T07:20:00","guid":{"rendered":"\/post\/2012\/06\/13\/Lync-CallerID-black-list-block-list.aspx"},"modified":"2012-06-13T07:20:00","modified_gmt":"2012-06-13T07:20:00","slug":"lync-callerid-black-list-block-list","status":"publish","type":"post","link":"https:\/\/www.vatland.no\/index.php\/lync-callerid-black-list-block-list\/","title":{"rendered":"Lync CallerID black list \/ block list"},"content":{"rendered":"<p>After some time using Bing I have manged to do this. Thanks to :<\/p>\n<p><a href=\"http:\/\/ucken.blogspot.no\/2012\/02\/re-routing-incoming-calls-to.html\">http:\/\/ucken.blogspot.no\/2012\/02\/re-routing-incoming-calls-to.html<\/a>&nbsp;<\/p>\n<p>I wanted the caller that is blocked to get a announcment.<\/p>\n<p>Step 1. Install Microsot Lync Server 2010\/2013 SDK.<\/p>\n<p>Step 2. Create a announcement using new-csannouncement.<\/p>\n<blockquote style=\"margin-right: 0px;\" dir=\"ltr\">\n<p><font color=\"#33ff33\" size=\"2\" style=\"background-color: rgb(0, 0, 0);\">New-CsAnnouncement -Identity &#8220;Applicationserver:server.contoso.com&#8221; -Name &#8220;NumberBlocked&#8221; -TextToSpeechPrompt &#8220;Sorry, Your call has been restricted&#8221; -Language &#8220;en-US&#8221; -whatif<\/font><\/p>\n<\/blockquote>\n<p>Step 3. Create a unassigned number entry in Lync CP. I used +4787654321 as an example. assigning the announcement from step 2<\/p>\n<p>Step 4. Create a BlockedNumbers.txt file on the Lync FE server share. Adding numbers and action &#8221; +4712345678,block&#8221;, one on each line.<\/p>\n<p>Step 5. Add the block\/reroute script to &#8220;C:\\Program Files\\Microsoft Lync Server 2010\\Server\\Core&#8221;. Called my scripte CallerIDfilter.am (attached file) Remember to edit the file. Replace entries with your unassigned number,fileshare and domain in the manifest part and contact entry.<\/p>\n<p>Step 6. You could run the&nbsp;&#8220;compilespl.exe&nbsp;&nbsp;CallerIDFilter.am&#8221; to validate that it does not contain any compilatio errors.<\/p>\n<p>Step 7. Register the CallerIDfilter.am with the lync pool. : <\/p>\n<blockquote style=\"margin-right: 0px;\" dir=\"ltr\">\n<p><font color=\"#33ff33\" size=\"2\" style=\"background-color: rgb(0, 0, 0);\">New-CsServerApplication -Identity &#8220;registrar:lyncpool.contoso.com\/CallerIDFilter&#8221; -Uri http:\/\/www.contoso.com\/CallerIDFilter&nbsp;&nbsp;-ScriptName &#8220;CallerIDFilter.am&#8221; -Critical $False -Enabled $True -Priority 2<\/font><\/p>\n<\/blockquote>\n<p><a href=\"\/file.axd?file=2012%2f6%2fCallerIDFilter.am\">CallerIDFilter.am (2,22 kb)<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>After some time using Bing I have manged to do this. Thanks to : http:\/\/ucken.blogspot.no\/2012\/02\/re-routing-incoming-calls-to.html&nbsp; I wanted the caller that is blocked to get a announcment. Step 1. Install Microsot Lync Server 2010\/2013 SDK. Step 2. Create a announcement using new-csannouncement. New-CsAnnouncement -Identity &#8220;Applicationserver:server.contoso.com&#8221; -Name &#8220;NumberBlocked&#8221; -TextToSpeechPrompt &#8220;Sorry, Your call has been restricted&#8221; -Language &#8220;en-US&#8221; &hellip; <a href=\"https:\/\/www.vatland.no\/index.php\/lync-callerid-black-list-block-list\/\" class=\"more-link\">Continue reading <span class=\"screen-reader-text\">Lync CallerID black list \/ block list<\/span> <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_publicize_message":"","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":false,"jetpack_social_options":{"image_generator_settings":{"template":"highway","default_image_id":0,"font":"","enabled":false},"version":2},"jetpack_post_was_ever_published":false},"categories":[6],"tags":[],"class_list":["post-67","post","type-post","status-publish","format-standard","hentry","category-lync"],"aioseo_notices":[],"jetpack_publicize_connections":[],"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"jetpack_likes_enabled":false,"jetpack-related-posts":[{"id":95,"url":"https:\/\/www.vatland.no\/index.php\/move-lync-database-to-new-sql-server\/","url_meta":{"origin":67,"position":0},"title":"Move Lync database to new sql server.","author":"Atle","date":"August 3, 2011","format":false,"excerpt":"This is how I've done it. First in lab then in production. This is moving\u00a0enterprise edition databases. For this to work you need one extra temporary sql server and one Lync server in a temporary Lync pool ,along with the new SQL production server. 1. Export Lync configuration just in\u2026","rel":"","context":"In &quot;Lync&quot;","block_context":{"text":"Lync","link":"https:\/\/www.vatland.no\/index.php\/category\/lync\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":69,"url":"https:\/\/www.vatland.no\/index.php\/import-phone-updates-into-lync-server\/","url_meta":{"origin":67,"position":1},"title":"Import Phone Updates into Lync server.","author":"Atle","date":"June 4, 2012","format":false,"excerpt":"When you have downloaded and extracted the phone update this is the command to import it into Lync server: Import-CsDeviceUpdate -Identity \"service:WebServer:lyncpool.test.local\" -FileName C:\\temp\\ucupdates.cab Step 2 is to either add test devices or aprove the update for deployment. \u00a0","rel":"","context":"In &quot;Lync&quot;","block_context":{"text":"Lync","link":"https:\/\/www.vatland.no\/index.php\/category\/lync\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":13,"url":"https:\/\/www.vatland.no\/index.php\/lync-client-will-not-show-contact-photos-when-external\/","url_meta":{"origin":67,"position":2},"title":"Lync client will not show contact photos when external.","author":"Atle","date":"March 13, 2014","format":false,"excerpt":"Installed Lync 2013 on a Windows 2012R2 server. When I login with an external Lync\u00a0Client there are no photos of internal users. A\u00a0validation shows that the thumbnailPhoto attribute has bin populated with images\u00a0of the correct size.If the\u00a0client Connect directly to the frontend server\u00a0photos are presented correctly.An examination of the Lync\u00a0Addressbook\u2026","rel":"","context":"In &quot;Lync&quot;","block_context":{"text":"Lync","link":"https:\/\/www.vatland.no\/index.php\/category\/lync\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":277,"url":"https:\/\/www.vatland.no\/index.php\/lync-server-2010-rtchost-exe-crashes-after-windows-update\/","url_meta":{"origin":67,"position":3},"title":"Lync server 2010 rtchost.exe crashes after Windows Update.","author":"Atle","date":"September 11, 2014","format":false,"excerpt":"\u00a0After running Windows update on a Lync 2010 edge server\u00a0I was unable to communicate with external contacts. I could see their presence but no\u00a0chat\/video or audio.\u00a0The eventlog contained lots of event 1001 \"Information\"(Why\u00a0not error\u00a0!!!!!) that RTCHOST.EXE crashed. Probably failed installation of KB2982385. Why are these only information events. Even more\u2026","rel":"","context":"In &quot;Lync&quot;","block_context":{"text":"Lync","link":"https:\/\/www.vatland.no\/index.php\/category\/lync\/"},"img":{"alt_text":"Lync2013","src":"https:\/\/i0.wp.com\/www.vatland.no\/wp-content\/uploads\/2014\/05\/Lync2013.gif?resize=350%2C200","width":350,"height":200},"classes":[]},{"id":57,"url":"https:\/\/www.vatland.no\/index.php\/lync-phone-unable-to-sign-in-after-windows-update-on-lync-server\/","url_meta":{"origin":67,"position":4},"title":"Lync phone unable to sign in after windows update on Lync Server.","author":"Atle","date":"January 2, 2013","format":false,"excerpt":"After update to Root Sertificates ( KB931125) http:\/\/support.microsoft.com\/kb\/931125\u00a0You are constantly getting Warning in the eventlog. Also Lync Phones will be unable to sign in. The error message on the phone is that the \"Registrar FQDN could not be resolved\". UPDATED: On new Phones you will only get a message that\u2026","rel":"","context":"In &quot;Lync&quot;","block_context":{"text":"Lync","link":"https:\/\/www.vatland.no\/index.php\/category\/lync\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":14,"url":"https:\/\/www.vatland.no\/index.php\/lync-unified-contact-store-ucs\/","url_meta":{"origin":67,"position":5},"title":"Lync Unified Contact Store &#8211; UCS","author":"Atle","date":"March 7, 2014","format":false,"excerpt":"How do I check and enable Lync UCS? First of all you need Exchange 2013 , then\u00a0make sure you have enabled UCS in Lync server. By running get-csuserservicesPolicy and verify it has been set to UCSAllowed=TRUE Next check you client policy. Get-CsClientPolicy should show you \"EnableExchangeContactSync = true\" for the\u2026","rel":"","context":"Similar post","block_context":{"text":"Similar post","link":""},"img":{"alt_text":"USERSP","src":"https:\/\/i0.wp.com\/www.vatland.no\/wp-content\/uploads\/2014\/03\/USERSP-300x71.jpg?resize=350%2C200","width":350,"height":200},"classes":[]}],"_links":{"self":[{"href":"https:\/\/www.vatland.no\/index.php\/wp-json\/wp\/v2\/posts\/67","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.vatland.no\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.vatland.no\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.vatland.no\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.vatland.no\/index.php\/wp-json\/wp\/v2\/comments?post=67"}],"version-history":[{"count":0,"href":"https:\/\/www.vatland.no\/index.php\/wp-json\/wp\/v2\/posts\/67\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.vatland.no\/index.php\/wp-json\/wp\/v2\/media?parent=67"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.vatland.no\/index.php\/wp-json\/wp\/v2\/categories?post=67"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.vatland.no\/index.php\/wp-json\/wp\/v2\/tags?post=67"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}