Skip to content

Instantly share code, notes, and snippets.

@zhirzh
Last active December 14, 2020 15:28
Show Gist options
  • Save zhirzh/5283785465823f7f2d52389a5a2df53a to your computer and use it in GitHub Desktop.
Save zhirzh/5283785465823f7f2d52389a5a2df53a to your computer and use it in GitHub Desktop.
simple cases:
U call A: outgoing A
call ends: idle A
A accepts: offhook A
call ends: idle A
A call U: ringing A
call ends: idle A
U accepts: offhook A
call ends: idle A
------------------------------------
overlap cases:
U call A: outgoing A
A accepts: offhook A
U call B: outgoing B
B accepts: ---
call B ends: ---
call A ends: idle A
swap call
call A ends: ---
call B ends: idle B
B call U: ringing B
call B ends: offhook B
call A ends: idle A
U accepts: offhook B
call B ends: ---
call A ends: idle A
swap call
call A ends: ---
call B ends: idle B
merge call
U ends call: idle A
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment