- Joined
- Jul 1, 2019
- Messages
- 1
- Reaction score
- 0
Hello everyone,
I would like to use the CRM integration to log in real time which telephone calls were made and when. Works well so far.
However, if I resolve against a URL, then I have to return a contact for the phone number, which is then transferred to the phone book, or even overwrites the existing entry. But that's exactly what I don't want, how can I deactivate it?
My XML looks like this:
Maybe there is a better way?
Thanks!!
I would like to use the CRM integration to log in real time which telephone calls were made and when. Works well so far.
However, if I resolve against a URL, then I have to return a contact for the phone number, which is then transferred to the phone book, or even overwrites the existing entry. But that's exactly what I don't want, how can I deactivate it?
My XML looks like this:
XML:
<?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="abc" Version="3">
<Number Prefix="Plus" MaxLength="" />
<Connection MaxConcurrentRequests="16" />
<Parameters>
<Parameter Name="SID" Type="String" Editor="String" Title="Account SID: " />
</Parameters>
<Authentication Type="No">
<Value>[SID]</Value>
</Authentication>
<Scenarios>
<Scenario Type="REST">
<Request Url="----.php?data=name&sid=[SID]&number=[Number]" RequestEncoding="UrlEncoded" RequestType="Get" ResponseType="Json" />
<Rules>
<Rule Type="Any" Ethalon="">number</Rule>
</Rules>
<Variables>
<Variable Name="PhoneBusiness">number<Filter /></Variable>
<Variable Name="FirstName">first<Filter /></Variable>
<Variable Name="MiddleName">middle<Filter /></Variable>
<Variable Name="LastName">last<Filter /></Variable>
</Variables>
<Outputs AllowEmpty="true">
<Output Type="PhoneBusiness" Passes="0" Value="[PhoneBusiness]" />
<Output Type="FirstName" Passes="0" Value="[FirstName] [MiddleName]" />
<Output Type="LastName" Passes="0" Value="[LastName]" />
<Output Type="ContactId" Passes="0" Value="123" />
<Output Type="PhoneMobile" Passes="0" Value="234" />
<Output Type="Email" Passes="0" Value="[email protected]" />
<Output Type="ContactUrl" Passes="0" Value="----.php" />
</Outputs>
</Scenario>
<Scenario Id="ReportCall" Type="REST">
<Request Url="----.php?number=[Number]&agent=[Agent]&CallType=[CallType]" RequestEncoding="Json" RequestType="Post" ResponseType="Json">
<PostValues>
<Value Key="Number" Passes="1" Type="String">[Number]</Value>
</PostValues>
</Request>
<Outputs AllowEmpty="true" />
</Scenario>
</Scenarios>
</Crm>
Maybe there is a better way?
Thanks!!