Module: kamailio Branch: 5.8 Commit: e83be98778dde043df7251155ac63c5d651ed45b URL: https://github.com/kamailio/kamailio/commit/e83be98778dde043df7251155ac63c5d651ed45b
Author: João Capucho <capu...@jcapucho.com> Committer: Daniel-Constantin Mierla <mico...@gmail.com> Date: 2025-03-20T07:31:14+01:00 pua_reginfo: handle_notify - fix AoR key parsing - The AoR key generated by handle_notify no longer includes the domain of the AoR when usrloc use_domain isn't enabled (cherry picked from commit b7e16294ae1bbfe8cc469facf59fc9e3960ff2a4) (cherry picked from commit 00544a66aad09faf345d54bef7f464f2749ef548) --- Modified: src/modules/pua_reginfo/notify.c --- Diff: https://github.com/kamailio/kamailio/commit/e83be98778dde043df7251155ac63c5d651ed45b.diff Patch: https://github.com/kamailio/kamailio/commit/e83be98778dde043df7251155ac63c5d651ed45b.patch --- diff --git a/src/modules/pua_reginfo/notify.c b/src/modules/pua_reginfo/notify.c index cb64be19597..8bcf391c857 100644 --- a/src/modules/pua_reginfo/notify.c +++ b/src/modules/pua_reginfo/notify.c @@ -303,10 +303,10 @@ int process_body(str notify_body, udomain_t *domain) if(reginfo_use_domain) { aor_key.s = uri; + aor_key.len = strlen(uri); } else { - aor_key.s = parsed_aor.user.s; + aor_key = parsed_aor.user; } - aor_key.len = strlen(aor_key.s); /* Now let's lock that domain for this AOR: */ ul.lock_udomain(domain, &aor_key); /* and retrieve the user-record for this user: */
_______________________________________________ Kamailio - Development Mailing List -- sr-dev@lists.kamailio.org To unsubscribe send an email to sr-dev-le...@lists.kamailio.org Important: keep the mailing list in the recipients, do not reply only to the sender!