Dialer: Add support for forward and reverse lookups

Change-Id: I848db0bbbe6a648064d1eace4993814a16aa9fa0