From descartin@bts.io Thu Nov 8 13:22:35 2018 From: David =?utf-8?q?Escart=C3=ADn?= To: sr-users@lists.kamailio.org Subject: [SR-Users] variable $rb not updated on failure route after a 302 on the same PID Date: Thu, 08 Nov 2018 13:22:14 +0100 Message-ID: MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1349260945==" --===============1349260945== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 8bit Hello all we are seeing what we think is quite strange behaviour We have expecienced this on 5.0 and 5.1 version. this is the call flow INV--> <-- 302 (SDP) INV--> <-- 503 (SDP) (or another 302) When we receive a 302 and we load contacts and create a new branch, when we receive the second error response, and we receive it on the same udp receiver process, if we read the content of $rb on the the onreply_route, we get the proper value of the response SDP, but when we read $T_rpl($rb) on the failure_route, we get the value of the first error transaction. If the response (second) is received in another PID, it's ok. I'm not sure if i'm explaining myself, but we would think that the value should be updated, no matter which PID is used to process the response for example, running the kamailio with only 1 child. For the first 302 we have onreply route checking $rb 1(7698) INFO: