Module: kamailio Branch: master Commit: f95d0f58715954d78cec483ffa69ab1009d3d0f7 URL: https://github.com/kamailio/kamailio/commit/f95d0f58715954d78cec483ffa69ab10...
Author: Daniel-Constantin Mierla miconda@gmail.com Committer: Daniel-Constantin Mierla miconda@gmail.com Date: 2015-01-05T23:39:18+01:00
pv: new pv - $vn(name)
- similar to $var(name) and able to hold $null - default value is $null $vn(x) = 0; $vn(x) = "abc"; $vn(x) = $null; - $vz(name) aliased to $var(name)
---
Modified: modules/pv/pv.c Modified: modules/pv/pv_core.c Modified: modules/pv/pv_core.h Modified: modules/pv/pv_shv.c Modified: modules/pv/pv_svar.c Modified: modules/pv/pv_svar.h
---
Diff: https://github.com/kamailio/kamailio/commit/f95d0f58715954d78cec483ffa69ab10... Patch: https://github.com/kamailio/kamailio/commit/f95d0f58715954d78cec483ffa69ab10...
Daniel-Constantin Mierla writes:
pv: new pv - $vn(name)
- similar to $var(name) and able to hold $null
sounds good. i had some issue with nested transformations a couple of months back. perhaps transformations can be made to return the same kind of value as $vn(name).
-- juha
I also run into issues when attempting to nest transformations, i.e.
pseudo: {s.substr,0,$(var{s.len})}
This would be great if we could do such combinations.
Sincerely, Brandon Armstead
On Mon, Jan 5, 2015 at 7:36 PM, Juha Heinanen jh@tutpro.com wrote:
Daniel-Constantin Mierla writes:
pv: new pv - $vn(name)
- similar to $var(name) and able to hold $null
sounds good. i had some issue with nested transformations a couple of months back. perhaps transformations can be made to return the same kind of value as $vn(name).
-- juha
sr-dev mailing list sr-dev@lists.sip-router.org http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-dev