USSD States are worth explaining at this point. The diagram below describes three USSD states that should be understood along with the interplay between these states. Menus and Sub-Menu’s constitute one state, Prompts requiring some User Input (a confirmation or data capture) or the processing of some metadata like a MSISDN into the integration engine are the second USSD state and the third is the Result that is returned via the USSD Gateway to the User.
So as an example if after presenting the Main Menu the user then selects Menu 2 which comes in on the Inbound Request, the ${result} that is returned will be the next sub-menus associated with the main menu option 2.
