Please In order for the Twilio connector to work, you will need to set up anonymous access to service VvtTwilioServiceHelper on https://mkpdev-amc.creatio.com/ The instruction is attached. Thank youthe anonymous endpoint on your Creatio server using the instruction below
Set up can be performed by the system administrator. If you are using the cloud version, please contact the Creatio support team to complete the set up.
In folder ..\Terrasoft.WebApp\ServiceModel create file
...
VvtTwilioServiceHelperService.svc and add the following code
Code Block
...
<% @ServiceHost Service = "Terrasoft.Configuration.VvtTwilioServiceHelperNamespace.VvtTwilioServiceHelper"
...
Debug = "true"
...
Language = "C#"
...
%>
...
In the
...
files ..\Terrasoft.WebApp\ServiceModel\http\services.config
...
and ..\Terrasoft.WebApp\ServiceModel\https\services.config
...
add the following block <services>:
Code Block <services>
...
...
...
<service name="Terrasoft.Configuration.VvtTwilioServiceHelperNamespace.VvtTwilioServiceHelper">
...
<endpoint name="VvtTwilioServiceHelperEndPoint"
...
address=""
binding="webHttpBinding"
behaviorConfiguration="RestServiceBehavior"
...
address="" binding="webHttpBinding" behaviorConfiguration="RestServiceBehavior" bindingNamespace="http://Terrasoft.WebApp.ServiceModel"
...
contract="Terrasoft.Configuration.VvtTwilioServiceHelperNamespace.VvtTwilioServiceHelper"
...
</service>
/> </service> </services>
...
In the file ..\Terrasoft.WebApp\Web.config add block<location> to section
...
<configuration>:
Code Block <configuration>
...
...
...
<location path="ServiceModel/VvtTwilioServiceHelper.svc">
...
<system.web>
<authorization>
...
<system.web> <authorization> <allow users="*"
...
/>
...
</authorization>
...
</authorization> </system.web>
...
</location>
...
...
...
</configuration>
...
In the file ..\Terrasoft.WebApp\Web.config change attribute 'value' in the section<appSettings>:
Code Block <configuration>
...
...
...
<appSettings>
...
<appSettings> ...
...
<add key="AllowedLocations"
...
value="[previous values];ServiceModel/VvtTwilioServiceHelper.svc"
...
/>
...
...
...
</appSettings>
...
...
...
</configuration>
...
Reload the application in IIS
Configuration for .Net6
Add the following block to the AnonymousRoutes block of the appsettings.json file
Code Block |
---|
"Terrasoft.Configuration.VvtTwilioServiceHelperNamespace.VvtTwilioServiceHelper": [
"/ServiceModel/VvtTwilioServiceHelper.svc"
] |
Add label