<html>
<head>
<meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
</head>
<body text="#000000" bgcolor="#FFFFFF">
Hello,<br>
<br>
in the request route, for initial invite you can store $Ts in an
avp, like:<br>
<br>
$avp(itime) = $Ts;<br>
<br>
before relaying, set an onreply_route for the transaction and then
in onreply route, get the value like:<br>
<br>
if(status=="180") {<br>
$avp(pdd) = $Ts - $avp(itime);<br>
}<br>
<br>
In acc, you have to save the $avp(pdd).<br>
<br>
Cheers,<br>
Daniel<br>
<br>
<div class="moz-cite-prefix">On 21/01/14 14:53, Oliver Roth wrote:<br>
</div>
<blockquote
cite="mid:9314C4E9F7F36E4486505CD44049171734762B82@TKEXC-clean.telco.triotel.ch"
type="cite">
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<meta name="Generator" content="Microsoft Word 15 (filtered
medium)">
<style><!--
/* Font Definitions */
@font-face
{font-family:Wingdings;
panose-1:5 0 0 0 0 0 0 0 0 0;}
@font-face
{font-family:"Cambria Math";
panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
{font-family:Calibri;
panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
{font-family:Verdana;
panose-1:2 11 6 4 3 5 4 4 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0cm;
margin-bottom:.0001pt;
font-size:11.0pt;
font-family:"Calibri","sans-serif";
mso-fareast-language:EN-US;}
a:link, span.MsoHyperlink
{mso-style-priority:99;
color:#0563C1;
text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
{mso-style-priority:99;
color:#954F72;
text-decoration:underline;}
span.E-MailFormatvorlage17
{mso-style-type:personal-compose;
font-family:"Calibri","sans-serif";
color:windowtext;}
.MsoChpDefault
{mso-style-type:export-only;
font-family:"Calibri","sans-serif";
mso-fareast-language:EN-US;}
@page WordSection1
{size:612.0pt 792.0pt;
margin:70.85pt 70.85pt 2.0cm 70.85pt;}
div.WordSection1
{page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
<div class="WordSection1">
<p class="MsoNormal">Hi all<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal"><span lang="EN-GB">Question about an
additional cdr information.<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-GB">We need to get the pdd
value – means a time value till the user gets a ringback or
an error- to track the delay, till a connection is done
</span><span style="font-family:Wingdings" lang="EN-GB">à</span><span
lang="EN-GB"> quality issue for customer.<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-GB"><o:p> </o:p></span></p>
<p class="MsoNormal"><span
style="font-size:9.0pt;font-family:"Verdana","sans-serif";color:black;background:whitesmoke"
lang="EN-GB">5.6.1 Definition of Post Dial Delay</span><span
style="font-size:9.0pt;font-family:"Verdana","sans-serif";color:black"
lang="EN-GB"><br>
<span style="background:whitesmoke">Post Dial Delay (PDD) is
experienced by the originating customer as the time from
the sending of the final dialled digit to the point at
which they hear ring tone or other in-band information.
Where the originating network is required to play an
announcement before completing the call then this
definition of PDD excludes the duration of such
announcements.<o:p></o:p></span></span></p>
<p class="MsoNormal"><span
style="font-size:9.0pt;font-family:"Verdana","sans-serif";color:black;background:whitesmoke"
lang="EN-GB"><o:p> </o:p></span></p>
<p class="MsoNormal"><span
style="font-size:9.0pt;font-family:"Verdana","sans-serif";color:black;background:whitesmoke"
lang="EN-GB">How can this be done in Kamailio?<o:p></o:p></span></p>
<p class="MsoNormal"><span
style="font-size:9.0pt;font-family:"Verdana","sans-serif";color:black;background:whitesmoke"
lang="EN-GB"><o:p> </o:p></span></p>
<p class="MsoNormal"><span
style="font-size:9.0pt;font-family:"Verdana","sans-serif";color:black;background:whitesmoke"
lang="EN-GB">We use the carrierroute module with different
fallback carriers.<o:p></o:p></span></p>
<p class="MsoNormal"><span
style="font-size:9.0pt;font-family:"Verdana","sans-serif";color:black;background:whitesmoke"
lang="EN-GB">Kamailio version 3.3.5<o:p></o:p></span></p>
<p class="MsoNormal"><span
style="font-size:9.0pt;font-family:"Verdana","sans-serif";color:black;background:whitesmoke"
lang="EN-GB"><o:p> </o:p></span></p>
<p class="MsoNormal"><span
style="font-size:9.0pt;font-family:"Verdana","sans-serif";color:black;background:whitesmoke"
lang="EN-GB"><o:p> </o:p></span></p>
<p class="MsoNormal"><span
style="font-size:9.0pt;font-family:"Verdana","sans-serif";color:black;background:whitesmoke"
lang="EN-GB">Thanks in advance<o:p></o:p></span></p>
<p class="MsoNormal"><span
style="font-size:9.0pt;font-family:"Verdana","sans-serif";color:black;background:whitesmoke"
lang="EN-GB">Oli</span><span lang="EN-GB"><o:p></o:p></span></p>
</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://www.asipto.com">http://www.asipto.com</a>
<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></pre>
</body>
</html>