Description

Troubleshooting

# kamailio.cfg
sql = "select * from subscriber";
sql_xquery("ca", sql, "ra");
xinfo("returncode = $rc"); /* 1 */

# kamailio.lua
sql = "select * from subscriber"
rc = KSR.sqlops.sql_xquery("ca", sql, "ra")
KSR.info("returncode = " .. rc .. "\n")  --  0, but 1 expected

Reproduction

Debugging Data

(paste your debugging data here)

Log Messages

(paste your log messages here)

SIP Traffic

(paste your sip traffic here)

Possible Solutions

Additional Information

kamailio 5.5.1
debian10


You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or unsubscribe.
Triage notifications on the go with GitHub Mobile for iOS or Android.