cloudtrends / doubango

Automatically exported from code.google.com/p/doubango
0 stars 0 forks source link

fsm state becomes terminated when action functions return false #209

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. send re-INVITE with sdp which can cause tsip_dialog_invite_process_ro return 
false. The call will hang as it will not receive response but the peer has 
terminate the call.
2.
3.

What is the expected output? What do you see instead?

when action functions return false, this will cause fsm state to be terminated. 
When in a call, the other peer will never receive a call termination 
notification. An example is tsip_dialog_invite_process_ro will be called in 
some action functions when receiving reINVITE or UPDATE. If these functions 
return false, tsk_fsm_act() will move to terminal state and cause the the call 
to hang on the other peer.

What version of the product are you using? On what operating system?

Please provide any additional information below.

Original issue reported on code.google.com by xiangch...@gmail.com on 25 Feb 2013 at 1:31

GoogleCodeExporter commented 9 years ago
in x0000_Connected_2_Connected_X_iINVITEorUPDATE(), if 
tsip_dialog_invite_process_ro() return false, this action function will return 
false, then the fsm state will go to terminated without sending response to the 
peer. 

Original comment by xiangch...@gmail.com on 25 Feb 2013 at 1:51