Patent ID: 8571012

Claim:
A method of providing customized routing of messages to pass through a firewall, the method comprising: receiving a message from an initiating agent to a target communication identifier at a system for signaling between endpoints, the system having one or more stored network addresses for each of a plurality of communication identifiers; determining one or more network addresses for the target endpoint from the stored network addresses associated to the communication identifier; and applying one or more policies to the one or more network addresses for the target endpoint to route the message through the firewall based on the determined one or more network addresses and one or more actions defined in the applied one or more policies, wherein applying one or more policies to the one or more network addresses for the target endpoint comprises changing the at least one of the one or more network addresses for the target endpoint based on one or more conditions defined in the applied one or more policies and producing a script comprising the one or more network addresses, a port address of an open port of the firewall, and instructions associated with each of the one or more network addresses, the instructions of the script comprising at least one condition and at least one action associated with each condition and affecting further routing of the message based on satisfaction of the associated condition.