Methods, systems, and computer readable media for generating and using statelessly reversible representations of session initiation protocol (SIP) information by SIP cluster entities

Information

  • Patent Grant
  • 8321592
  • Patent Number
    8,321,592
  • Date Filed
    Monday, December 14, 2009
    14 years ago
  • Date Issued
    Tuesday, November 27, 2012
    12 years ago
Abstract
The subject matter described herein relates to methods, systems, and computer readable media for generating and using statelessly reversible representations of SIP information by SIP cluster entities. One method includes, at a first SIP cluster entity, receiving a first SIP message including SIP information. The method further includes generating a second SIP message including a statelessly reversible representation of the SIP information. The method further includes transmitting, to a SIP entity that is not a member of the cluster to which the first SIP entity belongs, the second SIP message with the statelessly reversible representation and information for reaching the cluster.
Description
TECHNICAL FIELD

The subject matter described herein relates to the mapping of SIP information. More particularly, the subject matter described herein relates to methods, systems, and computer readable media for generating and using statelessly reversible representations of session initiation protocol (SIP) information by SIP cluster entities.


BACKGROUND

In many SIP contexts, it may be desirable to map SIP information, such as information in the contact header field, the via header field, the record route header field, the call id header field, the path header field, the service route header field, the to header field, the from header field, the referred to header field, or the referred by header field of a SIP message, from its original representation to another representation. For instance, in the SIP registration contexts, an originating SIP user agent client generates a registration message with a contact header field that contains an address at which the user agent client sending the registration message (for first party registration) desires to be reached. For example, a user may have an address of record of SIPuser1@XYZcorp.com. SIPuser1@XYZcorp.com is the address of record and would be included in the “To” and “From” header fields of a registration message sent by SIPuser1. The contact address header field for SIPuser1 may contain an IP address at which the user desires to be contacted for this registration context. The register message is sent to a registrar, which stores a mapping between the address of record and the contact address. It may be desirable to map the contact address to another value so that the contact address will not be visible in the SIP registration message and subsequent SIP signaling.


Some network operators may utilize gateway nodes, such as session border controllers, to map the information stored in a contact address header field of a register message to another value for security or privacy purposes. Continuing with the example above, the original register message with the contact address may be sent from a user agent client to a session border controller. The session border controller may map the IP address in the contact address header field to another value, for example, to maintain privacy of the IP address. The session border controller stores the mapping between the IP address and its translated value in a database entry for registration context, thus maintaining state information for the registration context. The session border controller then sends the modified register message to the registrar, which stores the mapping between the modified contact header field information and the address of record. The translated contact header field information maintained by the registrar is not statelessly reversible because the stored state information maintained by the session border controller must be accessed to determine the original contact information.


One problem with having session border controllers maintain stateful mappings between contact address information and mappings of that information is that the mappings must be shared when session border controllers or other SIP nodes are operated as a cluster. For example, it may be desirable to have a cluster of session border controllers that function as active-standby or load sharing entities for each other. In such a cluster, it is necessary to synchronize the stateful mappings of SIP information between the cluster entities. In one example where a cluster node that stores a stateful mapping fails and is replaced by standby cluster node, the standby cluster node must have a copy of the stateful mapping information stored by the first cluster node for a registration or other context. If the standby cluster node does not obtain the stateful mapping information before the active cluster node fails, the standby cluster node will not be able to map the SIP information to its original value. As a result transactions requiring the stateful mapping will fail. Requiring cluster nodes to synchronize stateful routing address mappings with each other consumes cluster node resources and network bandwidth.


Accordingly, there exists a need for methods, systems, and computer readable media for generating and using statelessly reversible representations of SIP information by SIP cluster entities.


SUMMARY

