Patent ID: 7558246

Claim:
A method for routing a call, comprising: receiving a request to initiate a call session for a call from a caller endpoint to a callee endpoint, the caller endpoint being of a plurality of internal endpoints belonging to an internal network of a network system, each internal endpoint having a configuration file within the internal network; determining whether the call is internal or external by: determining that the call is internal if the callee endpoint has a configuration file within the internal network; and determining that the call is external if the callee endpoint has an external address that is provided to the internal network and the external network; selecting a routing mode in accordance with the determination by: selecting a direct mode if the call is internal; and selecting a feature server mode if the call is external, the feature server mode comprising converting the call between an internal communication protocol of the internal network and an external communication protocol of an external network; and routing the call according to the selected routing mode.