If memory serves me right (check the devguide for details), there's a rigid structure for pages accessed via directory url.
Page one must be a ciscoipphonemenu with one or multiple entries that are displayed after the missed/answered/composed calls.
Each menu item must then link to a ciscoipphoneinput page.. and that in turn must return a ciscoipphonedirectory page.
You cannot bypass step 1 (which is what you're currently trying).