A Signal Transfer Point (STP) is a router that relays SS7 messages between signaling end-points (SEPs) and other signaling transfer points (STPs). Typical SEPs include service switching points (SSPs) and service control points (SCPs). The STP is connected to adjacent SEPs and STPs via signaling links. Based on the address fields of the SS7 messages, the STP routes the messages to the appropriate outgoing signaling link. Edge STPs can also route based upon message body content using deep packet inspection techniques, and can provide address translations and screen content to limit the transfer of messages with dubious content or sent from unreliable sources. To meet stringent reliability requirements, STPs are typically provisioned in mated pairs.
These 'routers' are connected just by signaling links; they don't have users attached (where a user could be a mobile station (MS), a PSTN user in case of a public terrestrial network, or a piece of terminal equipment at the end of an ISDN B channel). SEPs send signaling messages to other SEPs, but the messages are normally routed via the SEP's adjacent STPs. An STP's main function is to identify the best path for two SEPs to communicate. A typical application would be for two SEPs to agree on the use of a shared data path (e.g., using ISUP to initiate a voice call between a user on one SEP and a user on the second SEP). In this way, STPs route signaling messages (for starting, maintaining or finishing any kind of calls originated by the SEPs' attached users) while avoiding disabled intermediary STPs.
A signaling message typically never goes directly from a given SEP to the destination SEP: the message would normally have to pass through the initiating SEP's adjacent STP so that it can be routed to the destination SEP. In some applications, however, SEPs might be directly connected with signaling links; this would typically be done to enhance robustness or performance between two critical SEPs. Such mesh network configurations are also common in Europe, where STPs have not found widespread deployment.