-users@lists.sip-router.org
Subject: Re: [SR-Users] Database Insert
On 02/16/2016 04:27 PM, Daniel W. Graham wrote:
> Well I assume either way would work, is there that big of performance
> hit by using sql_query?
That depends on how long the INSERT statement takes to return. :-) In
pri
On 02/16/2016 04:27 PM, Daniel W. Graham wrote:
Well I assume either way would work, is there that big of performance
hit by using sql_query?
That depends on how long the INSERT statement takes to return. :-) In
principle, it shouldn't be a big deal.
sql_query_async() is just a wrapper arou
PM
To: sr-users@lists.sip-router.org
Subject: Re: [SR-Users] Database Insert
On 02/16/2016 11:34 AM, Daniel W. Graham wrote:
> Is there a good way to perform database insert using version 4.0?
You mean to do so asynchronously? Or just insert? If the latter, sql_query().
:-)
If the former,
On 02/16/2016 11:34 AM, Daniel W. Graham wrote:
Is there a good way to perform database insert using version 4.0?
You mean to do so asynchronously? Or just insert? If the latter,
sql_query(). :-)
If the former, try:
loadmodule "rtimer"
loadmodule "mqueue"
modparam("rtimer", "timer", "name
I see there is a new SQLops function sql_query_async that has been added in 4.2
(I believe?).
Is there a good way to perform database insert using version 4.0?
Using mysql
Thanks!
-dan
___
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users ma