Twilio Changelog

Additions and changes to the Twilio platform

Filter by:Clear all

This release of Flex UI introduces an improved troubleshooting experience for Flex UI users. Troubleshooting and fixing any issues starts with understanding their cause and getting additional context about the issues. Users of Flex UI will now be able to get error notifications via a Debugger UI and will be able to download a report with full error descriptions and logs. 

flex_debugger_ui

Debugger UI is now in Pilot and can be enabled for your account using a feature flag

Flex UI developers will now be able to retrieve errors and logs programmatically to implement customized error monitoring and reporting.

import { Monitor } from "@twilio/flex-ui";

Monitor.getErrors(); // returns { errors: [Monitor.FlexErrorJSON] }
Monitor.getLogs(); // returns { logs: 'string' }

To learn more about Flex UI troubleshooting, Debugger UI, and programmatic access to errors and logs, visit our Flex docs.

Other notable changes:

  • Flex WebChat UI 2.8 is released with fixes to several markdown issues
  • Initial audio device check (previously in Pilot release) is now in GA and will be enabled by default for all accounts 


For more details on this release, please visit the release notes for Flex UI and WebChat UI.


Serverless

Twilio Functions is adding support for  Node v12

We are keeping your runtime up to date with industry standards. In accordance with OpenJS Foundation’s support schedule, Node v10 will no longer be supported after April 30, 2021. A new deployment will be required to make Functions run against the new Node version.

Your currently deployed functions will continue to execute on the existing Node v10 runtime if no changes are made. If you deploy functions after April 30, they will automatically deploy to Node v12.

Follow theseinstructions to upgrade, test and deploy your code and ensure a safe transition to Node12.

We recommend that you upgrade to NodeJS 12 even if you’re not planning on making other changes. Test and re-deploy your code with Node12. After April 30th, 2021, if you make changes to your Functions, they will deploy to NodeJS 12. 

Currently, the Node version will only change if you explicitly set the Node version via either the UI dropdown in the dependencies tab, by passing runtime using serverless toolkit or by explicitly setting the runtime parameter when creating a Build.

node10_dropdown.width-1600.png


Programmable Voice

New selected-ice-candidate-pair Event in Voice Insights GA

A new Voice SDK event has been added to Voice Insights. The selected-ice-candidate-pair event contains information about the local and remote ICE candidates including the transport protocol and type. This information allows you to identify connections which need to use TURN for media relay or TCP transport which can indicate a highly restricted local network environment. For more information see our docs.


Programmable Messaging

Toll-Free MMS is coming soon to Twilio GA

Over the next few weeks, we are gradually rolling out MMS capabilities across our US Toll-Free numbers. 

Starting this week, you will see numbers with MMS capabilities appear when you search for US(+1) Toll-Free phone numbers using Advanced Search. If you already own Toll-Free numbers, they will be enabled with MMS capabilities by the end of March as well. 

You can send an MMS message on a Toll-Free number by including the MediaUrl parameter in your API request. Pricing information can be found here.

We will share another update once all Toll-Free numbers are generally available for sending and receiving MMS messages from recipients in US and Canada.


The Flex Plugins CLI has been updated to automate one of the most common operations, enabling or disabling a single plugin. Developers can now provide the disable-plugin and enable-plugin arguments in the release and create-configuration commands. This simplifies the release process for developers managing multiple plugins. They no longer need to gather and update configurations for every active plugin. Refer to our CLI documentation for more details on these commands.

Other notable changes:

  • Flex plugins no longer need to start with “plugin-”.

In some cases calls placed using the Conference Add Participant API, <Refer>, and <Dial><Sip> Multidial are not being properly billed for Voice Insights Advanced Features usage. We’ll be introducing a fix for new accounts created after February 24, 2021 that will result in these call flows being billed properly. The billing behavior will not change on existing accounts.


Flex

Agent workload reporting in Flex Insights Beta

