The performance of wireless LANs is greatly affected by path-loss, RF interference and other sources of signal attenuation, in addition to network congestion. The primary factors involved in effective real-time communication, namely delay and loss, must be within certain controlled limits in such a scenario. In this paper, the authors analyze the various factors driving IEEE 802.11b access points through extensive simulations and thereafter develop an optimization technique to configure the parameters of the access points. They simulate their test bed scenario and apply the developed algorithm. They then implement the configured parameters in their SIP enabled test bed to provide optimum Voice over IP (VoIP) performance.