Hello,
transformations are bound to variables, you have to use KSR.pv.get("$(hdr(P-Asserted-Identity){tobody.user})") or the other variants to get the value of variables from KSR.pv group of functions:
* http://kamailio.org/docs/tutorials/devel/kamailio-kemi-framework/core/#ksrpv...
Cheers, Daniel
On 28.07.21 16:47, Ben Kaufman wrote:
Sorry to bother on this, but is it possible to access Kamailio transformations in KEMI, and if so, how?
In Kamailio’s native scripting language I could do:
$var(pai_user) = $(hdr(P-Asserted-Identity){tobody.user});
In KEMI, I can easily get the full header like this:
KSR.hdr.get("P-Asserted-Identity")
But I don’t see how to access the transformations. Am I missing it?
*Ben Kaufman*
Kamailio - Users Mailing List - Non Commercial Discussions
- sr-users@lists.kamailio.org
Important: keep the mailing list in the recipients, do not reply only to the sender! Edit mailing list options or unsubscribe: