In the Digium phones config module there is an internal phonebook. Add the extensions and activate “can monitor” as shown.
For the external phonebook I created a script, which converts the entries of the freePBX contact manager to an xml-file the Digium Ds can read