-
Notifications
You must be signed in to change notification settings - Fork 215
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
Issue #2411: Workaround: Send Bye when received DownloaderResponse in wrong state #2438
Conversation
Thanks for the effort @abdulazizali77 |
Hi @abdulazizali77 I tested your patch with provided First I tested the same one as the previous one here, i.e. The trace shows exactly the same behaviour: as can be seen in attached Wireshark trace, when USSD Gateway sends the pr2411_ESTimeout10s_externalServiceTimeoutNOTSET_USSDdialogTimeou5s_sleep20.pcap.pcapng.zip Then, I tested this scenario: pr2411_ESTimeout10s_externalServiceTimeout6s_USSDdialogTimeou25s_sleep20.pcap.pcapng.zip |
Look at
|
Hi @abdulazizali77, as commented in Slack, now I see it working as expected. I proceeded with the exact same tests as described above and everything looks good to me. Attached next are traces and RC server logs. Moreover, the CDRs as seen in following image taken from RC GUI look as expected, both with canceled status (first one due to external service timeout, second one due to USSD Gw timeout). In summary, for me it's a go. |
@deruelle @FerUy @gvagenas
The current commit is admittedy a workaround. This doesnt completely fix the race condition issue, but at least tries to cover one failure in
UssdInterpreter
Theres some major design+ cleanup work to be done in
UssdCallManager
UssdInterpreter
andUssdCall
andDownloader
as i see it