Tech

Presence in, Presence out

Published on:

November 19, 2012

In PBX terms, presence typically indicates if someone is on the phone or unavailable. With snom ONE version 5.0.2, we’ve enhanced presence functionality by making it so the PBX shows when a user is on the phone, even if the user is on an external device like a mobile phone. This is achieved via an HTTP request to the PBX from the mobile service provider, which updates presence status without the necessity of complex SIP configurations. The system can track call duration and reset the status after a call ends. Additionally, the PBX can relay presence updates to connected platforms like Microsoft Lync.

In PBX terms, presence is a glorified term for “someone is on the phone” and, possibly, “someone doesn't want to be disturbed”. We already talked about how snom ONE publishes the presence state changes to Microsoft Lync when that person is on the phone.

With the 5.0.2 version, we started adding in the other direction: When someone talks on the phone without using the PBX, the PBX can still show the other users in the office users this person is on the phone. For example, when someone is on his or her mobile phone, either the phone or the phone provider can send that status information to the PBX. I have learned that in Scandinavian countries some mobile phone providers support this kind of update of presence information.

Instead of going a complicated SIP route, we just added that feature into the HTTP part of the PBX. All the service provider needs to do is to open an HTTP request to a predefined URI that looks like this:

https://pbx/call_state.htm?domain=abc.com&user=123&password=secret&number=12345678

The PBX will assume the user is busy talking to 12345678. When the call is over, the service provider is supposed to make another request:

https://pbx/call_state.htm?domain=abc.com&user=123&password=secret

The absence of the number parameter tells the PBX there is no phone call going on. Right now, the PBX doesn't populate the number to anybody else, nor does it poplulate the internal numbers. The URI may contain a parameter, “expires”, that tells the PBX for how long the extension is in a call, unless it explicitly clears the state with the empty number. The default value for this parameter is the maximum call duration on the system, which is usually two hours. This makes sure the status of the extensions gets cleared eventually, even if the service provider misses the clear update.

This works from the cell phone service provider, but it would also work directly from a cell phone. For example, if someone has an Android app that's watching the call state of the phone, it could easily update the PBX call state with this little application.

The other interesting note is the PBX can also combine incoming presence updates with outgoing presence updates. For example, if the cell phone provider sends the information to the PBX, the PBX could then relay the information to the connected Microsoft Lync account.

This is the beginning of the journey. We have to see what other services support presence information. For example, I can think about IBM sametime or the Google plus and Facebook networks. Hopefully they just use some simple HTTP-based API. This would make it a lot easier for us to get this done in one of the next releases.

If someone out there has a wish as to what presence network we should address next, let us know. Feedback is always welcome.

Latest Articles

View All

The Vodia PBX and the OpenAI Realtime API for Healthcare

OpenAI’s Realtime API brings low-latency, multimodal voice capabilities to developers, and Vodia PBX is already harnessing its power. By enhancing IVR with backend JavaScript, Vodia enables real-time AI-driven call interactions, eliminating the need for patterns or webhooks. This integration has a significant impact on healthcare, enabling patients to book or cancel appointments, refill prescriptions, request records, and more, all without speaking to staff, and in multiple languages. This reduces wait times and frees up medical staff to focus on in-person care. With full Microsoft Teams support, the Vodia PBX and OpenAI Realtime API integration streamlines healthcare workflows, boosting efficiency and improving patient outcomes through intelligent, voice-powered automation.

April 24, 2025

How the Hospitality Industry Can Exceed Guest Expectations

As hotels prepare for the upcoming travel season, many are rethinking their communication systems to better meet modern guest expectations. Vodia CEO Dr. Christian Stredicke explains how VoIP, AI, and app-based control are key to delivering smarter, more personalized service. Guests now expect mobile-first experiences—whether for check-in, room controls, or contacting hotel staff. Vodia’s customizable communication solutions help hotels automate tasks, streamline operations, and boost guest comfort while reducing costs. With robust security and seamless integration into existing hotel management systems, Vodia enables hotels to move beyond outdated hardware and deliver the connected, high-quality experience today’s travelers demand.

April 23, 2025

Seatrade Cruise Global 2025: Communications Revolution Onboard - What Cruise Experts Need to Know

At Seatrade’s 40th anniversary, Vodia and Lufthansa Industry Solutions showcased the Vodia Maritime Communication Server and the new CruisR World App—purpose-built for next-generation cruise ships and cost-effective retrofits. Key themes at the event included AI-powered language translation, breakthrough satellite connectivity, UC platforms, and advanced emergency protocols. These innovations enable cruise lines to streamline operations, personalize guest experiences, and meet growing expectations for safety and connectivity. As the cruise industry evolves, Vodia’s solutions position communication teams to lead with smarter, more human-centric technology at sea.

April 23, 2025