<html xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:x="urn:schemas-microsoft-com:office:excel" xmlns:st1="urn:schemas-microsoft-com:office:smarttags" xmlns="http://www.w3.org/TR/REC-html40">

<head>
<meta http-equiv=Content-Type content="text/html; charset=us-ascii">
<meta name=Generator content="Microsoft Word 11 (filtered medium)">
<o:SmartTagType namespaceuri="urn:schemas-microsoft-com:office:smarttags"
 name="State"/>
<o:SmartTagType namespaceuri="urn:schemas-microsoft-com:office:smarttags"
 name="City"/>
<o:SmartTagType namespaceuri="urn:schemas-microsoft-com:office:smarttags"
 name="place"/>
<o:SmartTagType namespaceuri="urn:schemas-microsoft-com:office:smarttags"
 name="PersonName"/>
<!--[if !mso]>
<style>
st1\:*{behavior:url(#default#ieooui) }
</style>
<![endif]-->
<style>
<!--
 /* Style Definitions */
 p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman";}
a:link, span.MsoHyperlink
        {color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {color:purple;
        text-decoration:underline;}
p.MsoPlainText, li.MsoPlainText, div.MsoPlainText
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:10.0pt;
        font-family:"Courier New";}
@page Section1
        {size:8.5in 11.0in;
        margin:1.0in 77.95pt 1.0in 77.95pt;}
div.Section1
        {page:Section1;}
-->
</style>

</head>

<body lang=EN-US link=blue vlink=purple>

<div class=Section1>

<p class=MsoPlainText><font size=2 face="Courier New"><span style='font-size:
10.0pt'>I believe that this information is at least indirectly in the CDR.<o:p></o:p></span></font></p>

<table class=MsoNormalTable border=0 cellspacing=0 cellpadding=0 width=1257
 style='width:942.55pt;margin-left:4.65pt;border-collapse:collapse'>
 <tr height=17 style='height:12.75pt'>
  <td width=64 nowrap height=17 valign=bottom style='width:48.0pt;padding:0in 5.4pt 0in 5.4pt;
  height:12.75pt'>
  <p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
  font-family:Arial'><o:p>&nbsp;</o:p></span></font></p>
  </td>
  <td width=64 nowrap height=17 valign=bottom style='width:48.0pt;padding:0in 5.4pt 0in 5.4pt;
  height:12.75pt' x:num>
  <p class=MsoNormal align=right style='text-align:right'><font size=2
  face=Arial><span style='font-size:10.0pt;font-family:Arial'>104<o:p></o:p></span></font></p>
  </td>
  <td width=64 nowrap height=17 valign=bottom style='width:48.0pt;padding:0in 5.4pt 0in 5.4pt;
  height:12.75pt' x:num>
  <p class=MsoNormal align=right style='text-align:right'><font size=2
  face=Arial><span style='font-size:10.0pt;font-family:Arial'>106<o:p></o:p></span></font></p>
  </td>
  <td width=102 nowrap height=17 valign=bottom style='width:76.55pt;padding:
  0in 5.4pt 0in 5.4pt;height:12.75pt'>
  <p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
  font-family:Arial'>DLPN_DialPlan1<o:p></o:p></span></font></p>
  </td>
  <td width=64 nowrap height=17 valign=bottom style='width:48.0pt;padding:0in 5.4pt 0in 5.4pt;
  height:12.75pt'>
  <p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
  font-family:Arial'>&quot;Danny Nicholas&quot; &lt;104&gt;<o:p></o:p></span></font></p>
  </td>
  <td width=64 nowrap height=17 valign=bottom style='width:48.0pt;padding:0in 5.4pt 0in 5.4pt;
  height:12.75pt'>
  <p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
  font-family:Arial'>SIP/104-b790d5f8<o:p></o:p></span></font></p>
  </td>
  <td width=64 nowrap height=17 valign=bottom style='width:48.0pt;padding:0in 5.4pt 0in 5.4pt;
  height:12.75pt'>
  <p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
  font-family:Arial'>SIP/106-084585d0<o:p></o:p></span></font></p>
  </td>
  <td width=64 nowrap height=17 valign=bottom style='width:48.0pt;padding:0in 5.4pt 0in 5.4pt;
  height:12.75pt'>
  <p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
  font-family:Arial'>Dial<o:p></o:p></span></font></p>
  </td>
  <td width=124 nowrap height=17 valign=bottom style='width:92.85pt;padding:
  0in 5.4pt 0in 5.4pt;height:12.75pt'>
  <p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
  font-family:Arial'>SIP/106|20|iKkTtwW<o:p></o:p></span></font></p>
  </td>
  <td width=64 nowrap height=17 valign=bottom style='width:48.0pt;padding:0in 5.4pt 0in 5.4pt;
  height:12.75pt' x:num="39986.7421875">
  <p class=MsoNormal align=center style='text-align:center'><font size=2
  face=Arial><span style='font-size:10.0pt;font-family:Arial'>########<o:p></o:p></span></font></p>
  </td>
  <td width=64 nowrap height=17 valign=bottom style='width:48.0pt;padding:0in 5.4pt 0in 5.4pt;
  height:12.75pt' x:num="39986.742245370369">
  <p class=MsoNormal align=center style='text-align:center'><font size=2
  face=Arial><span style='font-size:10.0pt;font-family:Arial'>########<o:p></o:p></span></font></p>
  </td>
  <td width=64 nowrap height=17 valign=bottom style='width:48.0pt;padding:0in 5.4pt 0in 5.4pt;
  height:12.75pt' x:num="39986.743310185186">
  <p class=MsoNormal align=center style='text-align:center'><font size=2
  face=Arial><span style='font-size:10.0pt;font-family:Arial'>########<o:p></o:p></span></font></p>
  </td>
  <td width=64 nowrap height=17 valign=bottom style='width:48.0pt;padding:0in 5.4pt 0in 5.4pt;
  height:12.75pt' x:num>
  <p class=MsoNormal align=right style='text-align:right'><font size=2
  face=Arial><span style='font-size:10.0pt;font-family:Arial'>97<o:p></o:p></span></font></p>
  </td>
  <td width=64 nowrap height=17 valign=bottom style='width:48.0pt;padding:0in 5.4pt 0in 5.4pt;
  height:12.75pt' x:num>
  <p class=MsoNormal align=right style='text-align:right'><font size=2
  face=Arial><span style='font-size:10.0pt;font-family:Arial'>92<o:p></o:p></span></font></p>
  </td>
  <td width=79 nowrap height=17 valign=bottom style='width:59.3pt;padding:0in 5.4pt 0in 5.4pt;
  height:12.75pt'>
  <p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
  font-family:Arial'>ANSWERED<o:p></o:p></span></font></p>
  </td>
  <td width=120 nowrap height=17 valign=bottom style='width:89.85pt;padding:
  0in 5.4pt 0in 5.4pt;height:12.75pt'>
  <p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
  font-family:Arial'>DOCUMENTATION<o:p></o:p></span></font></p>
  </td>
  <td width=64 nowrap height=17 valign=bottom style='width:48.0pt;padding:0in 5.4pt 0in 5.4pt;
  height:12.75pt' x:num="1245692925.51">
  <p class=MsoNormal align=right style='text-align:right'><font size=2
  face=Arial><span style='font-size:10.0pt;font-family:Arial'>1.25E+09<o:p></o:p></span></font></p>
  </td>
 </tr>
</table>

<p class=MsoPlainText><font size=2 face="Courier New"><span style='font-size:
10.0pt'>If you subtract the 92 from the 97, you get the 5 second number you&#8217;re
looking for.&nbsp; These fields have actual names, but they aren&#8217;t
relevant to me since I&#8217;m using the flat-text CDR Master.csv.<o:p></o:p></span></font></p>

<p class=MsoPlainText><font size=2 face="Courier New"><span style='font-size:
10.0pt'><o:p>&nbsp;</o:p></span></font></p>

<p class=MsoPlainText><font size=2 face="Courier New"><span style='font-size:
10.0pt'>-----Original Message-----<br>
From: asterisk-users-bounces@lists.digium.com
[mailto:asterisk-users-bounces@lists.digium.com] On Behalf Of Carlo Dimaggio<br>
Sent: Tuesday, September 29, 2009 10:31 AM<br>
To: <st1:PersonName w:st="on">Asterisk Users Mailing List - Non-Commercial
 Discussion</st1:PersonName><br>
Subject: [asterisk-users] Retrieve Call setup - QoS</span></font></p>

<p class=MsoPlainText><font size=2 face="Courier New"><span style='font-size:
10.0pt'><o:p>&nbsp;</o:p></span></font></p>

<p class=MsoPlainText><font size=2 face="Courier New"><span style='font-size:
10.0pt'>Hi all,<o:p></o:p></span></font></p>

<p class=MsoPlainText><font size=2 face="Courier New"><span style='font-size:
10.0pt'><o:p>&nbsp;</o:p></span></font></p>

<p class=MsoPlainText><font size=2 face="Courier New"><span style='font-size:
10.0pt'>I would like to know if there is a function/setting for extracting
the&nbsp; <o:p></o:p></span></font></p>

<p class=MsoPlainText><font size=2 face="Courier New"><span style='font-size:
10.0pt'>call setup time in asterisk (1.4 or 1.6).<o:p></o:p></span></font></p>

<p class=MsoPlainText><font size=2 face="Courier New"><span style='font-size:
10.0pt'>I need this value for every call processed by asterisk as specified
in&nbsp; <o:p></o:p></span></font></p>

<p class=MsoPlainText><font size=2 face="Courier New"><span style='font-size:
10.0pt'>(ETSI TR 101 329-1 v3.1.2):<o:p></o:p></span></font></p>

<p class=MsoPlainText><font size=2 face="Courier New"><span style='font-size:
10.0pt'>Call set-up time is the time elapsed from the end of the user&nbsp; <o:p></o:p></span></font></p>

<p class=MsoPlainText><font size=2 face="Courier New"><span style='font-size:
10.0pt'>interface command by the caller (keypad dialling, E-mail alias
typing,&nbsp; <o:p></o:p></span></font></p>

<p class=MsoPlainText><font size=2 face="Courier New"><span style='font-size:
10.0pt'>etc.) to the receipt by the caller of a meaningful progress information<o:p></o:p></span></font></p>

<p class=MsoPlainText><font size=2 face="Courier New"><span style='font-size:
10.0pt'><o:p>&nbsp;</o:p></span></font></p>

<p class=MsoPlainText><font size=2 face="Courier New"><span style='font-size:
10.0pt'>In other words:<o:p></o:p></span></font></p>

<p class=MsoPlainText><font size=2 face="Courier New"><span style='font-size:
10.0pt'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Call setup time = time from call start
(caller press the # key -&nbsp; <o:p></o:p></span></font></p>

<p class=MsoPlainText><font size=2 face="Courier New"><span style='font-size:
10.0pt'>start the invite) to session progress (183) or ringing (180)<o:p></o:p></span></font></p>

<p class=MsoPlainText><font size=2 face="Courier New"><span style='font-size:
10.0pt'><o:p>&nbsp;</o:p></span></font></p>

<p class=MsoPlainText><font size=2 face="Courier New"><span style='font-size:
10.0pt'><o:p>&nbsp;</o:p></span></font></p>

<p class=MsoPlainText><font size=2 face="Courier New"><span style='font-size:
10.0pt'>Thanks and best regards,<o:p></o:p></span></font></p>

<p class=MsoPlainText><font size=2 face="Courier New"><span style='font-size:
10.0pt'>Carlo Dimaggio<o:p></o:p></span></font></p>

<p class=MsoPlainText><font size=2 face="Courier New"><span style='font-size:
10.0pt'><o:p>&nbsp;</o:p></span></font></p>

<p class=MsoPlainText><font size=2 face="Courier New"><span style='font-size:
10.0pt'>_______________________________________________<o:p></o:p></span></font></p>

<p class=MsoPlainText><font size=2 face="Courier New"><span style='font-size:
10.0pt'>-- Bandwidth and Colocation Provided by http://www.api-digital.com --<o:p></o:p></span></font></p>

<p class=MsoPlainText><font size=2 face="Courier New"><span style='font-size:
10.0pt'><o:p>&nbsp;</o:p></span></font></p>

<p class=MsoPlainText><font size=2 face="Courier New"><span style='font-size:
10.0pt'>AstriCon 2009 - October 13 - 15 <st1:place w:st="on"><st1:City w:st="on">Phoenix</st1:City>,
 <st1:State w:st="on">Arizona</st1:State></st1:place><o:p></o:p></span></font></p>

<p class=MsoPlainText><font size=2 face="Courier New"><span style='font-size:
10.0pt'>Register Now: http://www.astricon.net<o:p></o:p></span></font></p>

<p class=MsoPlainText><font size=2 face="Courier New"><span style='font-size:
10.0pt'><o:p>&nbsp;</o:p></span></font></p>

<p class=MsoPlainText><font size=2 face="Courier New"><span style='font-size:
10.0pt'>asterisk-users mailing list<o:p></o:p></span></font></p>

<p class=MsoPlainText><font size=2 face="Courier New"><span style='font-size:
10.0pt'>To UNSUBSCRIBE or update options visit:<o:p></o:p></span></font></p>

<p class=MsoPlainText><font size=2 face="Courier New"><span style='font-size:
10.0pt'>&nbsp;&nbsp; http://lists.digium.com/mailman/listinfo/asterisk-users<o:p></o:p></span></font></p>

</div>

</body>

</html>