Skip to content

Set up an SMS Channel for SIPTRUNK

A SIPTRUNK SMS channel ties a SIPTRUNK DID number to your Cloud Voice system, letting agents hold text conversations with customers right inside the Cloud Voice App. The setup runs in three stages: you generate a webhook URL in Cloud Voice, register that webhook and an API key over in SIPTRUNK, then build the channel in Cloud Voice with the SIPTRUNK credentials and number.

  • Firmware: Version 84.23.0.24 or later.
  • Domain name: The domain must contain no underscore characters. An underscore causes the channel to fail authentication or stop receiving messages, because the third-party platform rejects it.
  • Domain certificate: A valid domain certificate must be installed.
  • Telephone number: The DID number (or numbers) must be SMS/MMS capable and registered for 10DLC.

The SIPTRUNK channel carries both plain text messages and multimedia messages (MMS). Which MMS file types are accepted is set by SIPTRUNK.

LimitValue
Maximum file size100 MB
File retention period72 hours

Step 1. Get a webhook URL from Cloud Voice

Section titled “Step 1. Get a webhook URL from Cloud Voice”

You need this URL when you set up the number in SIPTRUNK, so obtain it first.

  1. Sign in to the PBX web portal and go to Messaging > Message Channel.

  2. Click Add and choose SMS.

  3. In the ITSP list, select SIPTRUNK, then copy the Webhook URL.

    Cloud Voice, ITSP set to SIPTRUNK with the webhook URL ready to copy

Sign in to the SIPTRUNK customer portal and complete the following.

  1. Note the DID number you want to add to the SMS channel.

    SIPTRUNK portal showing the DID number to use for messaging

  2. Set up a messaging webhook for that DID number.

    1. Create a webhook using the webhook URL you copied from Cloud Voice.

      Creating a webhook in SIPTRUNK with the Cloud Voice webhook URL

    2. Assign the webhook to the DID number.

      Assigning the messaging webhook to the DID number in SIPTRUNK

  3. Create an API key for the Cloud Voice integration, then note the Access Key and Secret Key.

    SIPTRUNK API key screen listing the access key and secret key

Step 3. Create and configure the SMS channel in Cloud Voice

Section titled “Step 3. Create and configure the SMS channel in Cloud Voice”

Now build the channel and fill in the credentials and number you got from SIPTRUNK.

  1. In the PBX web portal, go to Messaging > Message Channel.

  2. Click Add and choose SMS.

  3. On the Authentication tab, enter your SIPTRUNK details.

    Cloud Voice, Authentication tab for entering the SIPTRUNK access key and secret key

    • Name: A label that makes the channel easy to recognize.
    • ITSP: Select SIPTRUNK.
    • Access Key: Paste the access key from SIPTRUNK.
    • Secret Key: Paste the secret key from SIPTRUNK.
  4. On the Messaging Settings tab, configure how the channel behaves.

    1. In Message Sending Rate, set the number of messages the system may send per second.

    2. Set the session options as needed.

      SettingWhat it does
      Close Session AutomaticallySelect this to have the system end sessions that have gone quiet for a set time, then enter the number of days in Session Timeout (Days).
      Allow the Creation of Duplicate Active SessionsSelect this to let a new session start even when an active one already exists between the same sender and receiver. When an agent tries to start such a session in the Cloud Voice App, a prompt appears; if the agent continues, the existing session (with its full chat history) leaves the previous handler’s list and moves to the new agent.

      Session timeout option for automatically closing inactive conversations

    3. In the Number section, click Add to create a message routing rule.

      Rule that maps an SMS number to its inbound message destination

      • Number: Enter your provisioned number or an alphanumeric sender ID.

      • Destination for Inbound Messaging: Choose where messages to this number are delivered.

        OptionWhat it does
        ExtensionPick an extension from the Extension list. Only that extension user receives inbound messages from the number.
        Message QueuePick a queue from the Message Queue list. Every agent in the queue sees new inbound sessions, but once an agent picks up a session, only that agent receives and answers its follow-up messages.
        Third-Party Message Analytics Platform (Transmitted via API)Inbound messages are forwarded automatically to an external analytics platform over the API for further processing.
      • Extensions allowed to create messaging sessions: Select the extensions that may start a messaging conversation with customers.

    4. Click Save.

  5. Click Save.

  • The channel appears in the message channel list with a green Status indicator Channel connected, confirming it was created successfully.

    Message channel list showing the new SIPTRUNK SMS channel with a connected status

  • The system tracks how many messages the channel sends and receives. The Total column shows all sent messages, both delivered and failed.

    Message report with per-channel counts of sent and received messages

Send a text message to your channel’s phone number and confirm that the assigned agent receives it in the Cloud Voice App.