Registration of custom dial functions

fixes #244