[I see I posted this to -dev instead of -users; fixing that -JimC]

I'm working on converting some configs to kemi lua and have a couple of
questions:

First:

Does KSR.pv.get() support multiple pseudos in a single call?

The examples such as misc/examples/kemi/kamailio-basic-kemi-lua.lua
make several calls, but also do things like KSR.pv.get("$T_branch_idx]")
to avoid having the append "]" to the string.  That makes me wonder why
that file has code like this:

        KSR.dbg("new branch [".. KSR.pv.get("$T_branch_idx]")
                                .. " to ".. KSR.pv.get("$ru") .. "\n");

instead of like:

        KSR.pv.get("[$T_branch_idx] to $ru\n")


Second:

Is it still the case that, eg, event_route[xhttp:request] cannot be in
the kemi lua code?

There was another.  Perhaps I'll recall what it was... :(

-JimC
-- 
James Cloos <[email protected]>         OpenPGP: 0x997A9F17ED7DAEA6

_______________________________________________
Kamailio (SER) - Users Mailing List
[email protected]
https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users

Reply via email to