- 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
thank you .
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 .