The subject matter described herein relates to methods, systems, and computer readable media for generating and using statelessly reversible representations of SIP information by SIP cluster entities. One method includes, at a first SIP cluster entity, receiving a first SIP message including SIP information. The method further includes generating a second SIP message including a statelessly reversible representation of the SIP information. The method further includes transmitting, to a SIP entity that is not a member of the cluster to which the first SIP entity belongs, the second SIP message with the statelessly reversible representation and information for reaching the cluster.


The subject matter described herein for generating and using statelessly reversible representations of SIP information by SIP cluster entities can be implemented using a non-transitory computer readable medium having stored thereon instructions that when executed by a processor of a computer control the computer to perform steps. Exemplary computer readable media suitable for implementing the subject matter described herein include chip memory devices or disk memory devices accessible by a processor, programmable logic devices, and application specific integrated circuits. In addition, a computer readable medium that implements the subject matter described herein may be located on a single computing platform or may be distributed across plural computing platforms.





BRIEF DESCRIPTION OF THE DRAWINGS

Preferred embodiments of the subject matter described herein will now be explained with reference to the accompanying drawings of which:



FIG. 1 is a message flow diagram illustrating a method for generating and using a statelessly reversible representation of SIP information by a SIP cluster entity in a registration context according to an embodiment of the subject matter described herein;



FIG. 2 is a message flow diagram illustrating the use of the statelessly reversible representation generated by the SIP cluster entity in FIG. 1 by a second SIP cluster entity when the first SIP cluster entity fails according to an embodiment of the subject matter described herein;



FIG. 3 is a message flow diagram illustrating the generation of statelessly reversible representations of SIP record route, via, and contact header field information by SIP cluster entities according to an embodiment of the subject matter described herein;



FIG. 4 is a message flow diagram illustrating use of the statelessly reversible representations generated by the SIP cluster entity in FIG. 3 at a SIP cluster entity that functions as a standby or load sharing entity for the SIP cluster entity illustrated in FIG. 3 according to an embodiment of the subject matter described herein; and



FIG. 5 is a block diagram illustrating an exemplary SIP cluster entity according to an embodiment of the subject matter described herein.





DETAILED DESCRIPTION

The subject matter described herein includes methods, systems, and computer readable media for generating and using statelessly reversible representations of SIP information by SIP cluster entities. In one example, a statelessly reversible representation may be generated and used by SIP cluster entities in a SIP registration context. FIG. 1 is a message flow diagram illustrating a method for generating and using a statelessly reversible representation of SIP information by a SIP cluster entity in a registration context according to an embodiment of the subject matter described herein. Referring to FIG. 1, a SIP user agent client (UAC) 100 may desire to register its contact information with a SIP registrar 102. The network in which registrar 102 resides may include SIP proxies 104 and 106 that form a cluster. SIP proxies 104 and 106 may operate as active-standby entities for each other or may function in a load sharing manner. In addition, although two SIP proxies are illustrated, it is understood that more than two SIP proxies may form the cluster. Further, although the SIP cluster entities illustrated in FIG. 1 are SIP proxies, the methods and systems described herein for generating and using statelessly reversible mappings of SIP information may be implemented by any suitable cluster nodes, including session border controllers and other types of back-to-back user agents, without departing from the scope of the subject matter described herein.


