Issue with Bitrix-3CX Integration.

Status
Not open for further replies.

setechnical

Customer
Joined
Dec 13, 2019
Messages
40
Reaction score
1
I'm having problems with call logging. The calls log in to the Bitrix calendar at 5 hours behind. It's screaming timezone issues. But I can't see where. I've checked Timezone at (UTC -5) on 3CX, Bitrix, and the Users Profile, and everything is set to UTC -5. I can't make sense of it. I set verbosity to max, and can attach the 3cxsystemservice log. Does anyone have any ideas what to check?
 
I'm on it...thank you!
 
Ernesto,

Finally found the working solution...

The trick was to remove the "Z" in the string. Now everything works correctly.

From:

<Value Key="START_TIME" Passes="0" Type="String">[[CallStartTimeLocal].ToString("yyyy-MM-ddTHH:mm:ssZ")]-05:00</Value>

To:


<Value Key="START_TIME" Passes="0" Type="String">[[CallStartTimeLocal].ToString("yyyy-MM-ddTHH:mm:ss")]-05:00</Value>

Thanks so much for your help. Maybe you can update the template for us, Note we are using Bitrix on-prem v20.
 
  • Like
Reactions: edossantos
Hola, Hoy 27-02-2020 me toca con este problema y pude resolverlo cambiando en el XML la siguiente etiqueta.

DICE:
<Value Passes="0" Key="START_TIME" Type="String">[[CallStartTimeLocal].ToString("yyyy-MM-ddTHH:mm:ssZ")]</Value>

CAMBIO:
<Value Key="START_TIME" Passes="0" Type="String">[[CallStartTimeUTC].ToString("yyyy-MM-ddTHH:mm:ssZ")]</Value>

Espero les pueda servir.
 
Status
Not open for further replies.

Latest Posts

Forum statistics

Threads
111,990
Messages
590,161
Members
164,925
Latest member
batarong