send $msg to callback