[OpenSIPS-Devel] [ opensips-Bugs-3610750 ] ACC + CDR + EVI - Missing CDR
SourceForge.net
noreply at sourceforge.net
Sat Apr 13 15:51:14 CEST 2013
Bugs item #3610750, was opened at 2013-04-13 06:51
Message generated for change (Tracker Item Submitted) made by digipigeon
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=1086410&aid=3610750&group_id=232389
Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: modules
Group: 1.9.x
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: Digipigeon (digipigeon)
Assigned to: Nobody/Anonymous (nobody)
Summary: ACC + CDR + EVI - Missing CDR
Initial Comment:
Hello,
I have my ACC mod config as follows:
modparam("acc", "early_media", 0)
#modparam("acc", "report_ack", 1)
modparam("acc", "report_cancels", 1)
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)
modparam("acc", "db_extra", "from_uri=$fu;
to_uri=$avp(cdr_to_uri);
username=$Au;
source_ip=$avp(orig_ip);
gw_id=$avp(gw_id);
account_id=$avp(account_id);
user_agent=$hdr(user-agent);
contact=$hdr(contact);
event=$hdr(event);
group_id=$avp(group_id);
prefix=$avp(prefix);
name=$avp(destination_name);
tariff_id=$avp(tariff_id);
pdd_in=$avp(pdd_in);
pdd_out=$avp(pdd_out);
lrn_number=$avp(lrn_number)
") #Extra data
modparam("acc", "db_extra_bye", "release_reason=$DLG_dir")
modparam("acc", "cdr_flag", 1)
modparam("acc", "evi_flag", 1)
modparam("acc", "evi_missed_flag", 1)
modparam("acc", "evi_extra", "from_uri=$fu;
to_uri=$avp(cdr_to_uri);
username=$Au;
source_ip=$avp(orig_ip);
gw_id=$avp(gw_id);
account_id=$avp(account_id);
user_agent=$hdr(user-agent);
contact=$hdr(contact);
event=$hdr(event);
group_id=$avp(group_id);
prefix=$avp(prefix);
name=$avp(destination_name);
tariff_id=$avp(tariff_id);
pdd_in=$avp(pdd_in);
pdd_out=$avp(pdd_out);
lrn_number=$avp(lrn_number)
") #Extra data
modparam("acc", "evi_extra_bye", "release_reason=$DLG_dir")
Due to issue 3610016, I have NOT at present got the rabbitmq module enabled and I am NOT subscribing to any events in the startup route, however the evi configuration was setup as above as I did not feel it necessary to remove it while 3610016 was been worked on. I only noticed later on my pilot machine that CDR was not been recorded correctly, as soon as I removed all of the flags relating to acc, evi, everything worked as normal again.
I was able to see various BYE messages, but not the INVITE messages which recorded the duration, etc.
Regards Jonathan
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=1086410&aid=3610750&group_id=232389
More information about the Devel
mailing list