Patent ID: 8582555

Claim:
A method of providing customized routing of messages, the method comprising: receiving a message 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; applying one or more policies to the one or more network addresses for the target communication identifier, the one or more policies comprising a set of one or more conditions and one or more actions associated with each condition, wherein applying one or more policies to the one or more network addresses for the target communication identifier comprises changing at least one of the determined one or more network addresses for the target endpoint based on at least one satisfied condition of the one or more conditions and the associated action defined in the applied one or more policies and producing a script, the script comprising the determined one or more network addresses and instructions associated with each of the determined 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; and routing the message to the target communication identifier based on the determined one or more network addresses and associated instructions of the script.