Flex Insights now supports detailed intraday reporting of agent workload. Workload reporting enables supervisors and data analysts to see which conversations the agents spent their time working on during the day with 15 minute interval granularity. Workload reporting is especially powerful in contact centers with long conversations that can be leveraged by Workforce Management applications to predict load and monitor schedule adherence. The time spent working on conversations can be filtered and segmented by direction, queue, agents, and all the other attributes available in Flex Insights.

Flex Insights now also reports on how many conversations agents worked in parallel at a specific moment. This gives visibility into how efficiently their time is used in multi-tasking environments. You can also report how much time agents spend idle - handling no conversation during their working hours.


For more information see workload reporting documentation.


Flex Insights provides additional custom data fields for Conversations, Customers, and Agents data sets. You can now attach more data related to your specific business needs to conversations, customers and agents - which you can then use for segmentation, aggregations, and filtering in Historical Reporting.

To learn how you can set custom data fields programmatically, see Enhance your Flex Insights Integration.


SendGrid Email API

API Key and 2FA Requirements Enforced for Essentials Customers GA

In order to enhance security for all of our users, Twilio SendGrid now requires customers on all Essentials plans to use API Key authentication on all API requests and SMTP configurations. Customers must also enable Two-Factor Authentication (2FA) for all users, including teammates. Visit our docs for more information on Upgrading to API Keys and Enabling Two-Factor Authentication. If you did not receive notifications about this change please update your account email address.


Programmable Messaging

New Parameters in Callbacks for Inbound WhatsApp Messages GA

HTTP callbacks (webhooks) for inbound WhatsApp messages now include new ProfileNameWaId, Forwarded, and FrequentlyForwarded parameters. The ProfileName parameter contains the WhatsApp sender's profile name and the WaId parameter contains the WhatsApp ID of the contact sending the incoming message. For messages received that have been forwarded or forwarded many times the parameters Forwarded or FrequentlyForwarded, respectively, will appear with the value true.


Programmable Voice

Twilio SIPREC now supports SRTP and Regional Edges GA

Twilio’s Programmable Voice <Siprec> TwiML instruction now supports Secure Media encryption using Secure Real-time Transport Protocol (SRTP); this allows customers to encrypt transmission of their SIPREC media stream. Additionally, you can now send traffic to your SIPREC servers from any Twilio Edge Location, which will allow for improved performance internationally.

To get started, pass `secure=true` with the Recording Server SIP URI when configuring Twilio SIPREC connector.

Example

sip:alice@example.com;secure=true


Additionally, you can also select the Twilio Edge Location to use when streaming to your SIPREC servers by specifying the ‘edge’ parameter in the Connector’s Session Recording Server SIP URI.

Example

sip:alice@example.com;edge=frankfurt


More information regarding the ‘secure’ and ‘edge’  parameters can be found in the Programmable Voice SIP documentation.


To learn more about Twilio’s <Siprec> functionality, please check the <Siprec> documentation.


Account Insights General Availability GA GA

We are excited to announce the General Availability of Account Insights for all customers in console. Account Insights offers unprecedented transparency for customers to monitor, troubleshoot, and optimize Twilio usage.     

All Twilio customers can view usage and message traffic.

For Data and Enterprise Edition customers, the GA launch enables customized multidimensional filters including sub account filtering and saving reports. The following data is available:

  • Usage: spend per usage category across the account
  • Message Delivery: How messages are delivered across carriers
  • Audit Events: For Security and Enterprise Editions customers to see what configuration or data changes were made to the account
  • Reseller: for Twilio resellers to see customer usage

Account Insights is available on the Twilio console for all customers.


We have updated all Flex projects that use Automatic Updates to Flex UI 1.24.

This release of Flex UI and WebChat UI introduces new syntax options for Chat Markdown including support for new elements (headings, ordered lists, code snippets, block quotes). To learn more about Markdown, visit our Flex docs. Markdown is currently in Beta and can be enabled for your account on the Pre-Release Features Page

