[OpenSIPS-Users] Question: how to return string from module function to config script?

Elaine Huang u8k.mel at gmail.com
Sat Oct 31 22:56:50 EST 2020

I'm new to opensips and I'm wondering if it's possible for a module
function to return a string instead of integer?

My wishful thinking is in my config:

$var(myVar) = myFunc(params...);
# then myVar becomes a string value that I can manipulate, compare, etc

If this is not achievable, what's the conventional way to get a string from
a module function? Is it pseudo variable that I should use?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opensips.org/pipermail/users/attachments/20201101/77737a7f/attachment.html>

More information about the Users mailing list