[OpenSIPS-Users] Database Searching

Mark Farmer farmorg at gmail.com
Wed Aug 28 08:51:07 EDT 2019


Thanks Giovanni, that looks like the function I was looking for :)

Mark.


On Wed, 28 Aug 2019 at 13:41, Giovanni Maruzzelli <gmaruzz at gmail.com> wrote:

> ...and this is the standard OpenSIPS SQL DB interface:
>
> https://opensips.org/html/docs/modules/3.0.x/avpops.html#func_avp_db_query
>
> On Wed, Aug 28, 2019 at 2:34 PM Giovanni Maruzzelli <gmaruzz at gmail.com>
> wrote:
>
>>
>> You may use the standard OpenSIPS SQL db interface, with mysql module...
>>
>> https://opensips.org/html/docs/modules/3.0.x/db_mysql.html
>>
>>
>>
>> On Wed, Aug 28, 2019 at 1:59 PM Mark Farmer <farmorg at gmail.com> wrote:
>>
>>> Hi everyone
>>>
>>> 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?
>>>
>>> I'm using DB_MYSQL as usual but I don't seem to see any functions
>>> specific to this.
>>>
>>> TIA
>>> Mark.
>>>
>>> _______________________________________________
>>> Users mailing list
>>> Users at lists.opensips.org
>>> http://lists.opensips.org/cgi-bin/mailman/listinfo/users
>>>
>>
>>
>> --
>> Sincerely,
>>
>> Giovanni Maruzzelli
>> OpenTelecom.IT
>> cell: +39 347 266 56 18
>>
>>
>
> --
> Sincerely,
>
> Giovanni Maruzzelli
> OpenTelecom.IT
> cell: +39 347 266 56 18
>
> _______________________________________________
> Users mailing list
> Users at lists.opensips.org
> http://lists.opensips.org/cgi-bin/mailman/listinfo/users
>


-- 
Mark Farmer
farmorg at gmail.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opensips.org/pipermail/users/attachments/20190828/7d84a0fe/attachment.html>


More information about the Users mailing list