<div dir="ltr"><div>...and this is the standard OpenSIPS SQL DB interface:<br><br><a href="https://opensips.org/html/docs/modules/3.0.x/avpops.html#func_avp_db_query" target="_blank">https://opensips.org/html/docs/modules/3.0.x/avpops.html#func_avp_db_query</a></div><div class="gmail-yj6qo gmail-ajU"><div id="gmail-:1l8" class="gmail-ajR" tabindex="0"><img class="gmail-ajT" src="https://ssl.gstatic.com/ui/v1/icons/mail/images/cleardot.gif"></div></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Wed, Aug 28, 2019 at 2:34 PM Giovanni Maruzzelli <<a href="mailto:gmaruzz@gmail.com">gmaruzz@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div><br></div><div>You may use the standard OpenSIPS SQL db interface, with mysql module...<br><br><a href="https://opensips.org/html/docs/modules/3.0.x/db_mysql.html" target="_blank">https://opensips.org/html/docs/modules/3.0.x/db_mysql.html</a><br><br><br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Wed, Aug 28, 2019 at 1:59 PM Mark Farmer <<a href="mailto:farmorg@gmail.com" target="_blank">farmorg@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr">Hi everyone<div><br></div><div>Say I have a small & simple MariaDB table with some data beyond what is stored for modules etc (just a short list of strings), what is the best way to search that data from within a script route for each SIP request?<br clear="all"><div><br></div><div>I'm using DB_MYSQL as usual but I don't seem to see any functions specific to this.</div><div><br></div><div>TIA</div><div>Mark.</div><div><br></div><div dir="ltr" class="gmail-m_4296163329099728903gmail-m_-7065032777366710175gmail_signature"></div></div></div>
_______________________________________________<br>
Users mailing list<br>
<a href="mailto:Users@lists.opensips.org" target="_blank">Users@lists.opensips.org</a><br>
<a href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users" rel="noreferrer" target="_blank">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a><br>
</blockquote></div><br clear="all"><br>-- <br><div dir="ltr" class="gmail-m_4296163329099728903gmail_signature">Sincerely,<br><br>Giovanni Maruzzelli<br>OpenTelecom.IT<br>cell: +39 347 266 56 18<br><br></div>
</blockquote></div><br clear="all"><br>-- <br><div dir="ltr" class="gmail_signature">Sincerely,<br><br>Giovanni Maruzzelli<br>OpenTelecom.IT<br>cell: +39 347 266 56 18<br><br></div>