- Joined
- Apr 19, 2022
- Messages
- 4
- Reaction score
- 0
Hello,
I configured a new template for a CRM Integration with telsearch.ch but the URL contact page isn't correct.
3CX open this url http://tel.search.ch/result?was insted of http://tel.search.ch/result?was=THENUMBER.
I would like to know how i can do that ? I try with the contacturl but without result....
Here a copie of the template :
=============================================================================================
<?xml version="1.0"?>
<Crm xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" Country="CH" Name="TelsearchCRM" Version="1" SupportsEmojis="false">
<Number Prefix="AsIs" MaxLength="[MaxLength]" />
<Connection MaxConcurrentRequests="2" />
<Parameters>
<Parameter Name="APIkey" Type="String" Parent="General Configuration" Editor="String" Title="API Key:" />
</Parameters>
<Scenarios>
<Scenario Id="" Type="REST">
<Request Url="https://tel.search.ch/api/?was=[Number]&key=[APIkey]" MessagePasses="0" RequestEncoding="UrlEncoded" RequestType="Get" ResponseType="Xml" />
<Rules>
<Rule Type="Any">entry.id</Rule>
</Rules>
<Variables>
<Variable Name="ContactID" Path="entry.id">
<Filter />
</Variable>
<Variable Name="FirstName" Path="entry.firstname">
<Filter />
</Variable>
<Variable Name="LastName" Path="entry.name">
<Filter />
</Variable>
<Variable Name="CompanyName" Path="entry.title">
<Filter />
</Variable>
<Variable Name="Email" Path="entry.extra">
<Filter>
<Rule Type="Equals" Ethalon="email">entry.extra.type</Rule>
</Filter>
</Variable>
<Variable Name="ContactUrl" Path="entry.businesslink">
<Filter />
</Variable>
<Variable Name="PhoneBusiness" Path="entry.phone">
<Filter />
</Variable>
</Variables>
<Outputs Next="" AllowEmpty="false">
<Output Type="ContactID" Passes="0" Value="[ContactID]" />
<Output Type="FirstName" Passes="0" Value="[FirstName]" />
<Output Type="LastName" Passes="0" Value="[LastName]" />
<Output Type="CompanyName" Passes="0" Value="[CompanyName]" />
<Output Type="Email" Passes="0" Value="" />
<Output Type="PhoneBusiness" Passes="0" Value="[Number]" />
<Output Type="ContactUrl" Passes="0" Value="http://tel.search.ch/result?was=[PhoneBusiness]" />
</Outputs>
</Scenario>
</Scenarios>
</Crm>
=============================================================================================
Thanks for your help.
Best regards
I configured a new template for a CRM Integration with telsearch.ch but the URL contact page isn't correct.
3CX open this url http://tel.search.ch/result?was insted of http://tel.search.ch/result?was=THENUMBER.
I would like to know how i can do that ? I try with the contacturl but without result....
Here a copie of the template :
=============================================================================================
<?xml version="1.0"?>
<Crm xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" Country="CH" Name="TelsearchCRM" Version="1" SupportsEmojis="false">
<Number Prefix="AsIs" MaxLength="[MaxLength]" />
<Connection MaxConcurrentRequests="2" />
<Parameters>
<Parameter Name="APIkey" Type="String" Parent="General Configuration" Editor="String" Title="API Key:" />
</Parameters>
<Scenarios>
<Scenario Id="" Type="REST">
<Request Url="https://tel.search.ch/api/?was=[Number]&key=[APIkey]" MessagePasses="0" RequestEncoding="UrlEncoded" RequestType="Get" ResponseType="Xml" />
<Rules>
<Rule Type="Any">entry.id</Rule>
</Rules>
<Variables>
<Variable Name="ContactID" Path="entry.id">
<Filter />
</Variable>
<Variable Name="FirstName" Path="entry.firstname">
<Filter />
</Variable>
<Variable Name="LastName" Path="entry.name">
<Filter />
</Variable>
<Variable Name="CompanyName" Path="entry.title">
<Filter />
</Variable>
<Variable Name="Email" Path="entry.extra">
<Filter>
<Rule Type="Equals" Ethalon="email">entry.extra.type</Rule>
</Filter>
</Variable>
<Variable Name="ContactUrl" Path="entry.businesslink">
<Filter />
</Variable>
<Variable Name="PhoneBusiness" Path="entry.phone">
<Filter />
</Variable>
</Variables>
<Outputs Next="" AllowEmpty="false">
<Output Type="ContactID" Passes="0" Value="[ContactID]" />
<Output Type="FirstName" Passes="0" Value="[FirstName]" />
<Output Type="LastName" Passes="0" Value="[LastName]" />
<Output Type="CompanyName" Passes="0" Value="[CompanyName]" />
<Output Type="Email" Passes="0" Value="" />
<Output Type="PhoneBusiness" Passes="0" Value="[Number]" />
<Output Type="ContactUrl" Passes="0" Value="http://tel.search.ch/result?was=[PhoneBusiness]" />
</Outputs>
</Scenario>
</Scenarios>
</Crm>
=============================================================================================
Thanks for your help.
Best regards