Referring to line 1 of the message flow diagram, user agent client 100 sends a SIP register message to SIP proxy 104. The SIP register message includes the address of record of the user agent and a contact header field that specifies an address at which the user agent client desires to be contacted for this registration context. The contact address information is shown symbolically by A in FIG. 1. In an actual register message, the contact address may be an IP address or a domain name at which UAC 100 desires to be contacted. In line 2 of the message flow diagram, SIP proxy 104 generates a statelessly reversible representation of the contact address information A and inserts the statelessly reversible representation of the contact address information in the contact header field of a second register message. SIP proxy 104 transmits the second register message to registrar 102, which is not a member of the cluster of SIP proxies 104 and 106. It should be noted that SIP proxy 104 does not store a mapping between the original contact header field information and the statelessly reversible representation of the contact header field information or communicate such a mapping to other cluster nodes, such as SIP proxy 106. Instead, the statelessly reversible representation is algorithmically reversible by SIP proxy 106 into the original contact information without storing any state information regarding the original contact header field information or the registration context. The statelessly reversible representation may include a plaintext version of at least a portion of the original contact header field information, an encrypted version of at least a portion of the original contact header field information, or a combination of plaintext and encrypted portions of the original contact header field information. The following two examples illustrate SIP register messages before and after the mapping.

    • BEFORE: REGISTER sip:reg.example.com SIP/2.0 Contact: sip:line1@192.168.1.17
    • AFTER: REGISTER sip:reg.example.com SIP/2.0 Contact:sipline1%40192.168.1.17@proxy.example.com


      In the register message examples above, the original contact header field information is sipline1@192.168.1.17, which is a URI containing an IP address. The statelessly reversible representation of the original contact header field information is sipline1%40192.168.1.17@proxy.example.com. The portion of the mapped information % 40 is an escape sequence that replaces the first @ symbol in the statelessly reversible representation of the original contact header field. The portion proxy.example.com ensures that any further information relating to the SIP register message will be delivered to the same cluster as the originating SIP proxy or session border controller.


In another example, the contact information may be encrypted. Any suitable encryption algorithm may be used. In one example, proxies 104 and 106 may use a symmetric encryption algorithm where proxies 104 and 106 share a private key. In an alternate example, proxies 104 and 106 may use an asymmetric or public key encryption algorithm.


When registrar 102 receives the register message, registrar 102 stores a mapping in the registration database between the address of record for the user agent client and the statelessly reversible representation of the contact header field information. In line 3 of the message flow diagram, registrar 102 sends a 200 ok message to proxy 104 including the statelessly reversible representation of the contact header field information as the contact header field. In line 4 of the message flow diagram, proxy 104 algorithmically reverses the statelessly reversible mapping of the contact header field information to the original contact header field information and sends a 200 ok message to user agent client 100.


Because a statelessly reversible representation of the contact header field information is generated and used by the SIP cluster entities, if proxy 104 fails or is not included in the path of a subsequent message relating to the same registration context, proxy 106 or other cluster entity may algorithmically generate the original contact header field information.



FIG. 2 is message flow diagram illustrating use of the statelessly reversible representation of the contact header field information generated in



FIG. 1. Referring to FIG. 2, in line 1 of the message flow diagram, registrar 102 receives an invite message to the address of record of user agent client 100. Registrar 102 performs a lookup in its registration database and determines that the address registered for the address of record is B, which is the statelessly reversible representation of the original contact header field information. Registrar 102 sends an invite message with B in the to field to the cluster corresponding to proxies 104 and 106. In this example it is assumed that proxy 106 receives the invite message. It should be noted that proxy 106 does not store any state information regarding the original registration context or the original contact header field information.


In line 3 of the message flow diagram, proxy 106 algorithmically converts B to the original contact header field information by performing the reverse of the original mapping operation and removing the cluster information. Continuing with the example above, proxy 106 may replace SIP:line1%40192.168.1.17@proxy.example.com in the contact header field with SIP:line1@192.168.1.17. Proxy 106 sends the invite message with the original contact header field information in the to header field to user agent client 100. If encryption is used to generate the statelessly reversible representation of the contact header field information, proxy 106 may generate the original contact header field information by performing a decryption operation that reverses the encryption information. Further, as in the non-encrypted case proxy 106 may remove any information for reaching the cluster to which proxy 106 belongs from the contact header field.


