<p>What is the third parameter of the sql query function: <code>user</code>? A javascript variable that can have random value? If yes, then you create result containers for each of its values. You should use there a static string.</p>

<p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">—<br />You are receiving this because you are subscribed to this thread.<br />Reply to this email directly, <a href="https://github.com/kamailio/kamailio/issues/2032?email_source=notifications&email_token=ABO7UZO74DSZV7IHMUM7LMLQEOZQHA5CNFSM4ILKVEJ2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD4H7FSQ#issuecomment-521138890">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/ABO7UZIALDOEJAVX5FHXXVTQEOZQHANCNFSM4ILKVEJQ">mute the thread</a>.<img src="https://github.com/notifications/beacon/ABO7UZK3LPYKS3NSSWZYAPTQEOZQHA5CNFSM4ILKVEJ2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD4H7FSQ.gif" height="1" width="1" alt="" /></p>
<script type="application/ld+json">[
{
"@context": "http://schema.org",
"@type": "EmailMessage",
"potentialAction": {
"@type": "ViewAction",
"target": "https://github.com/kamailio/kamailio/issues/2032?email_source=notifications\u0026email_token=ABO7UZO74DSZV7IHMUM7LMLQEOZQHA5CNFSM4ILKVEJ2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD4H7FSQ#issuecomment-521138890",
"url": "https://github.com/kamailio/kamailio/issues/2032?email_source=notifications\u0026email_token=ABO7UZO74DSZV7IHMUM7LMLQEOZQHA5CNFSM4ILKVEJ2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD4H7FSQ#issuecomment-521138890",
"name": "View Issue"
},
"description": "View this Issue on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]</script>