Thanks for the post. Are you trying to get meeting number from other activity? Could you provide more information on this issue?
The getCurrentMeetingNumber method belongs to the InMeetingService, so it needs to be called after the meeting has been successfully started. If it returns 0, it means the meeting is either not successfully started or the meeting service is invalid.