Re: [sr-dev] [kamailio/kamailio] Kamailio resets $ru in branch_route context, probably race condition (#2708)

2021-09-14 Thread Daniel-Constantin Mierla
@nicoonline - my hints were about adding debugging messages in the code, catch the traffic sip traffic to try to reproduce, ... when the line listed above is executed, the r-uri is no longer available, so it has to be figured out what changes it before. -- You are receiving this because you ar

Re: [sr-dev] [kamailio/kamailio] Kamailio resets $ru in branch_route context, probably race condition (#2708)

2021-08-27 Thread nicoonline
Hi Miconda, We have debugged with Henning and the line in cause is : if (is_method ("INVITE")) $dlg_var(rU)=$rU; in a failure route. -- You are receiving this because you are subscribed to this thread. Reply to this email directly or view it on GitHub: https://github.com/kamailio/kamailio/is

Re: [sr-dev] [kamailio/kamailio] Kamailio resets $ru in branch_route context, probably race condition (#2708)

2021-08-25 Thread Daniel-Constantin Mierla
@nicoonline - i gave some hints on troubleshooting in a comment above. Have you followed them? -- You are receiving this because you are subscribed to this thread. Reply to this email directly or view it on GitHub: https://github.com/kamailio/kamailio/issues/2708#issuecomment-905209245__

Re: [sr-dev] [kamailio/kamailio] Kamailio resets $ru in branch_route context, probably race condition (#2708)

2021-08-24 Thread nicoonline
Hello Miconda, Any ideas here? -- You are receiving this because you are subscribed to this thread. Reply to this email directly or view it on GitHub: https://github.com/kamailio/kamailio/issues/2708#issuecomment-904964507___ Kamailio (SER) - Developm

Re: [sr-dev] [kamailio/kamailio] Kamailio resets $ru in branch_route context, probably race condition (#2708)

2021-07-27 Thread Henning Westerholt
This should be the line in question: `if (is_method ("INVITE")) $dlg_var(rU)=$rU;` -- You are receiving this because you are subscribed to this thread. Reply to this email directly or view it on GitHub: https://github.com/kamailio/kamailio/issues/2708#issuecomment-887709016__

Re: [sr-dev] [kamailio/kamailio] Kamailio resets $ru in branch_route context, probably race condition (#2708)

2021-07-27 Thread Daniel-Constantin Mierla
The error is after an assignment done in the branch route: ``` Apr 13 11:44:39 proxy1 /usr/sbin/kamailio[2202]: ERROR: *** cfgtrace:branch_route=[MANAGE_BRANCH] c=[/etc/kamailio/kamailio.cfg] l=2142 a=63 n=assign Apr 13 11:44:39 proxy1 /usr/sbin/kamailio[2202]: ERROR: pv [pv_core.c:325]: pv_get

Re: [sr-dev] [kamailio/kamailio] Kamailio resets $ru in branch_route context, probably race condition (#2708)

2021-07-26 Thread Henning Westerholt
Thanks for the reply @miconda There was a mistake in the description. So the new branch is of course created in the failure_route, not in the branch_route. -- You are receiving this because you are subscribed to this thread. Reply to this email directly or view it on GitHub: https://github.com/

Re: [sr-dev] [kamailio/kamailio] Kamailio resets $ru in branch_route context, probably race condition (#2708)

2021-07-26 Thread Daniel-Constantin Mierla
I haven't encountered such situation. Is it parallel forking case or serial forking? What is not clear for me is your remark: `new branch is created with $ru = $ru` -- is it done in failure route or branch route? If in branch route, what is the reason for it? In branch route it is not supposed

Re: [sr-dev] [kamailio/kamailio] Kamailio resets $ru in branch_route context, probably race condition (#2708)

2021-07-12 Thread Henning Westerholt
@miconda Do you have some ideas how to proceed with debugging this issue? It seems to happens only in certain circumstances. -- You are receiving this because you are subscribed to this thread. Reply to this email directly or view it on GitHub: https://github.com/kamailio/kamailio/issues/2708#is

Re: [sr-dev] [kamailio/kamailio] Kamailio resets $ru in branch_route context, probably race condition (#2708)

2021-07-06 Thread nicoonline
Hello, same behavior on 5.4.5 -- You are receiving this because you are subscribed to this thread. Reply to this email directly or view it on GitHub: https://github.com/kamailio/kamailio/issues/2708#issuecomment-874962229___ Kamailio (SER) - Developmen

[sr-dev] [kamailio/kamailio] Kamailio resets $ru in branch_route context, probably race condition (#2708)

2021-04-15 Thread Henning Westerholt
### Description Kamailio resets the $ru in a branch_route context, probably due a race condition and/or bug. Scenario: - Calls is established and answered with 404 - Kamailio enters failure_route - failure_route calls t_relay() - branch_route is entered - new branch is created with $ru = $ru; -