Automatically configure dialogue endpoints

Once #1042 lands, we will need a way of automatically determining which endpoints to use based on the chosen channel types.
Currently there is at most one endpoint per delivery class / channel type. My question is whether this is a good idea?