Resolving media deadlocks using stun
AssigneeCisco Technology, Inc.
InventorsIshan Zutshi, Kaustubh Inamdar
Life of this patent
Estimating the term…
Abstract
In one embodiment, a device in communication with a service provider network obtains first information regarding a first call leg of a media session associated with a first endpoint. The device also obtains second information regarding a second call leg of the media session associated with a second endpoint. Both of the first and second endpoints are anchored in the service provider network. The device makes a determination that the media session is being hairpinned, based on the first and second information. The device sends, based on the determination, an indication message using Session Traversal Utilities for Network Address Translators (STUN) along the first call leg that causes the first endpoint to begin sending a flow of media packets.
Claims18
A method comprising:
- receiving, by a device in communication with a service provider network, a first message comprising first information regarding a first call leg of a media session associated with a first endpoint, wherein the first information comprises an IP address and a port number associated with the first call leg;
- after receiving the first message, receiving, by the device, a second message comprising second information regarding a second call leg of the media session associated with a second endpoint, wherein the second information comprises an IP address and a port number associated with the second call leg, and wherein the first endpoint and the second endpoint are both anchored in the service provider network;
- making, by the device and based on the first information and on the second information, a determination that the media session is being hairpinned;
- and
- sending, by the device and based on the determination, a Session Traversal Utilities for Network Address Translators (STUN) indication message along the first call leg that causes the first endpoint to begin sending a flow of media packets toward the second endpoint and via the device, wherein the STUN indication message includes a media address, a port, and a Session Initiation Protocol (SIP) call-ID associated with the second call leg.
An apparatus, comprising:
- one or more network interfaces to communicate with a service provider network;
- a processor coupled to the one or more network interfaces;
- and
- a memory configured to store a process that is executable by the processor, the process when executed configured to:
- receive a first message comprising first information regarding a first call leg of a media session associated with a first endpoint, wherein the first information comprises an IP address and a port number associated with the first call leg;
- after receiving the first message, receive a second message comprising second information regarding a second call leg of the media session associated with a second endpoint, wherein the second information comprises an IP address and a port number associated with the second call leg, and wherein the first endpoint and the second endpoint are both anchored in the service provider network;
- make, based on the first information and on the second information, a determination that the media session is being hairpinned;
- and
- send, based on the determination, a Session Traversal Utilities for Network Address Translators (STUN) indication message along the first call leg that causes the first endpoint to begin sending a flow of media packets toward the second endpoint and via the device, wherein the STUN indication message includes a media address, a port, and a Session Initiation Protocol (SIP) call-ID associated with the second call leg.
A method comprising:
- obtaining, by a device in communication with a service provider network, first information regarding a first call leg of a media session associated with a first endpoint;
- obtaining, by the device, second information regarding a second call leg of the media session associated with a second endpoint, wherein the first endpoint and the second endpoint are both anchored in the service provider network;
- making, by the device and based on the first information and on the second information, a determination that the media session is being hairpinned;
- sending, by the device and based on the determination, a Session Traversal Utilities for Network Address Translators (STUN) indication message along the first call leg that causes the first endpoint to begin sending a flow of media packets, wherein the STUN indication message includes a media address, a port, and a Session Initiation Protocol (SIP) call-ID associated with the second call leg;
- receiving, at the device and from the service provider network, a password associated with the media session;
- generating a hash based in part on the password;
- and
- sending the hash to the service provider network, wherein the hash is used by the service provider network to verify that the first call leg and the second call leg are for a shared media session.
Dependencies are inferred from the claim text.