dialpad support

A patch from https://developer.pidgin.im/ticket/15575