You can configure Twilio as a Client gateway. This setup involves integrating Twilio capabilities directly into your client-side application or browser.
Note:
- To set up the gateway, log in to your Twilio account and keep both Vtiger and Twilio tabs open.
- Configuration requires you to move back and forth between Vtiger CRM and the Plivo website.
- You can configure Twilio and other gateways in Vtiger CRM only if you are an Admin user.
Step 1: Selecting Twilio as a Default Gateway in Vtiger CRMFollow these steps to set up Twilio as a client gateway in Vtiger CRM
- Log in to CRM.
- Click on the User Menu in the top right corner of the screen.
- Click Settings.
- Look for Extensions.
- Select Phone Configuration.
- Click +Add Gateway. The Twilio configuration page opens.
- Enter or select the following information
- Gateway: Select Twilio from the Gateway drop-down.
- Gateway Status: Select Active from the Gateway Status drop-down. This activates the gateway for incoming and outgoing calls.
- Default Gateway: Set the gateway as the default by selecting Yes from the Default Gateway drop-down. This step is optional.
- Label: Enter a keyword to label the gateway.
In the following steps, you will copy the Auth ID and token from your Twilio account and paste them into Vtiger CRM.
Step 2: Copy the Auth token from your Twilio Account - Copy the Account SID from the Twilio Dashboard to a notepad.
- Copy the Auth Token from the Twilio Dashboard to a notepad. (Click Show to display the token.). Go back to the Vtiger CRM screen.
Step 3: Paste the Account SID in the Auth ID field in Vtiger CRM - Auth ID: Paste the Twilip Auth SID to the Auth ID field
- Auth Token: Paste the Twilio Auth Token into the Auth Token field. Go back to the Twilio screen.
Step 4: Add details in the Twilio screen - Click All Products & Services from the left sidebar in Twilio.
- Click Phone numbers.
- Select Manage.
- Click TwiML Apps. The TwiML App window opens
- Click the + icon to add Vtiger as an app. The Create TwiML App window opens.
- Enter the following information:
- Friendly Name: Add the name as Vtiger CRM. The TwiML apps/Vtiger CRM page opens.
- Copy the SID information to a notepad.
- Go to Vtiger CRM.
Step 5: Add SID information in Vtiger CRM - Twiml App Sid field: Paste the TwiML SID number in this field.
- Copy the Client Callback URL to a notepad.
- Go to Twilio.
Step 6: Add CRM Request URL to Twilio - Go to the TwiML apps/Vtiger CRM page.
- Voice: Paste the Request URL (from the CRM).
- Click Save.
Step 7: Configure Voice and Fax on Twilio - Click the Menu from the left sidebar in Twilio.
- Select Phone Numbers (# icon).
- Select Manage.
- Click Active Numbers.
- Click your Twilio number. The Voice & Fax page opens.
Step 8: Configure Voice and Fax on Twilio - Scroll down to Voice & Fax and select the following:
- ACCEPT INCOMING: Select Voice Calls.
- CONFIGURE WITH: Webhooks, TwiML Bins, Functions, Studio, or Proxy.
- Copy the Callback URL from the CRM.
- Go back to the Twilio console and paste the Callback URL in the following fields:
- A CALL COMES IN
- PRIMARY HANDLER FAILS
- CALL STATUS CHANGES
- Click Save.
- Go back to the CRM tab and choose the following for incoming calls:
- Welcome Message Type - This is an audio message that is played while a client is calling you. You can choose:
- Message - Type the message, which is transcribed into an audio message.
- URL - The audio on the URL is played as the audio message.
- Closed Message Type - This is an audio message that is played when a client calls you during your non-business hours and you are unavailable to receive calls. You can choose:
- Message - Type the message, which is transcribed into an audio message.
- URL - The audio on the URL is played as the audio message.
- Busy Message Type - This is an audio message that is played when a client calls you during your business hours, but you cannot receive calls. You can choose:
- Message - Type the message, which is transcribed into an audio message.
- URL - The audio on the URL is played as the audio message.
- No Answer Timeout (sec) - The period after which a client’s incoming call must be disconnected before you receive it. For example, 60 seconds.
- Language for IVR messages - The language in which the Welcome Message must play.
- Business Hour Name - Select the agent's business hours.
- Voicemail Email ID - When clients leave a voicemail message, it is sent to the email address you specify here.
- Voicemail Transcription - Choose None if you do not want a transcript of the voicemail. Choose Auto if you need a transcript.
- Wait Music URL - The music that must play when a client’s call is being connected.
- Recording - Choose Yes if you need a recording of the call. Otherwise, choose No.
- Recording Message - When recording is enabled, the recording message is played before the system starts recording the call.
- Ticket/Case Title - Enter the case title. Vtiger CRM does not consider this value.
- Opportunity Name - Enter the case title. Vtiger CRM does not consider this value.
- Ring Incoming calls from an unknown number - A mandatory field where you configure users who will be alerted by a ring. You can configure all users and groups for an unknown number.
- Ring Incoming calls from a known number - You can configure all users, assigned users, and groups for a known number.
- Country - The outgoing call will have the country code of the country chosen from the drop-down menu.
- When you choose a country, the calls populate that country's phone code. For example, if you select India, +91 is used to generate the calls.
- If you keep the field blank, calls can be triggered with all other providers, and the codes will auto-populate.
- If you select All, the CRM allows all types of country codes to make a call.
- If you configure the same country in multiple gateway fields, the CRM displays all the providers configured with the same country code. You can choose any of the gateways to generate a call.
- Click Save.
Tips: - When you set up a client (Twilio or Plivo only) gateway, you can see a Dialer shortcut at the top of your CRM screen. You can directly dial a number and call from the shortcut.
- After you finish configuring, you must share your Twilio number with your customers so they can contact you.
Admin users can restrict other users from making or receiving calls through
Profiles.