Telestax Blog

Programmable Exchange Benefits CPaaS Providers


CPaaS has revolutionized the way we consume real-time communications services by leveraging the RESTful application programming interface (API) to eliminate the need to build the backend infrastructure.

While most CPaaS providers seem very well organized on the frontend, the backend, which makes it all happen, is more complicated. In many cases, the backend system will break as businesses scale. This is because many companies still have manual processes on functions such as wholesale market opportunity discovery, carrier relations, interconnections, rates processing, and routing. The cause for errors are often magnified with manual processes. 

The main reason for this is that most Tier 1 carriers do not offer a RESTful API on top of their wholesale offering, which makes it very tough for CPaaS providers to fully automate their wholesale business and take advantage of new technologies like artificial intelligence (AI) and machine learning (ML) in their backend wholesale operations.

The Next Stage

The next stage of CPaaS is already coming together with market leaders moving away from basic API functions to offer a wide array of services. For example, some providers now offer fully programmable contact centers, real-time intelligence solutions and turn-key two-factor authentication (2FA) service.

By now we all know how carrier connectivity for SMS and Voice can have a major effect on the CPaaS provider user experience. If a message is not delivered due to carrier connectivity issues, the client gets the impression that the CPaaS platform simply does not work as expected. I think to truly close the loop for the next evolution of CPaaS, a fully programmable wholesale exchange should be included into the mix in order to solve the long overdue QoS and delivery issues that were never solved permanently since the inception of CPaaS.

What is Programmable Wholesale Exchange?

Programmable wholesale exchange refers to communications service providers (CSPs) utilizing application programming interfaces (APIs) to automate the core actions for telecom wholesale buying and selling, such as interconnection, carrier relations, market opportunity discovery, ticket escalation, communications, traffic routing control, ratings and reviews, financial settlements for voice, SMS, and virtual numbers.

The Mission

The programmable exchange mission is to allow CSPs to automate their wholesale operations using programmable RESTful APIs, for the whole lifecycle of the wholesale telecom exchange relationship, and provide carriers with the ability to have real-time access programmatically to the voice, SMS, and virtual numbers market rates and statistics as well as a complete interconnect and billing API. This project will help CSPs make accurate decisions in real-time powered by AI or humans (optional).

The Tasks Programmable Exchange Can Automate:

  • Business case discovery
  • Interconnection completion
  • Network operation center (NOC) ticket escalation to carriers when a QoS event happens
  • Carrier relations tasks post interconnections (followups, price renegotiations, and more)
  • Rate sheets acquisition and processing (SMS, voice, DIDs)
  • Routing decisions (enable AI decision making)
  • Buying, selling route(s), phone numbers inventory
  • Billing (CDRs, SDRs, Miscs)
  • Communications and public relations
  • Target rates sheet automation
  • API enablement
  • Automatic exposure for CSPs services in the CPaaS market

Interconnection Sample:

The below API request demonstrates the http request to interconnect with TATA communications.


Once the successful response comes in, the exchange will automatically authorize the i_billing_account (your SIP/SMPP network) to use TATA communication prime routes, the exchange will also send you an email confirmation of the route purchase “interconnect” and will notify the seller e.g TATA via email that the buyer “You” has purchased the route.

The buyer will receive full rate deck to the rates department email address on file while the NOC team will receive the tech information required to provision the carrier on their core system.

NOTE: Rates and carrier tech information are also available via API for complete provisioning automation and rates import. This applies to voice, SMS, and phone numbers purchased via API.

As you can see a few lines of codes can simply automate the whole process for interconnect managers, pricing teams, and carrier relations managers. The same process that usually takes from weeks to months to complete is now achievable in a few seconds without any human involvement.

Selling DID Example

CSPs with virtual number inventory can sell their numbers on the exchange, by simply pointing them to the exchange network using SIP/SMPP protocols.

Once pointed, the CSP can upload the numbers via web interface, add single entries, or automate the whole procedure using programmable API.

The CSP is able to set billing values (monthly rate, price per minute, message, and intervals) and also set the numbers capabilities and verification documents requirements all at once.

Once done the numbers will be fed into the exchange for buyers to view and purchase immediately using intuitive web UI or programmable interface (API).

Get Involved

We would like to thank contributors like Telestax for providing us with significant support to make sure that what we’re building solves CPaaS market challenges faced today. There are many ways for CSPs to get involved, it can start by simply interconnecting your network over SIP/SMPP to the TelecomsXChange platform, the services you offer will automatically become programmable and available via API for others, such as (prices, stats, phone number inventory, interconnection, and escalation list).

You may also contribute to the project via sponsorship, code contributions, or just spreading the word around. 

If you’re interested in being a part of making telecom wholesale programmable, contact us here.

About TelecomsXChange

TelecomXChange, LLC (FCC License # ITC-214–20150519–00126) is the first open trading platform  and programmable wholesale exchange for voice, SMS, and virtual numbers carriers worldwide.

TelecomsXChange mission is to organize the world’s defragmented telecommunication industry for voice, messaging, and virtual phone numbers and make it accessible for CSPs in a programmable and non-programmable interface.

Get awesome content in your inbox every week.

Give it a try. It only takes a click to unsubscribe.