@ConceptsWeb
<?xml version="1.0"?>
<Crm xmlns:xsi="
http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="
http://www.w3.org/2001/XMLSchema" Country="US" Name="Sample" Version="1" SupportsEmojis="true">
<Number Prefix="AsIs" MaxLength="[MaxLength]" />
<Connection MaxConcurrentRequests="2" />
<!--

Trigger only on CallAnswered -->
<Triggers>
<Trigger Name="CallAnswered" Scenario="ReportCall" />
</Triggers>
<Parameters>
<Parameter Name="UserName" Type="String" Parent="General Configuration" Editor="String" Title="Username:" />
<Parameter Name="Password" Type="Password" Parent="General Configuration" Editor="String" Title="Password:" />
<Parameter Name="ReportCallEnabled" Type="Boolean" Editor="String" Title="Enable Call Journaling" Default="True" />
<Parameter Name="Subject" Type="String" Parent="ReportCallEnabled" Editor="String" Title="Call Subject:" Default="3CX PhoneSystem Call" />
<Parameter Name="InboundCallText" Type="String" Parent="ReportCallEnabled" Editor="String" Title="Answered Inbound Call:" Default="[DateTime]: Answered incoming call from [Number] to [Agent] ([Duration])" />
<Parameter Name="MissedCallText" Type="String" Parent="ReportCallEnabled" Editor="String" Title="Missed Call:" Default="[DateTime]: Missed call from [Number] to [Agent]" />
<Parameter Name="OutboundCallText" Type="String" Parent="ReportCallEnabled" Editor="String" Title="Answered Outbound Call:" Default="[DateTime]: Answered outgoing call from [Agent] to [Number] ([Duration])" />
<Parameter Name="NotAnsweredOutboundCallText" Type="String" Parent="ReportCallEnabled" Editor="String" Title="Unanswered Outbound Call:" Default="[DateTime]: Unanswered outgoing call from [Agent] to [Number]" />
</Parameters>
<Authentication Type="Basic">
<Value>[UserName]:[Password]</Value>
</Authentication>
<Scenarios>
<!--

Journaling Scenario: Triggered only on CallAnswered -->
<Scenario Id="ReportCall" Type="REST">
<Request SkipIf="[IIf([ReportCallEnabled]!=True,True,False)]"
Url="https://webhook.site/03c9e69e-421e-4b82-a477-7fdac723c6d4"
MessagePasses="0"
RequestContentType="application/json"
RequestEncoding="Json"
RequestType="Post"
ResponseType="Json">
<PostValues Key="">
<Value Key="duration" Type="String">[Duration]</Value>
<Value Key="phone" Type="String">[Number]</Value>
<Value Key="type" Type="String">[CallType]</Value>
<Value Key="direction" Type="String">[CallDirection]</Value>
<Value Key="agent" Type="String">[Agent]</Value>
<Value Key="agentLastName" Type="String">[AgentLastName]</Value>
<Value Key="agentFirstName" Type="String">[AgentFirstName]</Value>
<Value Key="agentEmail" Type="String">[AgentEmail]</Value>
<Value Key="entityId" Type="String">[EntityId]</Value>
<Value Key="subject" Type="String">[Subject]</Value>
<Value Key="description" Type="String">[IIf([CallType]==Inbound,[InboundCallText],[OutboundCallText])]</Value>
</PostValues>
</Request>
<Variables />
<Outputs AllowEmpty="true" />
</Scenario>
</Scenarios>
</Crm>
I tried something like this I am receiving the request on call disconnected after answering
{
"duration": "00:08",
"phone": "XXXXXXXXXXX",
"type": "Inbound",
"direction": "Inbound",
"agent": "1002",
"agentLastName": "Pidugu",
"agentFirstName": "Hemanth",
"agentEmail": "
[email protected]",
"entityId": "",
"subject": "3CX PhoneSystem Call",
"description": "[DateTime]: Answered incoming call from [Number] to [Agent] ([Duration])"
}
is there a field to get the recording url I am recording all the calls