- Joined
- Jun 30, 2020
- Messages
- 7
- Reaction score
- 0
Hi,
We're attempting to integrate realworks into 3CX. However we noticed that for both this CRM integration and another one, that after upgrading to 3CX v20 (Update 2 (Build 715 Release)), that calls to the API aren't made on actual phone calls.
When testing through "Integrations > CRM" and then the "TEST" button, the request is beeing made to the other server, we can see that in the logs on the other end aswell. But when an actual phone call is made the request isn't logged. The call is visible in the call log.
Did something change in v20 on CRM activation? or does the XML syntax need an update to work in production? Or is it a bug that api calls/requests aren't made at all on actual calls?
For reference, the xml:
We're attempting to integrate realworks into 3CX. However we noticed that for both this CRM integration and another one, that after upgrading to 3CX v20 (Update 2 (Build 715 Release)), that calls to the API aren't made on actual phone calls.
When testing through "Integrations > CRM" and then the "TEST" button, the request is beeing made to the other server, we can see that in the logs on the other end aswell. But when an actual phone call is made the request isn't logged. The call is visible in the call log.
Did something change in v20 on CRM activation? or does the XML syntax need an update to work in production? Or is it a bug that api calls/requests aren't made at all on actual calls?
For reference, the xml:
XML:
<?xml version="1.0" encoding="utf-8"?>
<Crm xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" Country="US" Name="Realworks" Version="2" SupportsEmojis="true" ListPageSize="0">
<Number Prefix="AsIs" MaxLength="[MaxLength]" />
<Connection MaxConcurrentRequests="16" />
<Parameters>
<Parameter Name="ServerId" Type="String" Parent="General Configuration" Editor="String" Title="Server ID:" Validation="" Default="" ListValues="" RequestUrl="" RequestUrlParameters="" ResponseScenario="" />
<Parameter Name="UserId" Type="String" Parent="General Configuration" Editor="String" Title="User ID:" Validation="" Default="" ListValues="" RequestUrl="" RequestUrlParameters="" ResponseScenario="" />
<Parameter Name="AuthToken" Type="String" Parent="General Configuration" Editor="String" Title="Auth Token:" Validation="" Default="" ListValues="" RequestUrl="" RequestUrlParameters="" ResponseScenario="" />
<Parameter Name="CreateContactEnabled" Type="Boolean" Parent="General Configuration" Editor="String" Title="Allow contact creation directly to your CRM using 3CX Web Client" Validation="" Default="False" ListValues="" RequestUrl="" RequestUrlParameters="" ResponseScenario="" />
<Parameter Name="ReportCallEnabled" Type="Boolean" Parent="" Editor="String" Title="Enable Call Journaling" Validation="" Default="False" ListValues="" RequestUrl="" RequestUrlParameters="" ResponseScenario="" />
</Parameters>
<Authentication Type="No" />
<Scenarios>
<Scenario Id="" Type="REST" EntityId="" EntityOrder="">
<Request SkipIf="" Url="https://crm.example.com/webservices/rest/ippbx/signaleergesprek/[ServerId]/[UserId]/[AuthToken]/01[CallId]/[Number]/220[Agent]/2/[[CallDirection].Replace("Inbound","false").Replace("Outbound","true")]/0[CallStartTimeLocalMillis]" MessagePasses="0" Message="" RequestContentType="" RequestEncoding="UrlEncoded" RequestType="Get" ResponseType="Json" />
<Rules>
<Rule Type="Any" Ethalon="">id</Rule>
</Rules>
<Variables>
<Variable Name="Id" LookupValue="" Path="id"><Filter /></Variable>
<Variable Name="ServerId" LookupValue="" Path="[ServerId]"><Filter /></Variable>
<Variable Name="UserId" LookupValue="" Path="[UserId]"><Filter /></Variable>
<Variable Name="AuthToken" LookupValue="" Path="[AuthToken]"><Filter /></Variable>
<Variable Name="CallId" LookupValue="" Path="[CallId]"><Filter /></Variable>
<Variable Name="CallFrom" LookupValue="" Path="[CallFrom]"><Filter /></Variable>
<Variable Name="CallTo" LookupValue="" Path="[CallTo]"><Filter /></Variable>
<Variable Name="Status" LookupValue="" Path="[Status]"><Filter /></Variable>
<Variable Name="Outgoing" LookupValue="" Path="[Outgoing]"><Filter /></Variable>
<Variable Name="IsOutgoing" LookupValue="" Path=""><Filter /></Variable>
<Variable Name="Timestamp" LookupValue="" Path=""><Filter /></Variable>
</Variables>
<Outputs AllowEmpty="false" />
</Scenario>
</Scenarios>
</Crm>