<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    <meta content="text/html; charset=ISO-8859-1"
      http-equiv="Content-Type">
  </head>
  <body text="#000000" bgcolor="#ffffff">
    Exactly! The call duration is not correct in this case. That is "my"
    problem.<br>
    <br>
    Am 12.11.2010 15:23, schrieb Danny Nicholas:
    <blockquote cite="mid:201011121335.oACDZHNS009106@mail.debsinc.com"
      type="cite">
      <meta http-equiv="Content-Type" content="text/html;
        charset=ISO-8859-1">
      <meta name="Generator" content="Microsoft Word 11 (filtered
        medium)">
      <!--[if !mso]>
<style>
v\:* {behavior:url(#default#VML);}
o\:* {behavior:url(#default#VML);}
w\:* {behavior:url(#default#VML);}
.shape {behavior:url(#default#VML);}
</style>
<![endif]--><o:smarttagtype
        namespaceuri="urn:schemas-microsoft-com:office:smarttags"
        name="PersonName">
        <!--[if !mso]>
<style>
st1\:*{behavior:url(#default#ieooui) }
</style>
<![endif]-->
        <style>
<!--
 /* Font Definitions */
 @font-face
        {font-family:Tahoma;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
 /* 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:blue;
        text-decoration:underline;}
span.EmailStyle17
        {mso-style-type:personal-reply;
        font-family:Arial;
        color:navy;}
@page Section1
        {size:8.5in 11.0in;
        margin:1.0in 1.25in 1.0in 1.25in;}
div.Section1
        {page:Section1;}
-->
</style>
        <div class="Section1">
          <div>
            <div class="MsoNormal" style="text-align: center;"
              align="center"><font face="Times New Roman" size="3"><span
                  style="font-size: 12pt;">
                  <hr tabindex="-1" width="100%" align="center" size="2">
                </span></font></div>
            <p class="MsoNormal"><b><font face="Tahoma" size="2"><span
                    style="font-size: 10pt; font-family: Tahoma;
                    font-weight: bold;">From:</span></font></b><font
                face="Tahoma" size="2"><span style="font-size: 10pt;
                  font-family: Tahoma;">
                  <a class="moz-txt-link-abbreviated" href="mailto:asterisk-users-bounces@lists.digium.com">asterisk-users-bounces@lists.digium.com</a>
                  [<a class="moz-txt-link-freetext" href="mailto:asterisk-users-bounces@lists.digium.com">mailto:asterisk-users-bounces@lists.digium.com</a>] <b><span
                      style="font-weight: bold;">On Behalf Of </span></b>Olivier<br>
                  <b><span style="font-weight: bold;">Sent:</span></b>
                  Friday, November 12, 2010
                  8:12 AM<br>
                  <b><span style="font-weight: bold;">To:</span></b> <st1:personname
                    w:st="on">Asterisk Users Mailing List -
                    Non-Commercial Discussion</st1:personname><br>
                  <b><span style="font-weight: bold;">Subject:</span></b>
                  Re: [asterisk-users]
                  Asterisk 1.6.20 / CDR issue with app-dial / bug or
                  feature?</span></font><o:p></o:p></p>
          </div>
          <p class="MsoNormal"><font face="Times New Roman" size="3"><span
                style="font-size: 12pt;"><o:p>&nbsp;</o:p></span></font></p>
          <p class="MsoNormal" style="margin-bottom: 12pt;"><font
              face="Times New Roman" size="3"><span style="font-size:
                12pt;"><o:p>&nbsp;</o:p></span></font></p>
          <div>
            <p class="MsoNormal"><font face="Times New Roman" size="3"><span
                  style="font-size: 12pt;">2010/11/12 Thorsten G&ouml;llner
                  &lt;<a moz-do-not-send="true"
                    href="mailto:tg@ovm-group.com">tg@ovm-group.com</a>&gt;<o:p></o:p></span></font></p>
            <p class="MsoNormal"><font face="Times New Roman" size="3"><span
                  style="font-size: 12pt;">Hi,<br>
                  <br>
                  it's me again with a cdr-issue. I have the following
                  example<br>
                  extensions.conf:<br>
                  <br>
                  # dial in<br>
                  exten =&gt; 100,1,Playback(hello)<br>
                  exten =&gt; 100,n,Dial(local/200,20,rtg)<br>
                  exten =&gt; 100,n,Playback(pleasewait)<br>
                  exten =&gt; 100,n,wait(10)<br>
                  exten =&gt; 100,n,Playback(goodbye)<br>
                  exten =&gt; 100,n,Hangup<br>
                  <br>
                  # for local dial<br>
                  exten =&gt; 200,1,Playback(hello)<br>
                  exten =&gt; 200,n,wait(10)<br>
                  exten =&gt; 100,n,Playback(goodbye)<br>
                  exten =&gt; 200,n,Hangup<br>
                  <br>
                  When dial into 100 I receive 2 CDRs immediatly after
                  finishing the local<br>
                  Dial-Command:<br>
                  <br>
"","my_phone_number","200","default","my_phone_number","Local/200@default-6697;2","","Hangup","","2010-11-11<br>
                  13:16:38","2010-11-11 13:16:38","2010-11-11<br>
13:16:50",12,12,"ANSWERED","DOCUMENTATION","1289481398.20231",""<br>
                  <br>
"","my_phone_number","100","pbx-in","my_phone_number","DAHDI/27-1","Local/200@default-6697;1","Dial","local/200,20,rtg","2010-11-11<br>
                  13:16:38","2010-11-11 13:16:38","2010-11-11<br>
13:16:50",12,12,"ANSWERED","DOCUMENTATION","1289481398.20229",""<br>
                  <br>
                  So the second CDR is my call but the duration ignores
                  that after the<br>
                  Dial-Command the call still continues (wait(10) and
                  Playback).<br>
                  <br>
                  Ist that a bug or feature?<br>
                  <br>
                  -Thorsten-<br>
                  <br>
                  <o:p></o:p></span></font></p>
            <p class="MsoNormal"><font color="navy" face="Arial"
                size="2"><span style="font-size: 10pt; font-family:
                  Arial; color: navy;">I&#8217;m going to vote for &#8220;feature&#8221;.&nbsp;
                  By definition, you processed two calls.&nbsp; Call 1 (CDR
                  2) is the &#8220;incoming&#8221;
                  call you made to 100.&nbsp; Call 2 (CDR 1) is the &#8220;local
                  call&#8221; made to
                  200 from the 100 context.&nbsp; What I find curious is that
                  the two calls are &#8220;exactly
                  synchronous&#8221;.&nbsp; I would have thought that it would take
                  at least 1 second
                  to &#8220;play hello&#8221; and start the new call.<o:p></o:p></span></font></p>
          </div>
        </div>
      </o:smarttagtype></blockquote>
    <br>
    <pre class="moz-signature" cols="72">-- 
Thorsten G&ouml;llner

OVM Office Voice Media GmbH
Herderstrasse 68
40237 D&uuml;sseldorf

Tel.: +49(0)211 / 618 57 53
Fax: +49(0)211 / 618 57 54</pre>
  </body>
</html>