The subject matter described herein is not limited to generating and using statelessly reversible representations of SIP contact header field information in a registration context. The statelessly reversible representations may be generated and used by any SIP cluster nodes to avoid the need for synchronization between cluster nodes in a variety of SIP contexts. For example, for topology hiding, it may be desirable to collapse or stateless reversibly map a via header field, a record route header field, a call id header field, a path header field, a service route header field, a to header field, a from header field, a referred to header field, a referred by header field, or any other field of the SIP message that contains SIP information that an operator may wish to obscure. FIG. 3 is a message flow diagram illustrating the generation and use of statelessly reversible representations of contact, via, and record route header fields in a SIP message. Referring to FIG. 3, in line 1 of the message flow diagram, user agent client 100 sends an invite message to initiate a dialogue with a called party. For simplicity of illustration, only the contact and via header fields are shown in the message. In the illustrated example, the original value of the contact header field is A and the original value of the via header field A1.


In line 2 of the message flow diagram, proxy 104 receives the invite message adds its via information to the via header field, and starts a record route header field with its address information. In line 3 of the message flow diagram, proxy 106 adds its information to the via and record route header fields and sends an invite message to session border controller 300. In this example, it is assumed that session border controller 300 operates at an administrative boundary between different networks and that it is desirable for session border controller 300 to take steps to hide topology information present in outbound messages being transmitted from the network of session border controller 300 to other networks. Accordingly, session border controller 300 generates statelessly reversible representations of the contact via, and record route header fields and sends the invite message to another service provider's network. The statelessly reversible representations are illustrated in FIG. 3 by B( ), where B( ) is the statelessly reversible representation generation function and the variable in the parenthesis (A, A1, P1, or P2) is the content for which the statelessly reversible representation is being generated. A second session border controller 302 that may function as a cluster entity with session border controller 300 does not receive the statelessly reversible representations or the original information. The stateless reversible mapping technique used by SBCs 300 and 302 may be any of the techniques described above. The result of the statelessly reversible representations generated in FIG. 3 is topology hiding without requiring that cluster entities store state information regarding the original values or synchronize with each other. It should also be understood that the stateless reversible mappings may be performed on individual fields within each header field, e.g., individually on A1, P1, and P2 in the via header field in line 4 or may be performed on the fields in each header field as a combination. For example, the statelessly reversible representation for an original via header field with individual field values of A, P1, P2 may be B(A), B(P1), B(P2) or B(AP1P2), where AP1P2 is the concatenation of the individual via header field values.



FIG. 4 is a message flow diagram illustrating use of the statelessly reversible representation of the contact header field information generated in FIG. 3. Referring to FIG. 4, in line 1, SBC 302 receives an invite message containing B(A) as the contact header field information. In line 2, session border controller 302 applies the inverse of the statelessly reversible representation generation function to convert B(A) to A, the original contact header field information. SBC 302 sends the invite message with the original contact header field information to user agent client 100 in lines 2, 3, and 4.


As stated above, the subject matter described herein may be implemented at any SIP entity that functions as a cluster entity with other SIP entities. FIG. 5 is a block diagram of an exemplary architecture of a SIP cluster entity for generating and using statelessly reversible mappings of SIP information according to an embodiment of the subject matter described herein. Referring to FIG. 5, SIP cluster entity 500 may be any type SIP entity capable of operating in a cluster with other SIP entities, including a proxy 104 or 106, a session border controller 300 or 302, or any other type of cluster entity. Referring to FIG. 5, SIP cluster entity 500 may include a SIP receive module 502 for receiving SIP messages including SIP information. SIP cluster entity 500 may further include a stateless reversible mapping module 504 for generating statelessly reversible representations of the SIP information in some SIP messages and for generating original SIP information from statelessly reversible representations in other SIP messages. Whether to generate or reverse a mapping depends on the message type and the origin and destination of a message. For example, for the register message illustrated in FIG. 1, module 504 may perform a forward mapping of the contact header field information to a statelessly reversible representation thereof. For the invite message received in line 2 of FIG. 2, module 504 may perform a reverse or inverse mapping of the contact header field information to its original representation. SIP cluster entity 500 may include a SIP transmit module 506 for transmitting SIP messages with the stateless reversible mappings to other network nodes. As stated above, SIP cluster entity 500 may be any suitable SIP entity, such as a proxy, a session border controller, or a back-to-back user agent.


