[sr-dev] git:master:1a68ddfc: pv: new transformation class {val}

Daniel-Constantin Mierla miconda at gmail.com
Wed Nov 17 17:16:57 CET 2021

Module: kamailio
Branch: master
Commit: 1a68ddfcbe46cfa4d956a1541f17517d9ba94381
URL: https://github.com/kamailio/kamailio/commit/1a68ddfcbe46cfa4d956a1541f17517d9ba94381

Author: Daniel-Constantin Mierla <miconda at gmail.com>
Committer: Daniel-Constantin Mierla <miconda at gmail.com>
Date: 2021-11-17T17:16:17+01:00

pv: new transformation class {val}

- {val.n0} - return int 0 instead of $null value, or existing value
- {val.json} - if value is $null, return empty string; if value is
  string, then it is escaped for use as json value (without surrounding


Modified: src/modules/pv/pv_trans.c
Modified: src/modules/pv/pv_trans.h


Diff:  https://github.com/kamailio/kamailio/commit/1a68ddfcbe46cfa4d956a1541f17517d9ba94381.diff
Patch: https://github.com/kamailio/kamailio/commit/1a68ddfcbe46cfa4d956a1541f17517d9ba94381.patch

More information about the sr-dev mailing list