CallID in the ReportCall Scenario

Mahmoud Helmy

Joined
Apr 20, 2024
Messages
2
Reaction score
1
Hello there,

Based on the documentations in the following link:
https://www.3cx.com/docs/crm-template-xml-description/#h.5e5k1zy3fj83


for the scenario "ReportCall" , there is no CallId in the "predefined" variables

is there any way to do so ? because we need this CallId to be sent to our crm.

can i define the callId variable ?

what is the & steps & the best practice for doing this?

this scenario is very important for us, and we need the callId

<Scenario Id="ReportCall" Type="REST" EntityId="" EntityOrder="">
<Request SkipIf="[ReportCallEnabled]!=True" Url="CRM_URL_ENDPOINT" MessagePasses="0" Message="" RequestContentType="application/json" RequestEncoding="Json" RequestType="Post" ResponseType="Json">
<PostValues Key="" If="" SkipIf="">
<Value Key="phone" If="" SkipIf="" Passes="1" Type="String">[Number]</Value>
<Value Key="type" If="" SkipIf="" Passes="1" Type="String">[CallType]</Value>
<Value Key="entitytype" If="" SkipIf="" Passes="1" Type="String">[EntityType]</Value>
<Value Key="agent" If="" SkipIf="" Passes="1" Type="String">[Agent]</Value>
<Value Key="agentname" If="" SkipIf="" Passes="1" Type="String">[AgentFirstName] [AgentLastName]</Value>
<Value Key="duration" If="" SkipIf="" Passes="1" Type="String">[Duration]</Value>
<Value Key="date" If="" SkipIf="" Passes="1" Type="String">[DateTime]</Value>
<Value Key="subject" If="" SkipIf="" Passes="2" Type="String">[Subject]</Value>
<Value Key="inbound" If="" SkipIf="" Passes="2" Type="String">[InboundCallText]</Value>
<Value Key="notansweredoutbound" If="" SkipIf="" Passes="2" Type="String">[NotAnsweredOutboundCallText]</Value>
<Value Key="outbound" If="" SkipIf="" Passes="2" Type="String">[OutboundCallText]</Value>
<Value Key="missed" If="" SkipIf="" Passes="2" Type="String">[MissedCallText]</Value>
</PostValues>
</Request>
<Variables />
<Outputs AllowEmpty="true" />
</Scenario>


thank you .
 
  • Like
Reactions: N_G
For call journaling you can use only the variables listed in the document and also get the recording link.

Using the CDR you may get the callid if needed.
 
For call journaling you can use only the variables listed in the document and also get the recording link.

Using the CDR you may get the callid if needed.

thank you for your response,
so, after reading the provided docs,

i saw that i should create a central server for receiving the CDR logs, is there any documentation link could help me doing that ?
 
thank you for your response,
so, after reading the provided docs,

i saw that i should create a central server for receiving the CDR logs, is there any documentation link could help me doing that ?
You need to build the external server yourself. There's no docs, as it's not 3CX's job. They provide the CDR passive/active way.

Easier might be to use @VoIPTools Exporter.
 
Wait for update 6 there is a complete revamp coming of the CDR and you can then do what you want in PowerBi or Grafana

You can choose to store the CDRs on Powerbi or Grafana or keep them on 3CX. A lot of changes coming in the next 1,5 months.

So best just wait a little
 

Latest Posts

Forum statistics

Threads
111,962
Messages
589,993
Members
164,867
Latest member
swegner