[OpenSIPS-Users] Opensips Acc module .
Bogdan-Andrei Iancu
bogdan at opensips.org
Wed Sep 9 18:07:32 CEST 2015
Hi, see inlines.
Regards,
Bogdan-Andrei Iancu
OpenSIPS Founder and Developer
http://www.opensips-solutions.com
On 09.09.2015 18:09, Sasmita Panda wrote:
>
> Hi ,
>
> Thank you so much for the early response .
>
> First of all I don't want to store the accounting information in
> opensips data base . because it's getting overloaded with lots of data .
>
> As you suggested , is this possible I can convert SQL db to no
> SQL db in directly ,without storing the information in account table
> of opensips ?
>
[bogdan]
with the db_cachedb module, the SQL operations are translated on the fly
to noSQL operations without any middle storage.
>
> Aa of now , my opensips is compiled with acc module , SQL module ,
> cache_redis module and all other module which are necessary.
>
> I will try your option too by computing it with db_cachedb .
>
[bogdan]
Set the acc module to use DB backend, set a db url to point to the
db_cachedb backend, load the cache_redis module. See example:
http://www.opensips.org/html/docs/modules/1.11.x/db_cachedb.html#id249605
>
>
> Before that I wanted to do something else . I wanted to parse
> some variable of accounting information and wanted to store that in
> redis .
> For example , $ci : call_I'd , $rd: remote destination .
> Similarly , can't I get the accounting data in above variable
> format ? May be I need to do some changes in acc module code . But
> excatly where should I change I don't know .
>
[bogdan]
See the extra accounting option in the acc module:
http://www.opensips.org/html/docs/modules/1.11.x/acc.html#ACC-extra-id
> I appropriate your response. But consider my query one more time
> and reply if there is any other convenient option .
>
> Regards
> Sasmita
>
> On Sep 9, 2015 8:13 PM, "Bogdan-Andrei Iancu" <bogdan at opensips.org
> <mailto:bogdan at opensips.org>> wrote:
>
> Hi Sasmita,
>
> The acc module supports the log, sql and AAA interfaces when comes
> to writing the CDRs.
>
> To get to a redis DB (a noSQL DB), you should use acc module with
> the sql (db) support plus the db_cachedb module to convert from
> sql to nosql.
>
> Best regards,
>
> Bogdan-Andrei Iancu
> OpenSIPS Founder and Developer
> http://www.opensips-solutions.com
>
> On 09.09.2015 14:01, Sasmita Panda wrote:
>> Hi All ,
>>
>>
>> I wanted to store the accounting data of a call in redis cache .
>> I had compiled the opensips module with cache_redis and acc
>> module successfully.
>>
>> Now , as for my understanding , acc module print the logs
>> of accounting information directly .
>>
>> for acc module i have done be bellow configuration .
>> loadmodule "acc.so"
>> modparam("acc", "log_flag", 2)
>> Then I have done , setflag(2) , where i wanted to do
>> accounting .
>>
>> Can anyone help me how to store that accounting information
>> in a variable, so that I can use that variable to store the data
>> in redis server ?
>>
>> Please reply or let me know if any further details needed .
>>
>>
>> */Thanks & Regards/*
>> /Sasmita Panda/
>> /Network Testing and Software Engineer/
>> /3CLogic , ph:07827611765/
>>
>>
>> _______________________________________________
>> Users mailing list
>> Users at lists.opensips.org <mailto:Users at lists.opensips.org>
>> http://lists.opensips.org/cgi-bin/mailman/listinfo/users
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opensips.org/pipermail/users/attachments/20150909/817f321c/attachment.htm>
More information about the Users
mailing list