mix ussd.simulate MyApp.Ussd.States.Welcome
mix ussd.simulate MyApp.Ussd.States.Welcome --phone 233200000000 --response Ussd.Responses.AfricasTalkingOptions:
--phone- the subscriber identifier to simulate (random by default)--with KEY=VALUE- extra context bag values, repeatable--configurator MODULE- aUssd.Configuratorto apply, repeatable--response MODULE- aUssd.Responseto preview the gateway payload alongside the message--continuing-mode start|continue|confirm(defaultstart)--continuing-state MODULE- required when--continuing-mode=confirm--continuing-ttl SECONDS--store MODULE- aUssd.Cacheimplementation to use
Type :restart to drop the call without ending the session, :exit to hang up.