I want to store RTPProxy statistics in $rtpstat variable (exported by RTPProxy module) into database. Currently I use app_python module to run a specific Python script with from_tag, to_tag, callid and $rtpstat as parameters. This module puts this information in a message queue which is red by another process. That process writes the data in the database. Is there a better, more efficient way to store arbitrary data like this into database in Kamailio?
Regards
Hello Gholamreza,
On 12/27/2015 01:51 PM, Gholamreza Sabery wrote:
Is there a better, more efficient way to store arbitrary data like this into database in Kamailio?
Have you taken a look at:
http://kamailio.org/docs/modules/4.3.x/modules/sqlops.html
-- Alex
Thx alot. I think this module can solve my issue. It is great!
On Sun, Dec 27, 2015 at 10:29 PM, Alex Balashov abalashov@evaristesys.com wrote:
Hello Gholamreza,
On 12/27/2015 01:51 PM, Gholamreza Sabery wrote:
Is there a better, more efficient way to store arbitrary data like this into database in Kamailio?
Have you taken a look at:
http://kamailio.org/docs/modules/4.3.x/modules/sqlops.html
-- Alex
-- Alex Balashov | Principal | Evariste Systems LLC 303 Perimeter Center North, Suite 300 Atlanta, GA 30346 United States
Tel: +1-800-250-5920 (toll-free) / +1-678-954-0671 (direct) Web: http://www.evaristesys.com/, http://www.csrpswitch.com/
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list sr-users@lists.sip-router.org http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users