Patent ID: 8467795

Claim:
A method comprising: receiving, by a network device, a message initiating a call from a mobile device, the message including an identifier of a femtocell, in a telephone network, through which the call was placed; determining, by the network device, that the call is a location-based call that is to be routed to a particular destination based on a location of the mobile device; obtaining, by the network device and after determining that the call is the location-based call, an identifier of a macro cell base station that serves a geographical coverage area that includes the femtocell; replacing, by the network device and while the mobile device is connected to the network device through the femto cell, the identifier of the femtocell, in the message, with the identifier of the macro cell base station to obtain a modified message; determining, by the network device, that the call is an emergency call; and forwarding, by the network device and after determining that the call is the emergency call, the modified message to an emergency call session control function (E-CSCF) server.