[OpenSIPS-Users] issue calling getHeader in lua module
Chris Warr
chris.warr at dubber.net
Thu May 18 05:28:13 UTC 2023
Hi, in a lua module, I'm trying to call getHeader, but I get an error.
My code:
local via = getHeader("Via")
The error:
bad argument #1 to 'getHeader' (siplua.api expected, got string)
opensips 3.2.12
lua 5.1.5
Any ideas?
Thanks,
Chris.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opensips.org/pipermail/users/attachments/20230518/eba473b4/attachment.html>
More information about the Users
mailing list