Twilio Studio is a powerful tool that can be used for visually programming IVR flows and adding functionality such as Speech Recognition and SMS into your IVR. You can link your SkySwitch Partner and Twilio accounts via a Trunk Connection account to use Twilio with your existing hosted customers.We do not support Twilio, but we do provide support for the connections between your Twilio account and SkySwitch Reseller Account.There are many limitations to using Twilio Studio with SkySwitch. The biggest is inbound DIDs need to be on Twilio, and you cannot pass calls back to Twilio.What you'll needYou can connect to Twilio by routing DIDs back and forth, but setting up a SIP Connection is recommended. This requires creating a Connection and a Dial Translation Rule on the platform's backend, and there is a one-time $25 charge for Support to perform the setup.A PBX domain that is already set upA DNS CNAME Entry on your FQDNFill out the following form, which will open a Support ticket to have the connection built (please allow one business day for the setup to be completed): https://form.jotform.com/193465052463459A Twilio Account and a Twilio DIDFor our example, we will be using the PBX Domain: twilioivr.15611.service and the FQDN voicesupporters.com.The SetupDNS CNAME and FormSet up your DNS CNAME Record in the following format (replacing the bracketed text):[pbxdomainname]-[resellerid]-twilio.[domain.com] Point the DNS CNAME Record to [resellerid].hpbx.outboundproxy.comExample from Google DomainsFill out the Jotform above, which will submit a Support Ticket. Support will provide credentials in the Ticket after the Connection, and Dial Translation have been created.TwilioThis guide will provide a basic example, please watch our video for a more in-depth IVR Example.Sign up for a Twilio account at twilio.com if you don't already have one.Once logged in Navigate to Twilio StudioSelect 'Learn and Build' then 'Create a Flow' and name your FlowWe Recommend selecting the IVR/Phone Tree 'View Guide' for a helpful video on Getting Started.You can start from scratch or start with the IVR Template as you get started.Our example will start with 'Gather input on Call'Save, then Drag the Red "Incoming Call" dot to the dot in the upper left-hand corner of your Gather Input box.Define IVR Options with the 'Split Based On' widgets; we will need two for our example; one for voice and one for DTMF.Select Variable to Test: Digits from your First widget.Select Transitions, New Condition, then set your Digit Matches (don't worry about setting the widget yet).Select Variable to Test: Speech from your First widget.Select Transitions, New Condition, then set the words you want to match onCreate a Widget "Connect Call To"Connect Call To: 'SIP Endpoint'SIP Endpoint: [pbxExtension]@[pbxdomainname]-[resellerid]-twilio.[domain.com]Username: Username that was provided by SkySwitch SupportPassword: Password that was provided by SkySwitch SupportConnect all your widgets and don't forget to press 'Publish'Route a Twilio DID to your Widget then do one of the followingCall the Twilio DID to test!Forward one of your SkySwitch DID's to the Twilio DID and test!TroubleshootingIf your call fails to transfer from Twilio to SkySwitch Check to see if a Call Trace is generated; if a trace is generated, open a SkySwitch Support ticket with the trace.If there is no call trace generated in the PBX, pull the packet capture from the Twilio interface by doing the following:Navigate to Programmable Voice > Call LogsClick on the Failed CallDownload the Packet Capture (you may have to wait up to 5 minutes for this to be available)Send the packet capture to SkySwitch Support