Search This Blog

Thursday, January 7, 2016

Install and use IIS Advanced logging

In case you want to debug IIS based application you can uise Advanced logging:

Download and install http://www.microsoft.com/en-us/download/details.aspx?id=7211

Enable it in IIS Manager - it is disabled by default.



Common error in ADFS configuration and MSCRM IFD

According to PowerObjects there is a common error in CRM internet-facing deployment:






So you need to go to ADFS console and change Federation Service Properties - Federation Service Identifier to

https://adfs.domain.com/adfs/services/trust


Then iisreset on ADFS, then on CRM server re.run Claims configuration. Do not change anything, just re.run wizard, then iisreset, re.run IDF wizard, iisreset once more and then test.

You should see a following event in the evenlog:


Log Name:      Application
Source:        MSCRMPlatform
Date:          07.01.2016 18:01:44
Event ID:      17209
Task Category: None
Level:         Information
Keywords:      Classic,Audit Success
User:          N/A
Computer:      server
Description:
The initialization of the CRM authentication pipline has succeeded for: GetServiceConfiguration - Initialization:
Host:
Request Url:
LogFederationProviders - Federation Provider:  - Name: https://adfs.domain.com/adfs/services/trust
AddAudienceUri - Audience Uri: https://crm.domain.com/
AddAudienceUri - Audience Uri: https://auth.domain.com/

Thursday, December 17, 2015

Lync voice routing: block 9xx premium numbers

Here is an example of the route patters that does not allow calls to 9xx numbers in Germany


^\+(?!499)(\d*)$

Australia

^\+(?!61)(\d*)$

USA

^\+(?!1)(\d*)$

Switzerland

^\+(?!41)(\d*)$

Thursday, December 10, 2015

Wav file with G.723.1 codec can not be played in Windows Media Player of Windows 8

To solve the issue follow the advice on this link:

https://groups.google.com/forum/#!topic/microsoft.public.win32.programmer.directx.audio/lv5AWSNNw38


"I ended up copying the msg723.acm file from a Windows 2003 Server,  dropped 
it in the \windows\syswow64 directory, then creating a registry entry to the
file under
HKLM\Software\Wow6432Note\Microsoft\WindowsNT\CurrentVersion\Drivers32
REG_SZ  msacm.msg723 = msg723.acm .
Now the codec shows up in the Media Player About listing and I can play back 
the call recordings.

Lindsay"


Indeed it works much better now.  I have this kind of file generated a voice recording in Altigen MaxACD Call center WAV G.723.1 ((khz, 8bit, Mono, 0.8kb/sec)

the other choice is WAV GSM and WAV PCM. The latter can be played in Media Player out of the box.

Tuesday, November 17, 2015

How to change ADFS token life from default 60 to 240 minutes

How to change ADFS token life from default 60 to 240 minutes:

Set-ADFSRelyingPartyTrust -Targetname "relying_party" -TokenLifetime 240