[OpenSIPS-Users] acc problem
ASHWINI NAIDU
ashwini.naidu at gmail.com
Tue Feb 10 14:03:24 CET 2009
hi bogdan,
I donot get any record in DB. I have written below the setting for acc made.
# ----- acc params -----
/* what sepcial events should be accounted ? */
modparam("acc", "db_url", "mysql://opensips:opensipsrw@localhost/opensips")
modparam("acc", "early_media", 1)
modparam("acc", "report_ack", 1)
modparam("acc", "report_cancels", 1)
/* by default ww do not adjust the direct of the sequential requests.
if you enable this parameter, be sure the enable "append_fromtag"
in "rr" module */
modparam("acc", "detect_direction", 0)
/* account triggers (flags) */
modparam("acc", "failed_transaction_flag", 3)
modparam("acc", "log_flag", 1)
modparam("acc", "log_missed_flag", 2)
/* uncomment the following lines to enable DB accounting also */
modparam("acc", "db_flag", 1)
modparam("acc", "db_missed_flag", 2)
On Tue, Feb 10, 2009 at 6:27 PM, Bogdan-Andrei Iancu <bogdan at voice-system.ro
> wrote:
> You mean you do not get any record in DB or only the db_extra values are
> missing?
>
> Do you set the acc flag in your script?
>
> Regards,
> Bogdan
>
> ASHWINI NAIDU wrote:
>
>> oops sorry
>>
>> modparam("acc", "db_url", "mysql://opensips:opensipsrw@localhost
>> /opensips")
>> modparam("acc", "db_extra",
>> "src_user=$fU;src_domain=$fd;dst_user=$rU;dst_domain=$rd;src_ip=$si")
>>
>> this doesn't insert values into acc table.
>>
>>
>>
>> On Tue, Feb 10, 2009 at 6:03 PM, Bogdan-Andrei Iancu <
>> bogdan at voice-system.ro <mailto:bogdan at voice-system.ro>> wrote:
>>
>> Hi ASHWINI,
>>
>>
>> ASHWINI NAIDU wrote:
>>
>>
>> hi All,
>>
>> Installed opensips-1.4.4 . my acc module is supoorted with
>> mysql. but when i try to insert values into acc table using
>> the below command the acc table is not getting populated.
>>
>> What is the below command for insert into acc ?
>>
>> Regards,
>> Bogdan
>>
>>
>>
>> -- Thanking You,
>> Ashwini BR Naidu
>>
>> ------------------------------------------------------------------------
>>
>> _______________________________________________
>> Users mailing list
>> Users at lists.opensips.org <mailto:Users at lists.opensips.org>
>> http://lists.opensips.org/cgi-bin/mailman/listinfo/users
>>
>>
>>
>>
>>
>> --
>> Thanking You,
>> Ashwini BR Naidu
>>
>
>
--
Thanking You,
Ashwini BR Naidu
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.opensips.org/pipermail/users/attachments/20090210/d62bba36/attachment.htm
More information about the Users
mailing list