A system and method for connecting a mobile device to a node in a wireless network. A query may be received for a mobile device from a location based application. In response to the query a first message may be transmitted to the mobile device from a first node, the first message being populated with at least one predetermined parameter. At a second node, it may then be determined whether to forward a second message from the mobile device to the first node via the second node as a function of the availability of the first node or the at least one predetermined parameter.