Transfer all unaswered Lync calls to switchboard with sefautil.

I wanted to route all the unassigned numbers to the switcboard in Lync 2010.
I tried to use the unassigned numbers to do this with little success.
(In lync 2013 there is a neat trick to do this)

So i tried sefautil and was able to do exactly what the customer wanted.

Evry unassigned number and numbers that is not anserered in 20 seconds is transferred to the switchboard.

This is the powershell script.
Just cut and paste it in a file and rename it to "callforward.ps1" run it in powershell

c:
cd "C:\Program Files\Microsoft Lync Server 2010\ResKit"
$groupmember = Get-csuser
foreach ($member in $groupmember) 

$user = Get-CsUser -Identity $member.SipAddress
if($user -ne $()) 

.\SEFAUtil.exe /server:Lync-pool1.ad.MyCustomer.no  $member.SipAddress /enablefwdnoanswer /callanswerwaittime:20 /setfwddestination:"+4712345678@MyCustomer.no;user=phone"

}

A guide to set up sefautil can be found here: http://blogs.technet.com/b/jenstr/archive/2010/12/07/how-to-get-sefautil-running.aspx

Comments

Popular Posts