[sr-dev] Re: [kamailio/kamailio] TSILO: ts_append_to(): transaction 11743:1310842517: error updating dset (-1) (Issue #3782)
Closed #3782 as completed. -- Reply to this email directly or view it on GitHub: https://github.com/kamailio/kamailio/issues/3782#event-12572515048 You are receiving this because you are subscribed to this thread. Message ID: ___ Kamailio (SER) - Development Mailing List To unsubscribe send an email to sr-dev-le...@lists.kamailio.org
[sr-dev] Re: [kamailio/kamailio] TSILO: ts_append_to(): transaction 11743:1310842517: error updating dset (-1) (Issue #3782)
Hello The issue was related to that fact that ts_append(), ts_append_to() and ts_append_by_contact() are trying to locate user in location table always. It is trying to find contact address anyway. In my scenario, address and R-URI do not match. For example, I m dialing to sip:1000@IP (specific SIP extension at specific PBX), but when this mobile device awoke, it registers with dynamic AOR (UUID). I m using separate hash table (+mysql) for mapping UUID user and specific SIP extension address. To fix the issue with appending branch, I had to fix that part. -- Reply to this email directly or view it on GitHub: https://github.com/kamailio/kamailio/issues/3782#issuecomment-2071854121 You are receiving this because you are subscribed to this thread. Message ID: ___ Kamailio (SER) - Development Mailing List To unsubscribe send an email to sr-dev-le...@lists.kamailio.org
[sr-dev] Re: [kamailio/kamailio] uac_req_send crash Kamailio (Issue #3522)
route[REGFWD] { xlog("L_INFO", "---"); $uac_req(method) = "REGISTER"; $uac_req(ruri) = "sip:" + $avp(domain) + ":" + 'PBX_UDP_PORT'; $uac_req(furi) = "sip:" + $avp(extension) + "@" + $avp(domain); $uac_req(turi) = "sip:" + $avp(extension) + "@" + $avp(domain); $uac_req(auser) = $avp(extension); $uac_req(apasswd) = $avp(secret); $uac_req(evroute)=1; $uac_req(hdrs) = "Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER\r\n"; $uac_req(hdrs) = $uac_req(hdrs) + "Contact: \r\n"; $uac_req(hdrs) = $uac_req(hdrs) + "Expires: REGISTER_EXPIRATION\r\n"; $uac_req(sock) = "udp:LOCALVIRTUALIP:MY_INTERNAL_UDP_PORT"; xlog("L_INFO", "Forwarding SIP REGISTER to PBX for user $uac_req(furi)"); uac_req_send(); } event_route[uac:reply] { xlog("L_NOTICE", "[UAC] - $uac_req(method) request from user $uac_req(auser) to $uac_req(ruri) completed with code: $uac_req(evcode)\n"); } I have also same error Mar 11 20:57:00 stage-webrtc-kama-01 /usr/sbin/kamailio[162557]: NOTICE: [35ba98b51f649a01-162583@10.160.201.190 REGISTER uac:reply:2:1248]
[sr-dev] [kamailio/kamailio] TSILO: ts_append_to(): transaction 11743:1310842517: error updating dset (-1) (Issue #3782)
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 anymore), 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) == 0) { if ($var(stored)) { # no suspended INVITE (i.e. there was at least one # registered contact for target) and 'stored' set # (i.e. ongoing transaction) -> this newly just # registered contact needs alerting. ts_append("location", "sip:$avp(extension)@LOCALVIRTUALIP"); xinfo("appending branches for sip:$avp(extension)@LOCALVIRTUALIP, result $rc"); } else { xinfo("no suspended transactions for $tu"); } return; } Mar 10 21:07:11 stage-webrtc-kama-01 /usr/sbin/kamailio[4067482]: INFO: [t3jutj5k1na4eir1o8pvk9 REGISTER WAKE_SUSPENDED:1:1339]