Hello.
Take your accounting code for INVITE and copy and modify it like this:
if (is_method("OPTIONS")) {
setflag(FLT_ACC); # do accounting
}
Hello,
I have some feature required changes in acc module.
In acc module we getting cdrs in database only which have
METHOD=INVITE
METHOD=BYE
but in my setup I also get
METHOD=OPTIONS
so I need this entry also in acc table in kamailio database.so which changes i need to do in kamailio acc module.... or other......
my cdrs log I paste below which have mehod=options"Sep 7 07:16:53 sip /usr/local/sbin/kamailio[29264]: NOTICE: acc [acc.c:317]: acc_log_request(): ACC: request accounted: timestamp=1504783013;method=OPTIONS;from_tag=eUC9UgGrD;to_tag=j90H6yy5pU6Xc;call_id=2xJd0KCt-P;code=200;reason=OK;calling=46566464645;called=you;egressIP=kamailio.org;src_ip=1.0.0.127;to=sip:+918866213320@sip.call.org;tag=j90H6yy5pU6Xc;from=sip:918888888888@localhost;contact=;pai=;uri=sip:you@kamailio.org;onnet=0;rate=0.000333333"
Thanks.. # #
_______________________________________________ Kamailio (SER) - Users Mailing List sr-users@lists.kamailio.org https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users