Call jourling

Status
Not open for further replies.

developerzeeshan

Free User
Joined
Aug 9, 2021
Messages
84
Reaction score
1
sir i cant receive miss call in crm but can receive answered call in crm this is my template only answered call i am recieving please help me please check the id and entity id is fine because not receiving any call other then answere incoming in crm


<Scenario Id="ReportCall" Type="REST" EntityId="CallID" EntityOrder="[CallID]">
<Request SkipIf="[IIf([ReportCallEnabled]!=True||[EntityId]==&quot;&quot;,True,[IIf([CallType]!=Inbound,True,False)])]" Url="https://crm.callcenterempire.com/createCall?number=[Number]&amp;agent=[Agent]&amp;calldirection=[CallDirection]&amp;calltype=[CallType]&amp;duration=[Duration]&amp;calltext=[InboundCallText]" MessagePasses="0" RequestContentType="application/json" RequestEncoding="Json" RequestType="Get" ResponseType="Json">
<PostValues Key="">
<Value Key="duration" Passes="1" Type="String">[Duration]</Value>
<Value Key="phone" Passes="1" Type="String">[Number]</Value>
<Value Key="calltype" Passes="1" Type="String">[CallType]</Value>
<Value Key="calldirection" Passes="1" Type="String">[CallDirection]</Value>
<Value Key="agent" Passes="1" Type="String">[Agent]</Value>
<Value Key="calltext" Passes="2" Type="String">[InboundCallText]</Value>
</PostValues>
</Request>
<Variables />
<Outputs Next="ReportCallMissed" AllowEmpty="false" />
</Scenario>
<Scenario Id="ReportCallMissed" Type="REST" EntityId="CallMissedID" EntityOrder="[CallMissedID]">
<Request SkipIf="[IIf([ReportCallEnabled]!=True||[EntityId]==&quot;&quot;,True,[IIf([CallType]!=Missed,True,False)])]" Url="https://crm.callcenterempire.com/createCall?number=[Number]&amp;agent=[Agent]&amp;calldirection=[CallDirection]&amp;calltype=[CallType]&amp;duration=[Duration]&amp;calltext=[MissedCallText]" MessagePasses="0" RequestContentType="application/json" RequestEncoding="Json" RequestType="Get" ResponseType="Json">
<PostValues Key="">
<Value Key="duration" Passes="1" Type="String">[Duration]</Value>
<Value Key="phone" Passes="1" Type="String">[Number]</Value>
<Value Key="calltype" Passes="1" Type="String">[CallType]</Value>
<Value Key="calldirection" Passes="1" Type="String">[CallDirection]</Value>
<Value Key="agent" Passes="1" Type="String">[Agent]</Value>
<Value Key="calltext" Passes="2" Type="String">[MissedCallText]</Value>
</PostValues>
</Request>
<Variables />
<Outputs Next="ReportCallOutbound" AllowEmpty="true" />
</Scenario>
<Scenario Id="ReportCallOutbound" Type="REST" EntityId="CallOutboundID" EntityOrder="[CallOutboundID]">
<Request SkipIf="[IIf([ReportCallEnabled]!=True||[EntityId]==&quot;&quot;,True,[IIf([CallType]!=Outbound,True,False)])]" Url="https://crm.callcenterempire.com/createCall?number=[Number]&amp;agent=[Agent]&amp;calldirection=[CallDirection]&amp;calltype=[CallType]&amp;duration=[Duration]&amp;calltext=[OutboundCallText]" MessagePasses="0" RequestContentType="application/json" RequestEncoding="Json" RequestType="Get" ResponseType="Json">
<PostValues Key="">
<Value Key="duration" Passes="1" Type="String">[Duration]</Value>
<Value Key="phone" Passes="1" Type="String">[Number]</Value>
<Value Key="calltype" Passes="1" Type="String">[CallType]</Value>
<Value Key="calldirection" Passes="1" Type="String">[CallDirection]</Value>
<Value Key="agent" Passes="1" Type="String">[Agent]</Value>
<Value Key="calltext" Passes="2" Type="String">[OutboundCallText]</Value>
</PostValues>
</Request>
<Variables />
<Outputs Next="ReportCallNotanswered" AllowEmpty="false" />
</Scenario>
<Scenario Id="ReportCallNotanswered" Type="REST" EntityId="CallNotansweredID" EntityOrder="[CallNotansweredID]">
<Request SkipIf="[IIf([ReportCallEnabled]!=True||[EntityId]==&quot;&quot;,True,[IIf([CallType]!=Notanswered,True,False)])]" Url="https://crm.callcenterempire.com/createCall?number=[Number]&amp;agent=[Agent]&amp;calldirection=[CallDirection]&amp;calltype=[CallType]&amp;duration=[Duration]&amp;calltext=[NotAnsweredOutboundCallText]" MessagePasses="0" RequestContentType="application/json" RequestEncoding="Json" RequestType="Get" ResponseType="Json">
<PostValues Key="">
<Value Key="duration" Passes="1" Type="String">[Duration]</Value>
<Value Key="phone" Passes="1" Type="String">[Number]</Value>
<Value Key="calltype" Passes="1" Type="String">[CallType]</Value>
<Value Key="calldirection" Passes="1" Type="String">[CallDirection]</Value>
<Value Key="agent" Passes="1" Type="String">[Agent]</Value>
<Value Key="calltext" Passes="2" Type="String">[NotAnsweredOutboundCallText]</Value>
</PostValues>
</Request>
<Variables />
<Outputs AllowEmpty="false" />
</Scenario>
<Scenario Id="ReportChat" Type="REST" EntityId="ChatID" EntityOrder="[ChatID]">
<Request SkipIf="[ReportChatEnabled]!=True" Url="https://crm.callcenterempire.com/createChat?agent=[Agent]&amp;agentemail=[AgentEmail]&amp;firstname=[AgentFirstName]&amp;lastname=[AgentLastName]&amp;chatmessage=[ChatMessages]&amp;chatsubject=[ChatSubject]&amp;duration=[Duration]" MessagePasses="0" RequestContentType="application/json" RequestEncoding="Json" RequestType="Get" ResponseType="Json">
<PostValues Key="">
<Value Key="duration" Passes="1" Type="String">[Duration]</Value>
<Value Key="email" Passes="1" Type="String"></Value>
<Value Key="agent" Passes="1" Type="String">[Agent]</Value>
<Value Key="chatmessage" Passes="1" Type="Integer">[[ChatMessages].Replace("
","").Replace("
","&lt;br/&gt;").Replace("\","")]</Value>
<Value Key="chatsubject" Passes="2" Type="Integer">[ChatSubject]</Value>
<Value Key="agentfirstname" Passes="1" Type="Integer">[AgentFirstName]</Value>
<Value Key="agentlastname" Passes="1" Type="Integer">[AgentLastName]</Value>
</PostValues>
</Request>
<Variables />
<Outputs AllowEmpty="true" />
</Scenario>
 
Last edited:
Click to call is handled by the 3CX Desktop app, which supports the tel protocol. Any tel URI in a web page will be automatically enabled for click to call via 3CX. Your web pages should render phone numbers as tel URIs.
 
Here is the template but still answered call coming 2 time one with answered text one with missed call text

{"number":"00919900112368","agent":"100","calldirection":"Inbound","calltype":"Inbound","duration":"00:35","calltext":"Answered","name":"Ashutosh Mundra"}
http://54.38.120.117/crm/createCall...=00:35&calltext=Answered&name=Ashutosh Mundra

{"number":"00919900112368","agent":"100","calldirection":"Inbound","calltype":"Inbound","duration":"00:35","calltext":"Missed"}
http://54.38.120.117/crm/createCall...lltype=Inbound&duration=00:35&calltext=Missed


<Scenario Id="ReportCall" Type="REST" EntityId="CallID" EntityOrder="[CallID]">
<Request SkipIf="[IIf([ReportCallEnabled]!=True,True,[IIf([CallType]!=Inbound,True,False)])]" Url="http://54.38.120.117/crm/createCall?number=[[Number].Replace(&quot;+&quot;,&quot;%2B&quot;)]&amp;agent=[Agent]&amp;calldirection=[CallDirection]&amp;calltype=[CallType]&amp;duration=[Duration]&amp;calltext=[InboundCallText]&amp;name=[Name]" MessagePasses="0" RequestContentType="application/json" RequestEncoding="Json" RequestType="Get" ResponseType="Json">
<PostValues Key="">
<Value Key="duration" Passes="1" Type="String">[Duration]</Value>
<Value Key="phone" Passes="1" Type="String">[Number]</Value>
<Value Key="calltype" Passes="1" Type="String">[CallType]</Value>
<Value Key="calldirection" Passes="1" Type="String">[CallDirection]</Value>
<Value Key="agent" Passes="1" Type="String">[Agent]</Value>
<Value Key="calltext" Passes="2" Type="String">[InboundCallText]</Value>
</PostValues>
</Request>
<Variables />
<Outputs Next="ReportCallMissed" AllowEmpty="true" />
</Scenario>
<Scenario Id="ReportCallMissed" Type="REST" EntityId="CallMissed" EntityOrder="[CallMissed]">
<Request SkipIf="[IIf([ReportCallEnabled]!=True,True,[IIf([CallType]!=Inbound,True,False)])]" Url="http://54.38.120.117/crm/createCall?number=[[Number].Replace(&quot;+&quot;,&quot;%2B&quot;)]&amp;agent=[Agent]&amp;calldirection=[CallDirection]&amp;calltype=[CallType]&amp;duration=[Duration]&amp;calltext=[MissedCallText]" MessagePasses="0" RequestContentType="application/json" RequestEncoding="Json" RequestType="Get" ResponseType="Json">
<PostValues Key="">
<Value Key="duration" Passes="1" Type="String">[Duration]</Value>
<Value Key="phone" Passes="1" Type="String">[Number]</Value>
<Value Key="calltype" Passes="1" Type="String">[CallType]</Value>
<Value Key="calldirection" Passes="1" Type="String">[CallDirection]</Value>
<Value Key="agent" Passes="1" Type="String">[Agent]</Value>
<Value Key="calltext" Passes="2" Type="String">[MissedCallText]</Value>
</PostValues>
</Request>
<Variables />
<Outputs Next="ReportCallOutbound" AllowEmpty="true" />
</Scenario>
<Scenario Id="ReportCallOutbound" Type="REST" EntityId="CallOutboundID" EntityOrder="[CallOutboundID]">
<Request SkipIf="[IIf([ReportCallEnabled]!=True,True,[IIf([CallType]!=Outbound,True,False)])]" Url="http://54.38.120.117/crm/createCall?number=[[Number].Replace(&quot;+&quot;,&quot;%2B&quot;)]&amp;agent=[Agent]&amp;calldirection=[CallDirection]&amp;calltype=[CallType]&amp;duration=[Duration]&amp;calltext=[OutboundCallText]" MessagePasses="0" RequestContentType="application/json" RequestEncoding="Json" RequestType="Get" ResponseType="Json">
<PostValues Key="">
<Value Key="duration" Passes="1" Type="String">[Duration]</Value>
<Value Key="phone" Passes="1" Type="String">[Number]</Value>
<Value Key="calltype" Passes="1" Type="String">[CallType]</Value>
<Value Key="calldirection" Passes="1" Type="String">[CallDirection]</Value>
<Value Key="agent" Passes="1" Type="String">[Agent]</Value>
<Value Key="calltext" Passes="2" Type="String">[OutboundCallText]</Value>
</PostValues>
</Request>
<Variables />
<Outputs Next="ReportCallNotanswered" AllowEmpty="true" />
</Scenario>
<Scenario Id="ReportCallNotanswered" Type="REST" EntityId="CallNotansweredID" EntityOrder="[CallNotansweredID]">
<Request SkipIf="[IIf([ReportCallEnabled]!=True,True,[IIf([CallType]!=Outbound,True,False)])]" Url="http://54.38.120.117/crm/createCall?number=[[Number].Replace(&quot;+&quot;,&quot;%2B&quot;)]&amp;agent=[Agent]&amp;calldirection=[CallDirection]&amp;calltype=[CallType]&amp;duration=[Duration]&amp;calltext=[NotAnsweredOutboundCallText]" MessagePasses="0" RequestContentType="application/json" RequestEncoding="Json" RequestType="Get" ResponseType="Json">
<PostValues Key="">
<Value Key="duration" Passes="1" Type="String">[Duration]</Value>
<Value Key="phone" Passes="1" Type="String">[Number]</Value>
<Value Key="calltype" Passes="1" Type="String">[CallType]</Value>
<Value Key="calldirection" Passes="1" Type="String">[CallDirection]</Value>
<Value Key="agent" Passes="1" Type="String">[Agent]</Value>
<Value Key="calltext" Passes="2" Type="String">[NotAnsweredOutboundCallText]</Value>
</PostValues>
</Request>
<Variables />
<Outputs AllowEmpty="true" />
</Scenario>
 

Attachments

The template is wrong. The scenario you use to report missed calls has a wrong SkipIf expression, which is equal to the expression you have for inbound answered calls. This is what you have:
<Scenario Id="ReportCallMissed" Type="REST" EntityId="CallMissed" EntityOrder="[CallMissed]">
<Request SkipIf="[IIf([ReportCallEnabled]!=True,True,[IIf([CallType]!=Inbound,True,False)])]"

And this is what you should have there:
<Scenario Id="ReportCallMissed" Type="REST" EntityId="CallMissed" EntityOrder="[CallMissed]">
<Request SkipIf="[IIf([ReportCallEnabled]!=True,True,[IIf([CallType]!=Missed,True,False)])]"
 
  • Like
Reactions: Evolute IT
The template is wrong. The scenario you use to report missed calls has a wrong SkipIf expression, which is equal to the expression you have for inbound answered calls. This is what you have:


And this is what you should have there:
Also, EntityId and EntityOrder have no role in these scenarios.
 
  • Like
Reactions: edossantos
I installed the 3cx app on my mobile and scan qr code from the agent interface incoming of this agent is coming on the mobile can you guide me how crm click to call comes on the mobile fone also installed chrome extension
 
One more thing is it possible to report 3cx to crm on ringing call
 
  • Like
Reactions: Evolute IT
Sir before it was reporting on attend call not end is it not possible even on incoming attend the call not end call because before it was coming on attend call then i change some setting as you send for missed call now its reporting on end call. before it was reporting on attend call
 
Last edited:
My client want to see popup in crm in attend call not end call
 
I think there is a misunderstanding here. The popup happens when the call rings at the agent's extension. The call is reported to the CRM when the call ends. That has not changed, it's been always like that.
 
  • Like
Reactions: Evolute IT
Status
Not open for further replies.

Latest Posts

Forum statistics

Threads
112,323
Messages
591,896
Members
165,474
Latest member
costionofrei