<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
</head>
<body text="#000000" bgcolor="#FFFFFF">
<p>Hello,</p>
<p>from_tag and to_tag are actually crucial to match the invite and
the bye records. call-id is usually unique per call, but by SIP
RFC, a dialog is identified by (call-id, from-tag, to-tag) you
have to use all three for matching.</p>
<p>Back to the question, I don't think at this moment is any option
to disable storing those values, c coding would be needed to make
that optional.<br>
</p>
<p>Cheers,<br>
Daniel<br>
</p>
<div class="moz-cite-prefix">On 20.03.19 22:49, Z wrote:<br>
</div>
<blockquote type="cite"
cite="mid:CAGRrqoqTDpoL7WW3LjcaF4AuUhbP_atQT-g5oGb8qB5XQduM8Q@mail.gmail.com">
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
<div dir="ltr">
<div dir="ltr">Hi,
<div><br>
</div>
<div>I am using acc module for mainly duration. However,
from_user, to_user, xcarrier etc are also important here.
Was just curios if we can remove unnecessary columns someway
since first insert is coming from acc_db_request.
Alternatively, I can use sqlops. Please let me know.</div>
<div><br>
</div>
<div>Appreciate you help.</div>
<div><br>
</div>
<div>Z</div>
</div>
</div>
<br>
<div class="gmail_quote">
<div dir="ltr" class="gmail_attr">On Wed, Mar 20, 2019 at 12:20
PM Henning Westerholt <<a href="mailto:hw@kamailio.org"
moz-do-not-send="true">hw@kamailio.org</a>> wrote:<br>
</div>
<blockquote class="gmail_quote" style="margin:0px 0px 0px
0.8ex;border-left-width:1px;border-left-style:solid;border-left-color:rgb(204,204,204);padding-left:1ex">Am
Dienstag, 19. März 2019, 06:20:43 CET schrieb Z:<br>
> The version is 4.2 on Debian stretch.<br>
> <br>
> Please advise how one can ignore/skip/remove *from_tag*
and *to_tag* in<br>
> *acc_db_request* from *acc module* in Kamailio.cfg.<br>
> <br>
> Appreciate your help.<br>
<br>
Hello Z,<br>
<br>
please don't address individual persons if you write to this
list, there are <br>
many people subscribed. :-)<br>
<br>
The two tags are output important, as the acc module does not
write complete <br>
dialogs, only SIP transactions. You'll probably need them to
do proper <br>
accounting.<br>
<br>
Maybe you can explain what do you want to achieve?<br>
<br>
Best regards,<br>
<br>
Henning<br>
<br>
-- <br>
Henning Westerholt - <a href="https://skalatan.de/blog/"
rel="noreferrer" target="_blank" moz-do-not-send="true">https://skalatan.de/blog/</a><br>
Kamailio services - <a href="https://skalatan.de/services"
rel="noreferrer" target="_blank" moz-do-not-send="true">https://skalatan.de/services</a><br>
<br>
</blockquote>
</div>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<pre class="moz-quote-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>
<pre class="moz-signature" cols="72">--
Daniel-Constantin Mierla -- <a class="moz-txt-link-abbreviated" href="http://www.asipto.com">www.asipto.com</a>
<a class="moz-txt-link-abbreviated" href="http://www.twitter.com/miconda">www.twitter.com/miconda</a> -- <a class="moz-txt-link-abbreviated" href="http://www.linkedin.com/in/miconda">www.linkedin.com/in/miconda</a>
Kamailio World Conference - May 6-8, 2019 -- <a class="moz-txt-link-abbreviated" href="http://www.kamailioworld.com">www.kamailioworld.com</a>
Kamailio Advanced Training - Mar 25-27, 2019, in Washington, DC, USA -- <a class="moz-txt-link-abbreviated" href="http://www.asipto.com">www.asipto.com</a></pre>
</body>
</html>