Input: yealink - validate number of endpoints before using them