- Joined
- Jan 8, 2019
- Messages
- 10
- Reaction score
- 0
When I perform an outgoing call test from the template generator I can see the expected result but when I make an outgoing call from the phone system the variables are not being expanded. This only happens on one scenario. Where should I be looking?
CRM Template generator test
{
"id": "11770334",
"version": "0",
"createdDate": 1663248087860,
"creatorUserId": "5349196",
"customAttributes": [],
"customerId": "1234567",
"customerNumber": "16425",
"description": "9/15/2022 8:15 PM: Answered outgoing call from 0000 to Contact +491123456789 (05:00)",
"inOut": "Outgoing",
"lastModifiedDate": 1663248087856,
"leadId": "1234567",
"leadNumber": "16425",
"logType": "LOG_CALL",
"subject": "9/15/2022 8:15 PM: Answered outgoing call from 0000 to Contact +491123456789 (05:00)",
"supplierId": "6173456"
}
3CX Phone system log
'https://customer.weclapp.com/webapp/api/v1/_app_crmCallLog/' with message '{"customerId":"","inOut":"Outgoing","description":"[DateTime]: Answered outgoing call from [Agent] to [[Number].Replace(\"0049\",\"+49\")] [Name] ([Duration]","logType":"LOG_CALL","subject":"[DateTime]: Answered outgoing call from [Agent] to [[Number].Replace(\"0049\",\"+49\")] [Name] ([Duration]","customerNumber":""}'.
For the not answered scenario I get
{
"id": "11770345",
"version": "0",
"createdDate": 1663248140167,
"creatorUserId": "5349196",
"customAttributes": [],
"customerId": "1234567",
"customerNumber": "16425",
"description": "9/15/2022 8:15 PM: Unanswered outgoing call from 0000 to +491123456789 ",
"inOut": "Outgoing",
"lastModifiedDate": 1663248140166,
"leadId": "1234567",
"leadNumber": "16425",
"logType": "LOG_CALL",
"subject": "9/15/2022 8:15 PM: Unanswered outgoing call from 0000 to +491123456789 ",
"supplierId": "6173456"
}
'https://customer.weclapp.com/webapp/api/v1/_app_crmCallLog/' with message '{"customerId":"1234567","inOut":"Outgoing","description":"[DateTime]: Unanswered outgoing call from [Agent] to [[Number].Replace(\"0049\",\"+49\")] [Name]","logType":"LOG_CALL","subject":"9/15/2022 7:47 PM: Unanswered outgoing call from 0000 to +491123456789 customer, Name","customerNumber":"1234567"}'.
CRM Template generator test
{
"id": "11770334",
"version": "0",
"createdDate": 1663248087860,
"creatorUserId": "5349196",
"customAttributes": [],
"customerId": "1234567",
"customerNumber": "16425",
"description": "9/15/2022 8:15 PM: Answered outgoing call from 0000 to Contact +491123456789 (05:00)",
"inOut": "Outgoing",
"lastModifiedDate": 1663248087856,
"leadId": "1234567",
"leadNumber": "16425",
"logType": "LOG_CALL",
"subject": "9/15/2022 8:15 PM: Answered outgoing call from 0000 to Contact +491123456789 (05:00)",
"supplierId": "6173456"
}
3CX Phone system log
'https://customer.weclapp.com/webapp/api/v1/_app_crmCallLog/' with message '{"customerId":"","inOut":"Outgoing","description":"[DateTime]: Answered outgoing call from [Agent] to [[Number].Replace(\"0049\",\"+49\")] [Name] ([Duration]","logType":"LOG_CALL","subject":"[DateTime]: Answered outgoing call from [Agent] to [[Number].Replace(\"0049\",\"+49\")] [Name] ([Duration]","customerNumber":""}'.
For the not answered scenario I get
{
"id": "11770345",
"version": "0",
"createdDate": 1663248140167,
"creatorUserId": "5349196",
"customAttributes": [],
"customerId": "1234567",
"customerNumber": "16425",
"description": "9/15/2022 8:15 PM: Unanswered outgoing call from 0000 to +491123456789 ",
"inOut": "Outgoing",
"lastModifiedDate": 1663248140166,
"leadId": "1234567",
"leadNumber": "16425",
"logType": "LOG_CALL",
"subject": "9/15/2022 8:15 PM: Unanswered outgoing call from 0000 to +491123456789 ",
"supplierId": "6173456"
}
'https://customer.weclapp.com/webapp/api/v1/_app_crmCallLog/' with message '{"customerId":"1234567","inOut":"Outgoing","description":"[DateTime]: Unanswered outgoing call from [Agent] to [[Number].Replace(\"0049\",\"+49\")] [Name]","logType":"LOG_CALL","subject":"9/15/2022 7:47 PM: Unanswered outgoing call from 0000 to +491123456789 customer, Name","customerNumber":"1234567"}'.