Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

FS-11275 180/183 after 200 causes call to stall and never recovers #129

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

sunlin7
Copy link

@sunlin7 sunlin7 commented May 17, 2022

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

@freeswitch-ci-system
Copy link

@sunlin7
Copy link
Author

sunlin7 commented May 25, 2022

@crienzo please help review this change, the checks failed on unrelated part. Thanks

@mjerris
Copy link
Member

mjerris commented Jun 13, 2022

i thought this patch f6ac484 addressed this issue. is yours still needed?

@sunlin7
Copy link
Author

sunlin7 commented Jun 13, 2022

Hi @mjerris,
Yes, current change is still needed.
The f6ac484 didn't resolve the issue I met,
The message arrive the funcation outgoing_find first,

nta_outgoing_t *outgoing_find(nta_agent_t const *sa,

The status original->orq_status be changed;
Then it proceed by the nua_session_client_response in f6ac484 to response to remote.
static int nua_session_client_response(nua_client_request_t *cr,

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.

@sunlin7
Copy link
Author

sunlin7 commented Oct 1, 2022

@mjerris @dragos-oancea ,
Please hlep to review and merge this PR. Thanks.

@mjerris
Copy link
Member

mjerris commented Oct 3, 2022

can you add a unit test that works after your pr but does not work before it with current master please?

@sunlin7
Copy link
Author

sunlin7 commented Oct 3, 2022

OK, I'll try to add unit test for this PR. Thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants