SEFAUtil – Configuration and usage


What is SEFAUtil?
Secondary Extension Feature Activation

 

What does it do?
Enables Lync Server 2010\2013 administrators and helpdesk agents to configure delegate-ringing and call-forwarding settings on behalf of a Lync Server user. This tool also allows administrators to query the call-routing settings that are published for a particular user. 


Where is it?
SEFAUtil is installed as part of the Lync RESKIT (2010 & 2013).
C:\Program Files\Microsoft Lync Server 2010\ResKit
or
C:\Program Files\Microsoft Lync Server 2013\ResKit
 
 
 
How to get it working?
The pc\server from which the SEFAUtil.exe will be run needs to added as a trusted application, allowing the machine to query the Lync databases. This means that a trusted application pool needs to be configured to which this trusted application belongs to. In summary, trusted applications belong to trusted application Pools.
 
Example
In the example below the Lync FE server is used as the Application Pool and also the application server from which the SEFAUtil will also be run. From Lync Management Shell:-
 
STEP 1

New-CsTrustedApplicationPool -id mySEFAUtilServer.domain.com -Registrar mylyncpool.domain.com -site Site:MySite

Where

id is the FQDN of the server that will be used to run SEFAutil
Registrar is the FQDN of your Lync Pool
Site is your Lync Pool Site name, can be obtained from Get-CsSite


STEP 2
New-CsTrustedApplication -ApplicationId sefautil -TrustedApplicationPoolFqdn  mySEFAUtilServer.domain.com -Port 7489

Where:
Applicationid can be anything you choose, sefautil in my case
TrustedApplicationPoolFqdn is the FQDN of the server that will be used to run SEFAutil
Port can be changed to suit your needs as long as the port isn’t in use of course

STEP 3

Enable-CsTopology


STEP 4 (if running on a separate Server)
When you run SEFAutil on a dedicated server you then need to install Lync Server 2010\2013 core components on the server. The setup steps you need to perform are the following:

  1. Install or Update Lync Server System
  2. Install Local Configuration Store
  3. Request, Install or Assign Certificates
  4. Start Services

How to use SEFAUtil.exe?

There are a number of switches that can be used, when no switches are used then SEFAUtil displays the call forwarding settings of the user.

What permissions are required?
The user needs to be at least a member of RTCUniversalReadOnlyAdmins
Other permissions that are also valid
http://www.mylynclab.com/2014/04/sefautil-and-lync-2013-call-pickup.html
 
Example
From Command Prompt run:-
SEFAUtil.exe /server:mylyncpool.domain.com paul@domain.com

TIP

SEFAUtil.exe doesn’t provide much feedback. None if it errors, so add /verbose to the end of the command to see more information

Below is the list of switches found by using /?

 
SEFAUtil.exe [/server:]
SEFAUtil.exe [/adddelegate:] /simulringdelegates  [/server:]
SEFAUtil.exe [/adddelegate:] /fwdtodelegates  [/server:]
SEFAUtil.exe [/adddelegate:] /delayringdelegates:  [/server:]
SEFAUtil.exe [/removedelegate:] [/server:]
SEFAUtil.exe [/disabledelegation] [/server:]
SEFAUtil.exe [/setfwddestination:] /enablefwdnoanswer [/callanswerwaittime:] [/server:]
SEFAUtil.exe [/setfwddestination:] /enablefwdimmediate [/server:]
SEFAUtil.exe [/disablefwdimmediate | /disablefwdnoanswer] [/server:]
SEFAUtil.exe [/setsimulringdestination:] /enablesimulring [/server:]
SEFAUtil.exe /disablesimulring [/server:]
SEFAUtil.exe [/enablegrouppickup: | /disablegrouppickup][/server:]
SEFAUtil.exe [/addteammember:] /simulringteam  [/server:]
SEFAUtil.exe [/addteammember:] /delayringteam:  [/server:]
SEFAUtil.exe [/removeteammember:] [/server:]
SEFAUtil.exe [/disableteamcall] [/server:]
   /server: Lync Server FQDN, required if auto-discovery is not enabled
   /adddelegate: add delegate on-behalf of the user
   /removedelegate: removes delegate on behalf of the user
   /simulringdelegates: Sets user’s call handling rules to ring delegates endpoints simultaneously
   /delayringdelegates: Sets number of seconds Boss’ endpoints ring before ringing delegates
   /fwdtodelegates: Sets user’s call handling rules to forward calls to delegates
   /disabledelegation: Disables delegate ringing for the user
   /setfwddestination: Sets the user’s forward immediate or forward-no-answer destination
   /enablefwdimmediate: Sets user’s call handling rules to immediately forward all calls to Fwd Destination
   /enablefwdnoanswer: Sets user’s call handling rules to forward unanswered calls to Fwd destination
   /callanswerwaittime: Sets the number of seconds to wait for user to pick up the call
   /disablefwdimmediate: Disables forward immediate
   /disablefwdnoanswer: Disables forward-no-answer
   /setsimulringdestination: Sets the user’s Simul Ring destination
   /enablesimulring: Sets user’s call handling rules to Simul ring calls to Simul Ring Destination
   /disablesimulring: Disables Simul Ring
   /enablegrouppickup: Enables Group pickup
   /disablegrouppickup: Disables Group pickup
   /addteammember: add team member on-behalf of the user
   /removeteammember: removes team member on behalf of the user
   /simulringteam: Sets user’s call handling rules to ring team member endpoints simultaneously
   /delayringteam: Sets number of seconds user’s endpoints ring before ringing team members
   /disableteamcall: Disables team ringing for the user
Advertisements

About Paul B

My name is Paul Bloem and I am employed at Lexel Systems in New Zealand as a Principal Consultant for Unified Communications. I have been working on enterprise voice solutions for over 20 years. My first 10 years were spent working for a Telco in South Africa (Telcom SA). This is where all the groundwork happened as I was exposed to just about every aspect of telecommunication you could imagine. I develop an interest in PBX technologies and eventually became the go-to guy. Next, I had a 10 year run at Siemens South Africa, most of my time there was as a Technical Trainer. During this time VoIP hit the world stage, I had the privilege of introducing VoIP both as H.323 and later SIP across the Siemens HiPath 4000 solution stack. In 2008 I immigrated to New Zealand with my newly attained MCSE, I was ready to go where no PBX Techie had gone before. I was employed to explore OCS 2007 and that was pretty much the beginning of the end for me. I have been working on OCS and Lync ever since. My current role focuses exclusively on Lync and associated technologies.. That includes pre-sales, consulting, architecture and design, training and support. I even get to play in the development space from time to time - focus on play ;-) I was nominated as a Microsoft VTSP for Lync early in 2013 and also awarded Microsoft's MVP award for Lync in 2014.
This entry was posted in Delegation, Forwarding, Reskit, SEFAUtil. Bookmark the permalink.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s