A non-transitory computer-readable medium encoded with a computer program, the computer program comprising computer-executable instructions that when executed by a processor causes the processor to perform operations, wherein the operations are configured to:
- in a Session Initiation Protocol (SIP)-based communications network for sending a SIP message from a first node to a third node using a second node, receive, by the second node acting as a SIP proxy, from the first node, the SIP message;
- determine, by the second node, routing information for forwarding the SIP message to the third node based on information related to the third node stored in a repository of the second node;
- generate a pivot request, which includes the routing information, to request that the first node send the SIP message directly to the third node without traversing the second node so as to reduce a load on the SIP-based communications network;
- send, by the second node, to the first node, the pivot request;
- and
- receive, by the second node, from the first node, an acknowledgement of the pivot request;
- and
- in response to the acknowledgement, terminate a SIP server transaction model instance, that was initiated by the second node responsive to receiving the SIP message, so as to refrain from remaining active in the SIP transaction.