The easiest way is to simply put the command (e.g. "disconnect") in the info argument of menu_additem() the you have everything you need in the handler without even knowing what menu was chosen.
FYI, prefixing a variable with "i" means that it is an integer. The variables in your "items" enum should be prefixed with "sz" since you are using them as strings.