Showing posts with label Microsoft Lync. Show all posts
Showing posts with label Microsoft Lync. Show all posts

Tuesday, October 14, 2014

Creating a address list for users of MS Lync

With the introduction of Lync in the company is very convenient to give users a ready-address list, grouped by such organizational structure. This can be done in the following ways:
1. If your company has Exchange server, you need to create a Exchange distribution group to include users and add to Lync these groups. Member List will be updated in accordance with changes in the distribution group. Then extended to other users http://charlesulrich.blogspot.ru/2013/03/lync-server-2013-bulk-updating-contact.html eg on Lync server
- Create a folder C:\Scripts, copy the folder script "contact_import.ps1"
- Install 7 zip
- Take a standard user, create a user address list
- In Lync powershell run command: Export-CsUserData -PoolFqdn <yourpool> -UserFilter <sipofstandartuser> -FileName "c:\temp\ExportedUserData.zip"
- Copy from "c:\temp\ExportedUserData.zip" the desired line in more detail in the article http://charlesulrich.blogspot.ru/2013/03/lync-server-2013-bulk-updating-contact.html to "contact_import.ps1"
- Run the script "contact_import.ps1" (before running the script recommend commenting out the last line to deleting files and delete files manually)
- Address list will appear after restarting the client Lync
2. If the company does not Exchange server - you can not add no Exchange distribution group in Lync, then you can use the following script https://gallery.technet.microsoft.com/office/Bulk-Import-Contacts-for-8e3c614f eg on Lync server
- Create a folder C:\Scripts, copy the folder script "Add-CsContact.ps1", file users.csv
- Take a standard user, create a user address list
- To make a file users.csv users for whom this list should be extended (More in the article https://gallery.technet.microsoft.com/office/Bulk-Import-Contacts-for-8e3c614f)
- Run the script ".\Add-CsContact.ps1 -userCsv C:\Scripts\users.csv -tplpath <sipofstandartuser> -poolfqdn <yourpool> -folder C:\Scripts"
- Address list will appear after restarting the client Lync

Sunday, June 29, 2014

Instructions for creating Dial-in conference in Lync

This manual describes how to setup your server Lync 2013 to prepare for the conference with analog abonent. Are also briefly Asterisk server setup. For a conference on the Lync 2013 and an Asterisk reserved extension 2000.
  1. Open Lync Topology Builder, download config, create a PSTN gateways



  2. Edit poll property, mark checkbox Dial-in (PSTN) conferencing
  3. Publish Topology and run “Lync Server Deployment Wizard – Install or Update lync Server System – Setup or Remove Lync Server Components” on servers
  4. Run Microsoft Lync Server 2013 Control Panel, go to conferencing – Dial-in Access Number and create New number

    Define ext number
  5. Go to Voice Routing – Dial Plan and configure Normalization rule for Global dial plan – name Local Extensions
  6. Edit Site dial plan – select Normalization rule Local Extensions, and press commit all
  7. Next edit Voice Routing – Voice Policy, create New Associated PSTN Usage
  8. Create Route, add Associated trunks

  9. Go to Asterisk to configure incoming calls:
               sip.conf:
    [general]
    context=incoming                 ; Default context for incoming calls
    allowguest=no                  ; Allow or reject guest calls (default is yes)
    allowoverlap=no                 ; Disable overlap dialing support. (Default is yes)
    allowtransfer=no               ; Disable all transfers (unless enabled in peers or users)
    bindport=5060                   ; UDP Port to bind to (SIP standard port is 5060)
    bindaddr=0.0.0.0                ; IP address to bind to (0.0.0.0 binds to all)
    srvlookup=yes                   ; Enable DNS SRV lookups on outbound calls
    disallow=all
    allow=ulaw
    allow=alaw
    localnet=x.x.x.x/x.x.x.x
    externalip=x.x.x.x
    canreinvite => no                                                                   

    [Lync_Trunk]                   ; Our Lync trunk
    type=friend
    port=5068                      ; This is the default Lync Server TCP listening port
    host=x.x.x.x             ; This should be the IP address of your Lync Server
    dtmfmode=rfc2833
    context=from-lync
    nat=yes
    qualify=yes
    transport=tcp

    extensions.conf:                                                                 
    [incoming]
    exten => s,1,Answer
    exten => s,n,Background(ent-target-attendant)
    exten => s,n,WaitExten(5)
    exten => s,n,Background(conf-placeintoconf)
    exten => s,n,Dial(SIP/Lync_Trunk/2000,20)
    exten => _200X,1,Dial(SIP/Lync_Trunk/${EXTEN},20)
    exten => i,1,Playback(pbx-invalid)
    exten => i,n,Goto(incoming,s,1)

    [from-lync]
    exten=>_.,1,Dial(${OUTBOUNDTRUNK}/${EXTEN},tT)
    exten=>_.,n,Congestion()
    exten=>_.,n,hangup()

Thursday, February 20, 2014

Reinstall Web Components on Lync 2013

Sometimes IIS server Lync behaves predictably (For example module OCSAuthModule error on login to the mobile client) :) and the question arises as to reinstall little effort. Below are the steps to reinstall:
1. Uninstall Web Components Server
2. Uninstall Web Conferencing Server, click Yes for deactivate
3. Reboot Server
4. Uninstall IIS URL Rewrite Module 2
5. Click Remove Server Roles, unmark Web Server (IIS) and next  - remove
6. Reboot Server
7. Check and remove .NET Framework 3.5.1 Features
8. Check and remove Windows process Activation Services. Reboot server.
9. Add  role Web Server (IIS)
10. Add Role Services, after install reboot
Static Content
Default Document
HTTP Errors
ASP.NET
.NET Extensibility
Internet Server API (ISAPI) Extensions
ISAPI Filters
HTTP Logging
Logging Tools
Tracing
Windows Authentication
Request Filtering
Static Content Compression
Dynamic Content Compression
IIS Management Console
IIS Management Scripts and Tools
Anonymous Authentication (installed by default when IIS is installed)
Client Certificate Mapping Authentication







11. Run Start - Lync Server Deployment Wizard
12. Install or Update Lync Server System - Setup or Remove Lync Server Components - Run
13. Install latest update for Lync Server. If Kerberos authenticate enable run command: Set-CsKerberosAccountPassword -UserAccount "contoso\KerbAuth"