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.