For a full changelog, visit the release notes for our client libraries:

Flex UI 1.24

Flex Webchat 2.7

Reminder: You can pin to individual versions of the Flex UI or manage your Automatic Updates within the Flex Admin UI.


Programmable Voice

Changes to Call and Conference Log Availability GA

As previously communicated, starting today, February 5, 2021, you will be able to view call and conference logs in Console--and retrieve the resources via GET to the /Calls and /Conferences endpoints--for thirteen months after the resource is created. This represents a significant change as these logs are currently stored indefinitely by Twilio and retrievable via Console and API.  

We provide a Bulk Export utility in Console and via API. Bulk Export generates S3 files containing one day of data per file and delivers the download link via webhook, email, or Console. Records older than thirteen months will only be able to be retrieved via Bulk Export.

If you view logs in Console there is no follow up action, but just be aware that calls and conferences will now only display logs for the previous 13 months.

If you perform log extraction via API on a rolling basis, it is important to verify that you are pulling the logs at a frequency that will remain unaffected by this change.


Elastic SIP Trunking

Changes to Call Log Availability GA

As previously communicated, starting today, February 5, 2021, you will be able to view call logs in Console--and retrieve the resources via GET to the /Calls endpoint--for thirteen months after the resource is created. This represents a significant change as these logs are currently stored indefinitely by Twilio and retrievable via Console and API.  

We provide a Bulk Export utility in Console and via API. Bulk Export generates S3 files containing one day of data per file and delivers the download link via webhook, email, or Console. Records older than thirteen months will only be able to be retrieved via Bulk Export.

If you view logs in Console there is no follow up action, but just be aware that calls will now only display logs for the previous 13 months.

If you perform log extraction via API on a rolling basis, it is important to verify that you are pulling the logs at a frequency that will remain unaffected by this change.


We’re introducing PSTN access for Microsoft Team Direct Routing using Audiocodes SBC and Twilio Elastic SIP Trunking. This combination enables any organization using Microsoft Teams Direct Routing to connect to the PSTN via Twilio Elastic SIP Trunking. You can learn more about this solution in our blog. Also, you can find the Press Release here.

If you are interested in learning about other solutions, see our Solution Blueprints.


We now display the default version of the Twilio SDK dependency and Runtime handler included on all Builds.

You should always see Twilio and @twilio/runtime-handler in the dependencies pane if you are using the UI and build details using API. This change does not apply to Functions(Classic).

You can determine the latest version of Twilio Node helper library here or simply add the latest dependencies on your twilio functions with a * or latest. Keeping twilio helper libraries up to date enables you to take advantage of the latest Twilio product functionality.

Read more about setting dependencies on Functions here.

Screenshot 2021-01-29 at 7.15.47 AM.png

Screenshot 2021-01-29 at 7.09.30 AM.png


Twilio has completed validation of the integration between Flex and Puzzel WFM. The following features have been verified and are available for customers of Flex and Puzzel:

  • Workforce Management
    • Historical data for forecasting
    • Agent schedule creation
    • Real-time adherence


To learn more about Puzzel’s WFM capabilities and how to enable it for your application, visit our integration documentation.


Connectivity Reset for Super SIM in the Console Beta

You can now reset your Super SIM’s connectivity in the Console. This will terminate any ongoing data sessions, which should force your device to reconnect to the cellular network. This reset can resolve general connectivity issues by refreshing stale connections between your device and the network.

You can find the Reset connectivity button at the bottom of a Super SIM’s Configure view:

connectivity_reset


With Twilio Sync moving to General Availability, you have guaranteed service-level agreements for your two-way, real-time communication between browsers, mobiles, and the cloud. Use Twilio Sync to get your apps in sync with only a few lines of code away. You don't have to worry about setting up the databases, managing queues, and thinking about how to build secure apps at scale with end-to-end encryption. Sync handles all that for you.


Show more