Video intercom communication for VOIP device
A first invite message is received from an intercom device to establish an audio call with a voice over internet protocol (VOIP) device. A second invite message is transmitted to the VOIP device in response to receiving the first invite message. The second invite message indicates the first invite message from the intercom device to establish the audio call. The audio call is elevated to a video call based on a determination that the intercom device and the VOIP device have video capability. A third invite message is transmitted to the intercom device that indicates elevation of the audio call to a video call. Video data is received from the intercom device and forwarded to the VOIP device.
1 . A method, comprising:
receiving a first session initiation protocol (SIP) invite message from an intercom device to establish an audio call with a voice over internet protocol (VOIP) device;
transmitting, to the VOIP device, a second SIP invite message that indicates the first SIP invite message from the intercom device;
determining whether each of the intercom device and the VOIP device have video capability, wherein determining whether each of the intercom device and the VOIP device have video capability comprises:
obtaining a video intercom device capability field from the first SIP invite message and a VOIP device capability field from an accept message received from the VOIP device, and
determining based on the video intercom device capability field and the VOIP device capability field, whether the intercom device and the VOIP device each have video capability;
elevating the audio call to a video call based on a determination that both the intercom device and the VOIP device have video capability, wherein elevating the audio call to the video call includes bypassing a backend server and routing video data directly to a session border controller (SBC) of a cloud private branch exchange (PBX) system;
transmitting a third SIP invite message that indicates elevation of the audio call to the video call; and
forwarding video data received from the intercom device to the VOIP device, wherein the video data is sent via the SBC using a secure real-time protocol (SRTP).
2 . The method of claim 1 , wherein the video data is based on a secure real-time protocol.
3 . The method of claim 1 , further comprising:
performing a real-time protocol negotiation with the VOIP device prior to forwarding the video data.
4 . The method of claim 1 , wherein the first SIP invite message includes one or more capabilities of the intercom device.
5 . The method of claim 1 , further comprising:
receiving an accept message from the VOIP device responsive to the second SIP invite message.
6 . The method of claim 5 , wherein the accept message includes one or more capabilities of the VOIP device.
7 . The method of claim 6 , wherein determining whether each of the intercom device and the VOIP device have video capability is based on a first indicator in the first SIP invite message and a second indicator in the accept message.
8 . A system, comprising:
a session border controller (SBC) configured to:
receive a first session initiation protocol (SIP) invite message from an intercom device to establish an audio call with a voice over internet protocol (VOIP) device;
transmit, to the VOIP device, a second SIP invite message that indicates the first SIP invite message from the intercom device;
determine whether each of the intercom device and the VOIP device have video capability, wherein the SBC is configured to:
obtain a video intercom device capability field from the first SIP invite message and a VOIP device capability field from an accept message received from the VOIP device, and
determine based on the video intercom device capability field and the VOIP device capability field whether the intercom device and the VOIP device each have video capability;
elevate the audio call to a video call based on a determination that both the intercom device and the VOIP device have video capability, wherein elevation of the audio call to the video call bypasses a background server and routes video data directly to an SBC of a cloud private branch exchange (PBX) system;
transmit a third SIP invite message that indicates elevation of the audio call to the video call; and
forward video data received from the intercom device to the VOIP device, wherein the video data is sent via the SBC using a secure real-time protocol (SRTP).
9 . The system of claim 8 , wherein the video data is based on a real-time protocol.
10 . The system of claim 8 , wherein the SBC is further configured to perform a protocol negotiation with the VOIP device prior to forwarding the video data.
11 . The system of claim 8 , wherein the first SIP invite message includes an indicator of a video capability of the intercom device.
12 . The system of claim 8 , further comprising:
a server configured to receive an accept message from the VOIP device responsive to the second SIP invite message.
13 . The system of claim 12 , wherein the accept message includes a video capability of the VOIP device.
14 . The system of claim 8 , wherein the SBC is configured to determine whether each of the intercom device and the VOIP device have video capability based on data obtained from a look up table.
15 . A non-transitory computer-readable medium comprising instructions that when executed by one or more processors, causes the one or more processors to perform operations comprising:
receiving a first session initiation protocol (SIP) invite message from an intercom device to establish an audio call with a voice over internet protocol (VOIP) device;
transmitting, to the VOIP device, a second SIP invite message that indicates the first SIP invite message from the intercom device;
determining whether each of the intercom device and the VOIP device have video capability, wherein determining whether each of the intercom device and the VOIP device have video capability comprises:
obtaining a video intercom device capability field from the first SIP invite message and a VOIP device capability field from an accept message received from the VOIP device, and
determining based on the video intercom device capability field and the VOIP device capability field, whether the intercom device and the VOIP device each have video capability;
elevating the audio call to a video call based on a determination that both the intercom device and the VOIP device have video capability, wherein elevating the audio call to the video call includes bypassing a backend server and routing video data directly to a session border controller (SBC) of a cloud private branch exchange (PBX) system;
transmitting a third SIP invite message that indicates elevation of the audio call to the video call; and
forwarding video data received from the intercom device to the VOIP device, wherein the video data is sent via the SBC using a secure real-time protocol (SRTP).
16 . The non-transitory computer-readable medium of claim 15 , wherein the first SIP invite message includes one or more of an intercom device identifier (ID) field, an intercom device address field, an intercom device capability field, a SIP invite message indicator field, a VOIP device ID field, a VOIP device address field, or a call type field.
17 . The non-transitory computer-readable medium of claim 15 , wherein the second SIP invite message includes one or more of an intercom device identifier (ID) field, an intercom device address field, a SIP invite message indicator field, a VOIP device ID field, a VOIP device address field, or a call type field.
18 . The non-transitory computer-readable medium of claim 15 , further comprising:
receiving an accept message from the VOIP device responsive to an input.
19 . The non-transitory computer-readable medium of claim 18 , wherein the input is a touch input, a gesture input, a keyboard input, a mouse input, or an input associated with picking up a receiver of the VOIP device.
20 . The non-transitory computer-readable medium of claim 18 , wherein the accept message includes one or more capabilities of the VOIP device.