From notifications@github.com Sun Mar 10 21:16:27 2024 From: vteliatnykov To: sr-dev@lists.kamailio.org Subject: [sr-dev] [kamailio/kamailio] TSILO: ts_append_to(): transaction 11743:1310842517: error updating dset (-1) (Issue #3782) Date: Sun, 10 Mar 2024 14:16:01 -0700 Message-ID: MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1776760912==" --===============1776760912== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable After the transaction was suspended, 1st user registered, got INVITE message,= there is 2nd user wakes up and send REGISTER. Kamailio check if transaction suspended (for 2nd user, it is not suspended an= ymore), and checks if there is stored transaction. So, for 2nd user we have stored transaction, then it should append new branch= . ts_append failed. if ($var(suspended) =3D=3D 0) { if ($var(stored)) { # no suspended INVITE (i.e. there was at least one=20 # registered contact for target) and 'stored' set=20 # (i.e. ongoing transaction) -> this newly just=20 # registered contact needs alerting. ts_append("location", "sip:$avp(extension)@LOCALVIRTU= ALIP"); xinfo("appending branches for sip:$avp(extension)@LOC= ALVIRTUALIP, result $rc"); } else { xinfo("no suspended transactions for $tu"); } return; } Mar 10 21:07:11 stage-webrtc-kama-01 /usr/sbin/kamailio[4067482]: INFO: [t3ju= tj5k1na4eir1o8pvk9 REGISTER WAKE_SUSPENDED:1:1339]