It will be understood that various details of the presently disclosed subject matter may be changed without departing from the scope of the presently disclosed subject matter. Furthermore, the foregoing description is for the purpose of illustration only, and not for the purpose of limitation.

Claims
  • 1. A method for generating and using statelessly reversible representations of session initiation protocol (SIP) information by SIP cluster entities, the method comprising: at a first SIP cluster entity including one or more processors, wherein the first SIP cluster entity comprises at least one of: a session border controller (SBC), a SIP proxy, and a back-to-back user agent: receiving a first SIP message including SIP information, wherein the SIP information comprises information stored in one of a via header field, a record route header field, a call id field, a path field, a service route header field, a to field, a from field, a referred to field, and a referred by field of the first SIP message;generating, in response to the first SIP message, a second SIP message including a statelessly reversible representation of the SIP information, wherein the statelessly reversible representation of the SIP information includes a representation that is algorithmically reversible by a second SIP cluster entity without storing state information for a SIP context to which the first SIP message belongs; andtransmitting, to a SIP entity that is not a member of the cluster to which the first SIP cluster entity belongs, the second SIP message with the statelessly reversible representation and information for reaching the cluster.
  • 2. The method of claim 1 wherein the first SIP message comprises a registration message, the SIP information includes information contained in a SIP contact header field of the registration message, and the SIP entity that is not a member of the cluster comprises a SIP registrar including a registration database.
  • 3. The method of claim 2 wherein the SIP registrar maintains in its registration database, a mapping between the address of record of a SIP user agent client and the statelessly reversible mapping generated by the first SIP cluster entity.
  • 4. The method of claim 3 comprising: at the SIP registrar: receiving a first invite message for the address of record of the SIP user agent client;formulating, in response to the first invite message, a second invite message for the statelessly reversible representation contained in the registration database and transmitting the second invite message to the cluster to which the first SIP cluster entity belongs;at a second SIP cluster entity in the cluster: receiving the second invite message and translating the statelessly reversible representation in the second invite message to the SIP information; andformulating a third invite message including the SIP information and forwarding the third invite message to the SIP user agent client.
  • 5. The method of claim 4 wherein the second SIP cluster entity comprises one of a standby and a load sharing entity for the first SIP cluster entity.
  • 6. The method of claim 1 wherein the first SIP message comprises an invite message.
  • 7. The method of claim 1 wherein the statelessly reversible representation includes a plaintext version of at least a portion of the SIP information.
  • 8. The method of claim 1 wherein the statelessly reversible representation includes an encrypted version of at least a portion of the SIP information.
  • 9. A system for generating and using a statelessly reversible representation of SIP information by SIP cluster entities, the system comprising: a first SIP cluster entity having one or more processors, wherein the first SIP cluster entity comprises at least one of: a session border controller (SBC), a SIP proxy, and a back-to-back user agent, the first SIP cluster entity including: receive instructions executable by the one or more processors for receiving the first SIP message including SIP information, wherein the SIP information comprises information stored in one of a via header field, a record route header field, a call id field, a path field, a service route header field, a to field, a from field, a referred to field, and a referred by field of the first SIP message;stateless reversible mapping instructions executable by the one or more processors for generating a second SIP message including a statelessly reversible representation of the SIP information, wherein the statelessly reversible representation of the SIP information includes a representation that is algorithmically reversible by a second SIP cluster entity without storing state information for a SIP context to which the first SIP message belongs; andtransmit instructions executable by the one or more processors for transmitting, to a SIP entity that is not a member of the cluster to which the first SIP entity belongs, the second SIP message with the statelessly reversible representation and information for reaching the cluster.
  • 10. The system of claim 9 wherein the first SIP message comprises a registration message, the SIP information includes information contained in a SIP contact header field of the registration message and the SIP entity that is not a member of the cluster comprises a SIP registrar having a registration database.
  • 11. The system of claim 10 wherein the SIP registrar maintains in its registration database, a mapping between the address of record of a SIP user agent client and the statelessly reversible representation generated by the first SIP cluster entity.
  • 12. The system of claim 11 wherein the SIP registrar: receives a first invite message for the address of record of the SIP user agent client; andformulates, in response to the first invite message, a second invite message for the statelessly reversible representation contained in the registration database and transmits the second invite message to the cluster to which the first SIP cluster entity belongs; and wherein the system further comprises a second SIP cluster entity in the cluster that:receives the second invite message and translates the statelessly reversible representation in the second invite message to the contact header field information; andformulates a third invite message including the contact header field information and forwards the third invite message to the SIP user agent client.
  • 13. The system of claim 12 wherein the second SIP cluster entity comprises one of a standby and a load sharing entity for the first SIP cluster entity.
  • 14. The system of claim 9 wherein the first SIP message comprises an invite message.
  • 15. The system of claim 9 wherein the statelessly reversible representation includes a plaintext version of at least a portion of the SIP information.
  • 16. The system of claim 9 wherein the statelessly reversible representation includes an encrypted version of at least a portion of the SIP information.
  • 17. A non-transitory computer readable medium having stored thereon executable instructions that when executed by the processor of a computer performed steps at a first SIP cluster entity, wherein the first SIP cluster entity comprises at least one of: a session border controller (SBC), a SIP proxy, and a back-to-back user agent: receiving a first SIP message including SIP information, wherein the SIP information comprises information stored in one of a via header field, a record route header field, a call id field, a path field, a service route header field, a to field, a from field, a referred to field, and a referred by field of the first SIP message;generating, in response to the first SIP message, a second SIP message including a statelessly reversible representation of the SIP information, wherein the statelessly reversible representation of the SIP information includes a representation that is algorithmically reversible by a second SIP cluster entity without storing state information for a SIP context to which the first SIP message belongs; andtransmitting, to a SIP entity that is not a member of the cluster to which the first SIP entity belongs the second SIP message with the statelessly reversible representation and information for reaching the cluster.
PRIORITY CLAIM

This application claims the benefit of U.S. Provisional Patent Application Ser. No. 61/122,255, filed Dec. 12, 2008; the disclosure of which is incorporated herein by reference in its entirety.

US Referenced Citations (21)
Number Name Date Kind
6992974 Tripathi Jan 2006 B1
8095681 Yumoto et al. Jan 2012 B2
20040095932 Astarabadi et al. May 2004 A1
20050135335 Hession et al. Jun 2005 A1
20050147087 Sternagle Jul 2005 A1
20050210292 Adams et al. Sep 2005 A1
20060098577 MeLampy et al. May 2006 A1
20060242300 Yumoto et al. Oct 2006 A1
20070022289 Alt et al. Jan 2007 A1
20070109979 Fu et al. May 2007 A1
20070115806 Onorato et al. May 2007 A1
20070153813 Terpstra et al. Jul 2007 A1
20070156909 Osborn et al. Jul 2007 A1
20080069065 Wu et al. Mar 2008 A1
20080092224 Coulas et al. Apr 2008 A1
20080108348 Kottilingal et al. May 2008 A1
20080222724 Ormazabal et al. Sep 2008 A1
20080235381 Tanizawa et al. Sep 2008 A1
20090016495 Malas et al. Jan 2009 A1
20090092131 Hu et al. Apr 2009 A1
20090177784 Olson et al. Jul 2009 A1
Foreign Referenced Citations (2)
Number Date Country
1 962 464 Aug 2008 EP
WO 2010068948 Jun 2010 WO
Related Publications (1)
Number Date Country
20100174821 A1 Jul 2010 US
Provisional Applications (1)
Number Date Country
61122255 Dec 2008 US