<p>Console log:</p>
<pre><code>9(27) INFO: <script>: preparing to resume transaction for processing: 6118 / 1144728330 / resume_auth
9(27) ERROR: <script>: Saving location
9(27) ERROR: <core> [db.c:452]: db_use_table(): invalid parameter value
9(27) ERROR: usrloc [ucontact.c:1137]: db_update_ucontact_ruid(): sql use_table failed
9(27) ERROR: usrloc [ucontact.c:1658]: update_contact_db(): failed to update database
9(27) ERROR: registrar [save.c:776]: update_contacts(): failed to update contact
</code></pre>
<p>Config script snipset:</p>
<pre><code>route[authenticate] {
if (!$aU) {
xlog("REGISTER without aU = $aU");
www_challenge("$fd", "0");
exit;
}
evapi_async_relay("{'tindex': $T(id_index), 'tlabel': $T(id_label), 'method': 'authenticate', 'route': 'resume_auth',"
"'data': { 'si': '$si', 'fU': '$fU', 'fd': '$fd', 'rU': '$rU', 'aU': '$aU', 'rd': '$rd' }"
"}"
);
xlog("L_INFO", "suspended transaction: $T(id_index) / $T(id_label)\n");
exit;
}
route[resume_auth] {
xlog("Saving location\n");
if (!save("location")) {
sl_reply_error();
}
exit;
}
event_route[evapi:message-received] {
xlog("received [$evapi(msg)] from $evapi(srcaddr):$evapi(srcport)\n");
jansson_get("tindex", "$evapi(msg)", "$var(tindex)");
jansson_get("tlabel", "$evapi(msg)", "$var(tlabel)");
jansson_get("route", "$evapi(msg)", "$var(next_route)");
xlog("L_INFO", "preparing to resume transaction for processing: $var(tindex) / $var(tlabel) / $var(next_route)\n");
t_continue("$var(tindex)", "$var(tlabel)", "$var(next_route)");
}
</code></pre>
<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 or <a href="https://github.com/kamailio/kamailio/issues/622">view it on GitHub</a><img alt="" height="1" src="https://github.com/notifications/beacon/AF36ZS4FEb5Tdg86PspjSw6w4sFkwMddks5qBl67gaJpZM4IeuBh.gif" width="1" /></p>
<div itemscope itemtype="http://schema.org/EmailMessage">
<div itemprop="action" itemscope itemtype="http://schema.org/ViewAction">
<link itemprop="url" href="https://github.com/kamailio/kamailio/issues/622"></link>
<meta itemprop="name" content="View Issue"></meta>
</div>
<meta itemprop="description" content="View this Issue on GitHub"></meta>
</div>