Patent ID: 7974277

Claim:
A method for routing calls, comprising: receiving a call request at a call manager from a first endpoint, the call request including a uniform resource identifier (URI) comprising a first portion identifying a user associated with a second endpoint and a second portion identifying a location associated with the second endpoint; modifying the call request according to the second endpoint; determining whether the modified call request associates with the call manager that received the call request, the determination based on whether the second portion of the URI that identifies the location associated with the second endpoint is associated with the call manager; searching a call search space including a plurality of partitions in the call manager, each partition comprising patterns in a logical grouping for determining a match to the modified call request, wherein searching a call search space comprises: searching the call search space for the first portion of the URI that identifies the user associated with the second endpoint if the location associated with the second endpoint is associated with the call manager that received the call request; searching the call search space for the second portion of the URI that identifies the location associated with the second endpoint if the location associated with the second endpoint is not associated with the call manager that received the call request; communicating the call request to a routing target.