SIGNALWIRE CONNECT

Bring your own carriers to SignalWire

Enhance SignalWire in seconds with our powerful, cloud-based inbound and outbound call technology that seamlessly integrates with your voice API—with little or no dev lift.

Inbound & Outbound Voice

SignalWire can be easily enhanced with a minimum of development lift to augment your inbound and outbound voice with Commio's Bring Your Own Carrier (BYOC) solution.

After following these directions, inbound voice calls to your Commio phone numbers will route to SignalWire, and outbound calls initiated from SignalWire will route through your Commio outbound voice profile. Following these steps will also eliminate the need for hardcoding a SIP URI to route outbound calls initiated from your application to Commio, meaning no changes will be needed inside your application.

To start, open both your your SignalWire and commio.io accounts in two browser tabs. We'll move between both portals throughout these instructions.

Set Up SignalWire for Commio

In Signalwire, click SIP > SIP Settings. Leave default settings in place, then Save.

Set up SignalWire SIP Settings for Commio

Create a Domain Application

Next in SIP > Domain Apps, Click +New.

Name your app thinQBYOC, set the App URL with BYOC in the custom URL slot, then Save.

Copy the full App URL before proceeding, as you'll need it during your inbound routing profile setup inside Commio.

SignalWire set new Domain Application for Commio BYOC

SignalWire set Custom Domain for Commio BYOC

Create an Inbound Routing Profile at Commio

In commio.io > Inbound > Routing Profiles > Inbound Profiles

Click to Add a new profile, and in the pop-up, configure the name to be SignalWire-YourCompanyName or just SignalWire.

You may want to create multiple SIP Domains on SignalWire for different applications, which would allow you to create additional routing profiles. Be sure your naming system is descriptive so you recognize what it matches within SignalWire.

Set up Inbound Profile for SignalWire in commio.io

Select “DNS A” for Type and enter the full SignalWire App URL from above. Leave the sip: prefix off of the URI, it should just be the full URL.

Configuring SignalWire for Commio Outbound

In commio.io > Outbound > Trunks > Add New

Set up New Outbound Trunk for SignalWire in Commio

On the New Trunk configuration page, give it a friendly name, then choose the Profile you wish to associate your trunk with by dropping down Select Trunk Type and selecting Connect.

SignalWire Outbound Profile Selection for Commio Routing

Select SignalWire from the options, then click Save.

In commio.io > Outbound > Trunks click the Token icon next to your new SignalWire trunk. Your token and Commio Account ID information will be needed to configure the SIP URI in SignalWire. This is required for routing outbound calls from SignalWire through Commio. Copy and paste these values into a text editor or Notepad.

commio.io Token for SignalWire

Making Outbound Calls via the LaML API

In SignalWire, this method supports a long list of parameters. The relevant parameters for your SIP calls are SipAuthUsername and SipAuthPassword. The URL would support the same structure and SIP options as the LaML version.

A full example:
Require 'signalwire/sdk'
client = Signalwire::REST::Client.new 'your-project', 'your-token', signalwire_space_url: "example.signalwire.com"
call = client.calls.create(url: 'http://YOURSPACE.signalwire.com/YOUR-LAML-BIN-ID', to: ‘sip:12155551212@wap.thinq.com?X-account-id=0123&X-account-token=4567890;transport=udp?header1=foo&header2=bar', from: '+15559988777', sip_auth_username: 'user', sip_auth_password: 'pass')

Congratulations! Inbound voice calls to your Commio numbers will now route to SignalWire, and outbound calls initiated FROM SignalWire will route through Commio.

Get peace of mind

Create custom, omnichannel customer experiences. Start sending better calls & texts with Commio.

';