Bret McDanel writes:

> How does one set a variable and subsequently access it outside of lua?
> I tried what I thought was correct, but absent any documentation I can
> find I cant seem to get that to work.

there must be some documentation somewhere, since i was able to write a
couple of lua functions.  here is an example from one script:

         sr.pv.sets("$avp(tail)", tail)

tail if lua variable and $avp(tail) is sr variable.

-- juha

_______________________________________________
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
sr-users@lists.sip-router.org
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users

Reply via email to