You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
sems/doc/dsm/examples/call/calltest.dsm

23 lines
389 B

initial state START
enter {
playPrompt(hello);
};
state ADDKEY;
state FIN;
transition "start pin entry" START - / set($pin = "") -> ADDKEY;
transition "add a key" ADDKEY - keyTest(#key < 10) /
{
closePlaylist();
append($pin, #key);
playPrompt(#key);
callFSM(callsub)
} -> ADDKEY;
transition bye_recvd ADDKEY - hangup() / stop(false) -> FIN;