Tech

Text Messages

Published on:

August 26, 2013

Vodia PBX has supported email notifications since the beginning, helping administrators and users stay informed about important events. In version 5.1.1, text messaging (SMS) was introduced, initially for administrators, to enhance real-time notifications. The PBX uses HTTP-based messaging, which is simpler to set up and troubleshoot compared to SMPP. Multi-tenant environments benefit from domain-level configuration, allowing customers to manage their own SMS services. The system also includes retry mechanisms to improve reliability. Once stable, this feature will be extended to user events, further improving communication efficiency within the PBX.

The PBX supports email notifications practically from day one. Many administrators and users are using this powerful feature to stay up-do-date with events that are important to them like server restarts or voicemail messages.

In version 5.1.1 a new way to inform administrators and users has silently crept in. The good old text messaging has been added to the PBX. First only for the administrators, this new feature is testing out how the productivity can be increased by sending short messages to the administrators cell phone. Once that this has stabilized, we are ready to offer the feature also for user events.

Text messaging has its own little protocol for sending those messages. The "SMPP" (short message peer to peer) protocol is used for blasting out lots of messages. However this protocol has practical relevance only for mass text messaging with high volume. Most text messaging providers offer a HTTP-based interface as well, which simple uses a GET request with URL-encoded parameters to get the job done in a very simple way. We decided to start with the HTTP first, as it is easy to set up and troubleshoot. The PBX sends only occasional messages, so that HTTP is completely sufficient for the job. The URL can be defined on system and domain level. If defined on the domain level, only the domain administrators get notified. This is useful in multi-tenant environments where the customer has to set up and pay for the text messaging.

For example, for clickatell the following URL can be used: http://api.clickatell.com/http/sendmsg?api_id=3431425&user=vodia1234&password=tHhDHdduasJAShds&from=13434534345&mo=1&to={to-e164}&text={text}. The variable parts in the URL are encoded between curly brackets and contain the text and the destination. Other parameters like the password can be hard-coded there and are transparent to the PBX.

In order to increase the reliability of the sending process, we have also made small changes to the HTTP client subsystem. If the delivery fails, it reschedules the request again and tries again later—up to three times.

Derniers articles

Voir tous

Integrating OpenAI's Realtime API with Vodia PBX: Webinar Recording Now Available

In our recent webinar, "Integrate OpenAI’s Realtime API with Vodia PBX," we explored how integrating AI with your communication systems can revolutionize the way your business operates. From automating repetitive tasks to improving workflow efficiency, the webinar covered how the collaboration between Vodia PBX and OpenAI’s Realtime API can streamline operations, enhance collaboration - especially for Microsoft Teams users - and provide intelligent automation to stay ahead in a competitive landscape. If you missed the live session or want to revisit the insights, the recording is now available for you to access.

December 18, 2024

Unlock the Power of OpenAI’s Realtime API with Vodia PBX: Join Our Exclusive Webinar!

Join our exclusive webinar to explore how Vodia PBX seamlessly integrates with OpenAI’s Realtime API, unlocking powerful new capabilities for your communication systems. This session will showcase how AI-driven features can streamline workflows, improve operational efficiency and elevate the PBX experience for both general users and those on Microsoft Teams. Whether you’re looking to stay ahead of the competition or leverage the latest AI trends, this webinar offers practical knowledge and actionable strategies. Register now to secure your spot and take the first step toward transforming your telecom infrastructure with AI innovation!

December 4, 2024

Connecting to OpenAI Realtime API

This document details the beta version of the Vodia PBX that connects to the OpenAI realtime API, enabling users to interact with a chatbot via telephone. The backend JavaScript code facilitates the connection, handling audio input and output, and the WebSocket connection to the OpenAI API. The setup requires a Vodia PBX version 69.5.3 or higher, an API key, and a license with an IVR node. The demo can be accessed by editing the ivrnode.js template and creating an IVR node in the tenant. The system supports various VoIP devices and offers good voice quality. Future improvements include voice activity detection and the ability to take actions based on OpenAI responses.

November 26, 2024