information and using the dynamically learned foreign mobility management node information to automatically populate a security database that contains the identities of the dynamically learned nodes and classifies the dynamically learned node identities as blacklisted, whitelisted, or graylisted. The dynamically learned node identities can change in security status depending on results of validation testing. Figure 1 is a block diagram illustrating a routing node, which may be an STP or DSR, for dynamic learning of foreign mobility management node information and using the dynamically learned node information to populate a security database used by the routing node for screening messages from a foreign network. Referring to Figure 1, routing node 100 includes at least one processor 102 and a memory 104$_{.}$ Routing node 100 includes a static profile table (SPT) 106 that stores foreign node identities provisioned by the network operator as being blacklisted, whitelisted, or graylisted. Blacklisted or whitelisted entries in SPT 106 will be used to override any dynamic learning or routing decisions. Routing node 100 may also include a dynamic profile table (DPT) 108 containing dynamically learned foreign network node identities and dynamically learned security statuses for each of the learned foreign network node identities. Routing node 100 may also include a static roaming table (SRT) 110 that includes identities of mobility management nodes and timing information provisioned by the network operator used to perform velocity checks for subscribers moving between network nodes. Routing node 100 further includes a dynamic roaming table (DRT) 112 that stores old and new dynamically learned node identities and time threshold information used to perform velocity checks. The statically provisioned data in SRT 110 may be used to override the dynamic data in DRT 112 when performing the velocity checks. The combination of static profile table 106$_{,}$ dynamic profile table 108$_{,}$ static roaming table 110$_{,}$ and dynamic roaming table 112 can be considered a telecommunications network security database used by routing node 100 for screening messages from foreign network nodes. The dynamically learned node identities stored in DPT 108 and DRT 112 may be dynamically learned