Module: kamailio Branch: 6.0 Commit: a8ebcb84827a5ddceceebd98c8dbce8e89447f67 URL: https://github.com/kamailio/kamailio/commit/a8ebcb84827a5ddceceebd98c8dbce8e89447f67
Author: Victor Seva <[email protected]> Committer: Victor Seva <[email protected]> Date: 2025-10-21T15:36:33+02:00 ims_qos: cscf_get_asserted_identity() not properly parsing PAI header > ims_qos [ims_qos_mod.c:1035]: w_rx_aar(): No P-Asserted-Identity hdr found in > request. Using From hdr in req - we shouldn't have to do this --- Modified: src/lib/ims/ims_getters.c --- Diff: https://github.com/kamailio/kamailio/commit/a8ebcb84827a5ddceceebd98c8dbce8e89447f67.diff Patch: https://github.com/kamailio/kamailio/commit/a8ebcb84827a5ddceceebd98c8dbce8e89447f67.patch --- diff --git a/src/lib/ims/ims_getters.c b/src/lib/ims/ims_getters.c index aabf221d9d9..2e747ea1add 100644 --- a/src/lib/ims/ims_getters.c +++ b/src/lib/ims/ims_getters.c @@ -648,7 +648,7 @@ str cscf_get_asserted_identity(struct sip_msg *msg, int is_shm) int len; str uri = {0, 0}; - if(!msg || !msg->pai) + if(!msg) return uri; if((parse_pai_header(msg) == 0) && (msg->pai) && (msg->pai->parsed)) { _______________________________________________ Kamailio - Development Mailing List -- [email protected] To unsubscribe send an email to [email protected] Important: keep the mailing list in the recipients, do not reply only to the sender!
