<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
</head>
<body text="#000000" bgcolor="#FFFFFF">
<p>Hello.</p>
<p>Take your accounting code for INVITE and copy and modify it like
this:</p>
<p> if (is_method("OPTIONS")) {<br>
setflag(FLT_ACC); # do accounting<br>
}<br>
</p>
<br>
<br>
<div class="moz-cite-prefix">08.09.2017 8:30, Vidja Prashant пишет:<br>
</div>
<blockquote type="cite"
cite="mid:CAH38zbtrSPjSFvi7qiBJr4D5uNBk7VRgbM0VxAmsOzg6CHKW5g@mail.gmail.com">
<div dir="ltr">
<p
style="box-sizing:border-box;margin-bottom:16px;color:rgb(36,41,46);font-family:-apple-system,BlinkMacSystemFont,"Segoe
UI",Helvetica,Arial,sans-serif,"Apple Color
Emoji","Segoe UI Emoji","Segoe UI
Symbol";font-size:14px;margin-top:0px">Hello,</p>
<p
style="box-sizing:border-box;margin-top:0px;margin-bottom:16px;color:rgb(36,41,46);font-family:-apple-system,BlinkMacSystemFont,"Segoe
UI",Helvetica,Arial,sans-serif,"Apple Color
Emoji","Segoe UI Emoji","Segoe UI
Symbol";font-size:14px">I have some feature required
changes in acc module.<br style="box-sizing:border-box">
In acc module we getting cdrs in database only which have<br
style="box-sizing:border-box">
METHOD=INVITE<br style="box-sizing:border-box">
METHOD=BYE<br style="box-sizing:border-box">
but in my setup I also get<br style="box-sizing:border-box">
METHOD=OPTIONS<br style="box-sizing:border-box">
so I need this entry also in acc table in kamailio database.</p>
<p
style="box-sizing:border-box;margin-top:0px;margin-bottom:16px;color:rgb(36,41,46);font-family:-apple-system,BlinkMacSystemFont,"Segoe
UI",Helvetica,Arial,sans-serif,"Apple Color
Emoji","Segoe UI Emoji","Segoe UI
Symbol";font-size:14px">so which changes i need to do in
kamailio acc module.... or other......<br
style="box-sizing:border-box">
my cdrs log I paste below which have mehod=options</p>
<p
style="box-sizing:border-box;margin-top:0px;margin-bottom:16px;color:rgb(36,41,46);font-family:-apple-system,BlinkMacSystemFont,"Segoe
UI",Helvetica,Arial,sans-serif,"Apple Color
Emoji","Segoe UI Emoji","Segoe UI
Symbol";font-size:14px">"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=<a
href="http://kamailio.org" moz-do-not-send="true">kamailio.org</a>;src_ip=1.0.0.127;to=<a
href="mailto:sip%3A%2B918866213320@sip.call.org"
moz-do-not-send="true">sip:+918866213320@sip.call.org</a>;tag=j90H6yy5pU6Xc;from=sip:918888888888@localhost;contact=;pai=;uri=sip:<a
href="mailto:you@kamailio.org"
style="box-sizing:border-box;background-color:transparent;color:rgb(3,102,214);text-decoration-line:none"
moz-do-not-send="true">you@kamailio.org</a>;onnet=0;rate=0.000333333"</p>
<p
style="box-sizing:border-box;margin-top:0px;color:rgb(36,41,46);font-family:-apple-system,BlinkMacSystemFont,"Segoe
UI",Helvetica,Arial,sans-serif,"Apple Color
Emoji","Segoe UI Emoji","Segoe UI
Symbol";font-size:14px;margin-bottom:0px">Thanks.. # #</p>
</div>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
Kamailio (SER) - Users Mailing List
<a class="moz-txt-link-abbreviated" href="mailto:sr-users@lists.kamailio.org">sr-users@lists.kamailio.org</a>
<a class="moz-txt-link-freetext" href="https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users">https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users</a>
</pre>
</blockquote>
<br>
</body>
</html>