Phonebook sync with Exchange 2013 not working

Discussion in '3CX Phone System - General' started by Zennix, Feb 18, 2016.

Thread Status:
Not open for further replies.
  1. Zennix

    Joined:
    May 21, 2014
    Messages:
    10
    Likes Received:
    0
    Hi all,

    we updated the 3CX phone system from V10 to V14 pro SP2. We had a sync to our public folder in exchange server before, worked well. After the Upgrade all contacts were still visible, but no sync anymore.
    We proceed all the steps from the manual to create a impersonated user and configure 3CX. But nothing happend. The old phonebook entries were still there. No new contacts will be synced. The log shows no error at 4am.
    We also tried to delete the config in 3CX to get the older entries deleted, but the next day, no change. they are still there. Manual deleting isn´t possible.
    Did anyone have an idea, what to try next, to get the sync working again?

    Thanks / Thomas
     
  2. smart34

    Joined:
    Jun 9, 2015
    Messages:
    1
    Likes Received:
    0
    Having a similar issue. Any thoughts?
     
  3. Zennix

    Joined:
    May 21, 2014
    Messages:
    10
    Likes Received:
    0
    Hi all,

    after days, without configured exchanges settings, the contacrs are still there. Can anyone tell me where I can find the local copy of the phonebook? I will try to delete it manually.

    Thanks / Greetings / Zennix
     
  4. NickD_3CX

    NickD_3CX Support Team
    Staff Member 3CX Support

    Joined:
    Jun 2, 2014
    Messages:
    1,255
    Likes Received:
    63
    In V14, by default the amount of Call History logs has been reduced so you would not see much about the Exchange Sync. To enable a higher logging level you have to do the following:
    1) Go to Troubleshooting / Activity Log / Logging, set the logging level to Verbose, and press OK.
    2) Go in C:\Program Files\3CX Phone System\Instance1\Bin\3CXCallHistoryService.exe.config and comment those 2 lines out like this:
    <!--<add key="Log_Level" value="255" />
    <add key="Log_Severity" value="Critical Error Except" />-->

    3) Restart all services (or specifically the Call History service).
    4) Review the instance Call History logs again which can be found in C:\ProgramData\3CX\InstanceX\Data\Logs\CallHistoryService.log.

    Although I cannot think what could be causing this, now the logs might enlighten you more on what might be happening.
     
  5. Zennix

    Joined:
    May 21, 2014
    Messages:
    10
    Likes Received:
    0
    Hi,
    thanks for your reply.

    we enabled the logging and got an error:
    Code:
    2016/03/10 16:14:18.456|1728|0021|Info|Synchronization of GAL started...
    2016/03/10 16:14:18.459|1728|0021|Info|Synchronization of public folders started...
    2016/03/10 16:14:19.021|1728|0021|Info|Synchronization of Public Folder Adressen started...
    2016/03/10 16:14:19.183|1728|0004|Info|Schedule cron job for trigger 'BackupTrigger' with schedule ''
    2016/03/10 16:14:19.184|1728|0004|Info|Cron expression is not specified, schedule disabled
    2016/03/10 16:14:19.184|1728|0004|Info|Schedule cron job for trigger 'RestoreTrigger' with schedule ''
    2016/03/10 16:14:19.184|1728|0004|Info|Cron expression is not specified, schedule disabled
    2016/03/10 16:14:19.335|1728|0003|Info|Phonebook files will be regenerated
    2016/03/10 16:14:21.888|1728|0021|Erro|Error while checking contacts from Public Folder Adressen
    2016/03/10 16:14:21.896|1728|0021|Warn|Microsoft.Exchange.WebServices.Data.ServiceVersionException: Exchange Server doesn't support the requested version.
       bei Microsoft.Exchange.WebServices.Data.ServiceRequestBase.ProcessWebException(WebException webException)
       bei Microsoft.Exchange.WebServices.Data.ServiceRequestBase.GetEwsHttpWebResponse(IEwsHttpWebRequest request)
       bei Microsoft.Exchange.WebServices.Data.ServiceRequestBase.ValidateAndEmitRequest(IEwsHttpWebRequest& request)
       bei Microsoft.Exchange.WebServices.Data.MultiResponseServiceRequest`1.Execute()
       bei Microsoft.Exchange.WebServices.Data.ExchangeService.FindFolders(FolderId parentFolderId, FolderView view)
       bei CompanyDirectoryService.Clients.PublicFolderExtensions.GetTopLevelFolder(ExchangeService service, String folderName)
       bei CompanyDirectoryService.Clients.PublicFolderExtensions.GetPublicFolderByPath(ExchangeService service, String ewsFolderPath)
       bei CompanyDirectoryService.Clients.PublicFolderExtensions.<GetContactsFromPublicFolder>d__7.MoveNext()
       bei System.Collections.Generic.List`1..ctor(IEnumerable`1 collection)
       bei System.Linq.Enumerable.ToList[TSource](IEnumerable`1 source)
       bei CompanyDirectoryService.SchedulerJob.SynchronizePublicFolderContacts(String FolderName)
    This line: "Microsoft.Exchange.WebServices.Data.ServiceVersionException: Exchange Server doesn't support the requested version." I think, shows the problem. We are using an Echange 2013 server. In our 3CX management console is no value for setting the right exchange version as in earlier versions.
    How can we tell 3cx which version we are using?

    Thanks / Thomas
     
  6. NickD_3CX

    NickD_3CX Support Team
    Staff Member 3CX Support

    Joined:
    Jun 2, 2014
    Messages:
    1,255
    Likes Received:
    63
    Does Exchange 2013 have SP1 installed?
     
  7. Zennix

    Joined:
    May 21, 2014
    Messages:
    10
    Likes Received:
    0
    Thank you, that's it.

    Thanks / Greetings / Zennix
     
Thread Status:
Not open for further replies.