FS-11275 180/183 after 200 causes call to stall and never recovers#129
Open
sunlin7 wants to merge 1 commit intofreeswitch:masterfrom
Open
FS-11275 180/183 after 200 causes call to stall and never recovers#129sunlin7 wants to merge 1 commit intofreeswitch:masterfrom
sunlin7 wants to merge 1 commit intofreeswitch:masterfrom
Conversation
Author
|
@crienzo please help review this change, the checks failed on unrelated part. Thanks |
dragos-oancea
approved these changes
Jun 3, 2022
Member
|
i thought this patch f6ac484 addressed this issue. is yours still needed? |
Author
|
Hi @mjerris, sofia-sip/libsofia-sip-ua/nta/nta.c Line 9368 in 756ab9b The status original->orq_status be changed;Then it proceed by the nua_session_client_response in f6ac484 to response to remote.sofia-sip/libsofia-sip-ua/nua/nua_session.c Line 924 in 756ab9b I had tested this change, confirm it resolved the ticket FS-11275; without this change, there will have an error when the 183 after the 200 message. |
Author
|
@mjerris @dragos-oancea , |
Member
|
can you add a unit test that works after your pr but does not work before it with current master please? |
Author
|
OK, I'll try to add unit test for this PR. Thanks |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Hi,
This PR will fix the issue https://freeswitch.org/jira/browse/FS-11275, the root cause is once the 180/183 message behind the 200 message (network jetter), sofia will to waiting the ACK for 180/183, until timeout.
The solution is, ignore the 180/183 if current state already is completed.
Please help review and merge the change.
Thanks