It was just re-ordered (not happens in step 5 of the algorithm), but not deleted. Making an object before all checks are done was incorrect. Might be best if you can check the rewrite here (hopefully it will make more sense):  http://telephony.sysapps.org/#the-dial-method