Transfering the directory data to the phonebook and adding a env uri for the phonebook