In the XAVPVIAFIELDS block there is the string written to the wrong variable.

The string is stored in _ksr_xavp_via_params.s but the lenght is stored in _ksr_xavp_via_fields.len. This breaks XAVPVIAPARAMS and XAVPVIAFIELDS.

Pre-Submission Checklist

Type Of Change

Checklist:

Description

via_use_xavp_fields("1"); and probably via_add_xavp_params("1"); are broken because of a typo in parsing the xavp names. The values of xavp_via_params global parameter and xavp_via_fields global parameter are not stored correctly.


You can view, comment on, or merge this pull request online at:

  https://github.com/kamailio/kamailio/pull/3540

Commit Summary

File Changes

(1 file)

Patch Links:


Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you are subscribed to this thread.Message ID: <kamailio/kamailio/pull/3540@github.com>