<html>
<head>
<meta content="text/html; charset=windows-1252"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
Actually there is nothing special to rely on what so ever
prerogatives in this case. Writing cdrs based on dialog module was
added by 1&1 long time ago (iirc) and they have couple of
millions of subscribers and tons of calls, so this approach might
have been better for them from various reasons. In big telcos, cdrs
are aggregated from many sources, and a lot of nodes collect CDRs
just for statistics or monitoring.<br>
<br>
The fact is that the dialog can be discarded on timeout without
sending bye, being the default behaviour -- in this case the cdr is
produced. When enabling to send bye, the cdr is not produced -- it
doesn't seem to be anything more clear that this is a bug.<br>
<br>
I rely on transaction accounting (acc alone), finding it more
flexible to store various events, even during the call. I guess most
of the people do the same in a proxy. On the other hand, dialog
module adds a call-stateful proxy layer, which I use extensively for
limiting active call as well as terminating on timeout with byes.
But like you, I write the stop event for cdrs from tm local request
event.<br>
<br>
Cheers,<br>
Daniel<br>
<br>
<div class="moz-cite-prefix">On 15/04/15 17:25, Alex Balashov wrote:<br>
</div>
<blockquote
cite="mid:20150415152515.5378127.42783.47401@evaristesys.com"
type="cite">
<div style="width: 100%; font-size: initial; font-family: Calibri,
'Slate Pro', sans-serif; color: rgb(31, 73, 125); text-align:
initial; background-color: rgb(255, 255, 255);"><span
style="font-family: Calibri, 'Slate Pro', sans-serif;
line-height: initial; font-size: initial; text-align:
initial;">Fair enough. It is your prerogative to take a
definitive stance on the issue. I was just voicing personal
view that truly complete accounting can only be done from SIP
message-oriented perspective in software that does not
formally have a dialog layer.</span></div>
<div style="width: 100%; font-size: initial; font-family: Calibri,
'Slate Pro', sans-serif; color: rgb(31, 73, 125); text-align:
initial; background-color: rgb(255, 255, 255);"><span
style="font-family: Calibri, 'Slate Pro', sans-serif;
line-height: initial;"><br>
</span></div>
<div style="font-size: initial; font-family: Calibri, 'Slate Pro',
sans-serif; color: rgb(31, 73, 125); text-align: initial;
background-color: rgb(255, 255, 255);">--<br>
Alex Balashov | Principal | Evariste Systems LLC<br>
303 Perimeter Center North, Suite 300<br>
Atlanta, GA 30346<br>
United States<br>
<br>
Tel: +1-800-250-5920 (toll-free) / +1-678-954-0671 (direct)<br>
Web: <a class="moz-txt-link-freetext" href="http://www.evaristesys.com/">http://www.evaristesys.com/</a>, <a class="moz-txt-link-freetext" href="http://www.csrpswitch.com/">http://www.csrpswitch.com/</a><br>
<br>
Sent from my BlackBerry.</div>
<table style="background-color:white;border-spacing:0px;"
width="100%">
<tbody>
<tr>
<td colspan="2" style="font-size: initial; text-align:
initial; background-color: rgb(255, 255, 255);">
<div style="border-style: solid none none;
border-top-color: rgb(181, 196, 223); border-top-width:
1pt; padding: 3pt 0in 0in; font-family: Tahoma, 'BB
Alpha Sans', 'Slate Pro'; font-size: 10pt;">
<div><b>From: </b>Daniel-Constantin Mierla</div>
<div><b>Sent: </b>Wednesday, April 15, 2015 10:59</div>
<div><b>To: </b>Kamailio (SER) - Users Mailing List</div>
<div><b>Reply To: </b><a class="moz-txt-link-abbreviated" href="mailto:miconda@gmail.com">miconda@gmail.com</a></div>
<div><b>Subject: </b>Re: [SR-Users] No CDR is written
when dialog timeouts</div>
</div>
</td>
</tr>
</tbody>
</table>
<br>
<div id="_originalContent" style="background-color: rgb(255, 255,
255);">
<meta content="text/html; charset=windows-1252"
http-equiv="Content-Type">
Looks like the topic diverged in side discussion, irrelevant to
the issue.<br>
<br>
The report was related to the fact that the dialog+acc is not
recording the CDRs when sending the BYE on timeout. That is
obviously an issue because there is dedicated functionality for
this case. I am not the original developer of the feature, but
it appears that it covered the case when dialog was not
configured to send the BYE on timeout, just silenty discard the
associated structure. So this has to be fixed. It is no relation
with what proxy can do or not, sending BYE at the end of the
dialog is not breaking anything in the existing dialog, it just
terminates it on both sides.<br>
<br>
Cheers,<br>
Daniel<br>
<br>
<div class="moz-cite-prefix">On 15/04/15 16:45, Alex Balashov
wrote:<br>
</div>
<blockquote
cite="mid:20150415144556.5378127.32058.47373@evaristesys.com"
type="cite">
<div style="width: 100%; font-size: initial; font-family:
Calibri, 'Slate Pro', sans-serif; color: rgb(31, 73, 125);
text-align: initial; background-color: rgb(255, 255, 255);">Hook,
route, whatever you want to call it. The bottom line is that
you cannot rely on the proxy's dialog layer, already a
tenuous concept inasmuch as it's implemented strictly on top
of transaction state specifically and derived solely from
SIP signalling generally, to expose to you all conceivable
outcomes, including outcomes that do not conform to a
standard transition of dialog states.</div>
<div style="width: 100%; font-size: initial; font-family:
Calibri, 'Slate Pro', sans-serif; color: rgb(31, 73, 125);
text-align: initial; background-color: rgb(255, 255, 255);"><br>
</div>
<div style="width: 100%; font-size: initial; font-family:
Calibri, 'Slate Pro', sans-serif; color: rgb(31, 73, 125);
text-align: initial; background-color: rgb(255, 255, 255);">The
dialog module is just a tool. It cannot replace the
fundamentals.</div>
<div style="width: 100%; font-size: initial; font-family:
Calibri, 'Slate Pro', sans-serif; color: rgb(31, 73, 125);
text-align: initial; background-color: rgb(255, 255, 255);"><br
style="display:initial">
</div>
<div style="font-size: initial; font-family: Calibri, 'Slate
Pro', sans-serif; color: rgb(31, 73, 125); text-align:
initial; background-color: rgb(255, 255, 255);">--<br>
Alex Balashov | Principal | Evariste Systems LLC<br>
303 Perimeter Center North, Suite 300<br>
Atlanta, GA 30346<br>
United States<br>
<br>
Tel: +1-800-250-5920 (toll-free) / +1-678-954-0671 (direct)<br>
Web: <a moz-do-not-send="true" class="moz-txt-link-freetext"
href="http://www.evaristesys.com/">http://www.evaristesys.com/</a>, <a
moz-do-not-send="true" class="moz-txt-link-freetext"
href="http://www.csrpswitch.com/">http://www.csrpswitch.com/</a><br>
<br>
Sent from my BlackBerry.</div>
<br>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
<a moz-do-not-send="true" class="moz-txt-link-abbreviated" href="mailto:sr-users@lists.sip-router.org">sr-users@lists.sip-router.org</a>
<a moz-do-not-send="true" class="moz-txt-link-freetext" href="http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users">http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users</a>
</pre>
</blockquote>
<br>
<pre class="moz-signature" cols="72">--
Daniel-Constantin Mierla
<a moz-do-not-send="true" class="moz-txt-link-freetext" href="http://twitter.com/#%21/miconda">http://twitter.com/#!/miconda</a> - <a moz-do-not-send="true" class="moz-txt-link-freetext" href="http://www.linkedin.com/in/miconda">http://www.linkedin.com/in/miconda</a>
Kamailio World Conference, May 27-29, 2015
Berlin, Germany - <a moz-do-not-send="true" class="moz-txt-link-freetext" href="http://www.kamailioworld.com">http://www.kamailioworld.com</a></pre>
<br>
<!--end of _originalContent --></div>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:sr-users@lists.sip-router.org">sr-users@lists.sip-router.org</a>
<a class="moz-txt-link-freetext" href="http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users">http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users</a>
</pre>
</blockquote>
<br>
<pre class="moz-signature" cols="72">--
Daniel-Constantin Mierla
<a class="moz-txt-link-freetext" href="http://twitter.com/#!/miconda">http://twitter.com/#!/miconda</a> - <a class="moz-txt-link-freetext" href="http://www.linkedin.com/in/miconda">http://www.linkedin.com/in/miconda</a>
Kamailio World Conference, May 27-29, 2015
Berlin, Germany - <a class="moz-txt-link-freetext" href="http://www.kamailioworld.com">http://www.kamailioworld.com</a></pre>
</body>
</html>