Adds get_directory functionality and views for getting a PBX directory