Hi Daniel!
Can you try with this change: https://github.com/kamailio/kamailio/compare/master...vseva/ims_diameter_ser...
Cheers, Victor
On 12/12/24 9:19, Grotti, Daniel via sr-users wrote:
Hi, the problem seems to be in the pv_get_response function:
--- a/src/modules/ims_diameter_server/avp_helper.c +++ b/src/modules/ims_diameter_server/avp_helper.c int pv_get_response(struct sip_msg *msg, pv_param_t *param, pv_value_t *res) {
- if ((msg->id != current_msg_id_repl) || (responsejson.len < 0)) {
- if (responsejson.len < 0) {
return pv_get_strval(msg, param, res, &responsejson);
where the msg->id is set to "1" when the request is sent while current_msg_id_repl is always set to zero. I found a similar report here: https://github.com/kamailio/kamailio/issues/2035#issuecomment-1673511815 https://github.com/kamailio/kamailio/issues/2035#issuecomment-1673511815
Daniel