Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

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.

  1. In folder ..\Terrasoft.WebApp\ServiceModel create file 

...

  1. VvtTwilioServiceHelperService.svc and add the following code

    Code Block

...

  1. <% @ServiceHost Service = "Terrasoft.Configuration.VvtTwilioServiceHelperNamespace.VvtTwilioServiceHelper"

...

  1.  Debug = "true"

...

  1.  Language = "C#"

...

  1.  %>

...

  1. In the

...

  1. files ..\Terrasoft.WebApp\ServiceModel\http\services.config

...

  1. and ..\Terrasoft.WebApp\ServiceModel\https\services.config

...

  1. add the following block <services>:

    Code Block
    <services>

...

  1. 
        ...

...

  1. 
        <service name="Terrasoft.Configuration.VvtTwilioServiceHelperNamespace.VvtTwilioServiceHelper">

...

  1. 
            <endpoint name="VvtTwilioServiceHelperEndPoint"

...

            address=""

            binding="webHttpBinding"

            behaviorConfiguration="RestServiceBehavior"

...

  1. 
                address=""
                binding="webHttpBinding"
                behaviorConfiguration="RestServiceBehavior"
                bindingNamespace="http://Terrasoft.WebApp.ServiceModel"

...

  1. 
                contract="Terrasoft.Configuration.VvtTwilioServiceHelperNamespace.VvtTwilioServiceHelper"

...

    </service>

  1. 
            />
        </service>
    </services>

...

  1. In the file ..\Terrasoft.WebApp\Web.config add block<location> to section

...

  1. <configuration>:

    Code Block
    <configuration>

...

  1. 
    ...

...

  1. 
    <location path="ServiceModel/VvtTwilioServiceHelper.svc">

...

        <system.web>

            <authorization>

...

  1. 
        <system.web>
            <authorization>
                <allow users="*"

...

  1.  />

...

            </authorization>

...

  1. 
            </authorization>
        </system.web>

...

  1. 
    </location>

...

  1. 
    ...

...

  1. 
    </configuration>

...

  1. In the file ..\Terrasoft.WebApp\Web.config change  attribute 'value' in the section<appSettings>:

    Code Block
    <configuration>

...

  1. 
    ...

...

    <appSettings>

...

  1. 
    <appSettings>
    ...

...

  1. 
        <add key="AllowedLocations"

...

  1.  value="[previous values];ServiceModel/VvtTwilioServiceHelper.svc"

...

  1.  />

...

  1. 
    ...

...

  1. 
    </appSettings>

...

  1. 
    ...

...

  1. 
    </configuration>

...

  1. Reload the application in IIS

Configuration for .Net6

  1. Add the following block to the AnonymousRoutes block of the appsettings.json file

Code Block
"Terrasoft.Configuration.VvtTwilioServiceHelperNamespace.VvtTwilioServiceHelper": [
        "/ServiceModel/VvtTwilioServiceHelper.svc"
]

Add label