add custom and ext params to messages