Zum Hauptinhalt springen

Infobip

Navigate to SMS Management

Add an SMS provider

  • Log into your Vodia Tenant portal.

  • Click Trunks on the left menu then SMS Management

  • Under the Providers tab click the [+ | Add] button

  • Complete the information.

  • Name: Provide a name (for your purposes)

  • Provider: Select Infobip

  • Username: Enter your Infobip base subdomain only — the unique prefix from your personal Infobip API base URL, without the .api.infobip.com part.

    For example, if your Infobip API base URL is:

    https://abc123.api.infobip.com

    then enter:

    abc123
    note

    Vodia builds the full API endpoint as https://<username>.api.infobip.com. Enter only the subdomain (e.g. abc123), not the full URL. You can find your personal base URL in the Infobip portal — consult the Infobip documentation for the exact location.

  • Password / Application Secret: Enter your Infobip API key. Vodia sends this as an App authorization header.

  • Click [Save].

Add your SMS numbers

Now you need to add your DIDs into the Numbers tab.

  • Under the section SMS Management (Trunks on the left menu then SMS Management)
  • Click the Numbers tab and click the [+ | Add] button.
  • Provide a name (for your purposes)
  • Enter your phone number in E.164 format (e.g., +12025551234).
  • Policy: If you have any policy in place, choose it. (optional)
  • Provider: Choose the provider name you have created.
  • URL prefix for receiving messages: Enter something you will use for your SMS callback URL. Eg: infobipinbound
  • Source: It could be your extension number.
  • Destination: It could be your extension number.
  • Click [Save].
note

Vodia strips the leading + from numbers when sending to Infobip and re-adds it to inbound numbers, so store your numbers in E.164 (+) format in Vodia.

Configure the Infobip inbound webhook

To receive messages, configure Infobip to forward inbound messages to your PBX. In the Infobip portal, locate the inbound configuration / forwarding settings (consult the Infobip documentation for the exact location) and set:

  • Webhook / forward URL: Your PBX URL with the prefix you specified above, for example: https://your-pbx-domain.com/infobipinbound
  • Format: JSON

Vodia expects the inbound payload as JSON with a results array. SMS text arrives as content of type TEXT; image MMS arrives as content of type IMAGE, which Vodia downloads from the supplied URL (following redirects as needed).

Outbound SMS and MMS

Outbound text is sent over the Infobip SMS channel. If a media URL is supplied, Vodia sends over the MMS channel as an IMAGE (or DOCUMENT) type. Messages are posted to https://<username>.api.infobip.com/messages-api/1/messages.

Your Infobip SMS integration is now configured and ready to use.