Add dynamic dialplan support (bug #3566)