File size: 4,153 Bytes
c3edc81 |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 |
{
"states": [
"Idle",
"Wait Control Reply",
"Collision Handling",
"Established",
"Wait Stop Reply",
"Wait Incoming Reply",
"Wait Outgoing Reply",
"Wait Connect",
"Wait Disconnect"
],
"initial_state": "Idle",
"final_states": [
"Idle"
],
"transitions": [
{
"from": "Established",
"to": "Wait Disconnect",
"event": "Local Terminate",
"action": "Send Call Clear Request"
},
{
"from": "Wait Disconnect",
"to": "Idle",
"event": "Timeout (60s)",
"action": "Close TCP and release resources"
},
{
"from": "Idle",
"to": "Wait Control Reply",
"event": "TCP Open Indication",
"action": "Send Start Control Connection Request"
},
{
"from": "Wait Control Reply",
"to": "Collision Handling",
"event": "Collision Detected",
"action": "Handle collision (higher IP wins)"
},
{
"from": "Collision Handling",
"to": "Wait Control Reply",
"event": "TCP Termination from loser",
"action": "Accept winner request"
},
{
"from": "Collision Handling",
"to": "Established",
"event": "Receive Start Control Connection Reply (Version OK)",
"action": "Accept winner connection"
},
{
"from": "Wait Control Reply",
"to": "Established",
"event": "Receive Start Control Connection Reply (Version OK)",
"action": "Establish control connection"
},
{
"from": "Wait Control Reply",
"to": "Wait Stop Reply",
"event": "Receive Start Control Connection Reply (Version Not OK)",
"action": "Send Stop Control Connection Request"
},
{
"from": "Wait Control Reply",
"to": "Idle",
"event": "Timeout (60s)",
"action": "Close TCP"
},
{
"from": "Established",
"to": "Wait Stop Reply",
"event": "Local Terminate",
"action": "Send Stop Control Connection Request"
},
{
"from": "Established",
"to": "Wait Stop Reply",
"event": "Receive Stop Control Connection Request",
"action": "Send Stop Control Connection Reply"
},
{
"from": "Wait Stop Reply",
"to": "Idle",
"event": "Receive Stop Control Connection Reply",
"action": "Close TCP, return to Idle"
},
{
"from": "Idle",
"to": "Wait Incoming Reply",
"event": "Receive Incoming Call Request",
"action": "Send Incoming Call Reply"
},
{
"from": "Wait Incoming Reply",
"to": "Wait Connect",
"event": "Receive Incoming Call Reply (Accept)",
"action": "Wait for Incoming Call Connected"
},
{
"from": "Wait Connect",
"to": "Established",
"event": "Receive Incoming Call Connected",
"action": "Confirm session establishment"
},
{
"from": "Wait Incoming Reply",
"to": "Idle",
"event": "Receive Incoming Call Reply (Reject)",
"action": "Return to Idle"
},
{
"from": "Idle",
"to": "Wait Outgoing Reply",
"event": "Send Outgoing Call Request",
"action": "Wait for PAC response"
},
{
"from": "Wait Outgoing Reply",
"to": "Established",
"event": "Receive Outgoing Call Reply (No Error)",
"action": "Establish call"
},
{
"from": "Wait Outgoing Reply",
"to": "Idle",
"event": "Receive Outgoing Call Reply (Error)",
"action": "Return to Idle"
}
]
} |