-
Notifications
You must be signed in to change notification settings - Fork 778
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
Respond with ACK first before hanging up call for dialog fork #3445
Conversation
Committed a new change. Please check the updated PR desc. |
|
I tried another approach to address the above concerns. So in the latest patch, app ( Pros:
Con:
Let me know what you think. |
The last commit is to address the above con. Now ACK is only sent once. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Good idea, a safer approach.
Attempt to fix #3234
Currently for dialog fork, the flow is like this:
sip_ua_layer
->on_dlg_forked()
-> pjsua_call: send BYE -> back tosip_ua_layer
: respond with ACK.Ideally, we want the ACK to be sent first and the patch will do this. Unfortunately, it will cause a behaviour change: now it's app's responsibility to send the ACK.
As a consequence of the behaviour change, the sipp script
uas-forked-200.xml
to test the scenario needs to be modified.So do you think we should change the current behaviour?