- Joined
- Aug 5, 2020
- Messages
- 32
- Reaction score
- 5
I noticed than when a caller is called and the CRM GET search ~/api/search?Phone=123456 doesn't return a contactinformation than the POST ~/api/ReportCall isn't triggered by 3CX, is that correct or do i have something not setup right?
This is partial the CRM integration XML template:
This is partial the CRM integration XML template:
XML:
<Scenario Id="ReportCall" Type="REST">
<Request SkipIf="[ReportCallEnabled]!=True" Url="http://192.168.0.203:3721/api/ReportCall" MessagePasses="0" RequestContentType="application/json" RequestEncoding="Json" RequestType="Post" ResponseType="Json">
<PostValues Key="">
<Value Key="callstarttimelocal" Passes="1" Type="String">[CallStartTimeLocal]</Value>
<Value Key="callendtimelocal" Passes="1" Type="String">[CallEndTimeLocal]</Value>
<Value Key="phone" Passes="1" Type="String">[Number]</Value>
<Value Key="agent" Passes="1" Type="String">[Agent]</Value>
<Value Key="calltype" Passes="1" Type="String">[CallType]</Value>
</PostValues>
</Request>
<Variables />
<Outputs Next="ReportCallMissed" AllowEmpty="true" />
</Scenario>