<html>
  <head>
    <meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    <div class="moz-cite-prefix">Ok, so if you set the log dir path, you
      are not seeing any actual files in that path?  There should be 1
      xml file for each call channel that made it all the way to the
      CS_REPORTING state.  If you do not see that, then I'd have to
      guess that there is something else in your configuration that is
      impacting this.  If I am correct, then it would help if you would
      provide the config and the debug logs from the FS console or
      fs_cli.<br>
      <br>
      <pre class="moz-signature" cols="72">-- 
Yossi Neiman

On 03/26/2015 03:18 PM, Sharath Kumar wrote:
</pre>
    </div>
    <blockquote
cite="mid:CY1PR0501MB1098359E5632F1162DDA450F84080@CY1PR0501MB1098.namprd05.prod.outlook.com"
      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:"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:"Segoe UI Symbol";
        panose-1:2 11 5 2 4 2 4 2 2 3;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman",serif;}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
span.EmailStyle17
        {mso-style-type:personal-reply;
        font-family:"Calibri",sans-serif;
        color:#1F497D;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-family:"Calibri",sans-serif;}
@page WordSection1
        {size:8.5in 11.0in;
        margin:1.0in 1.0in 1.0in 1.0in;}
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"><span
style="font-size:11.0pt;font-family:&quot;Calibri&quot;,sans-serif;color:#1F497D">Of
            course. I am only talking about successful calls and with
            the voice path present.
            <o:p></o:p></span></p>
        <p class="MsoNormal"><span
style="font-size:11.0pt;font-family:&quot;Calibri&quot;,sans-serif;color:#1F497D"><o:p> </o:p></span></p>
        <p class="MsoNormal"><b><span
              style="font-size:11.0pt;font-family:&quot;Calibri&quot;,sans-serif">From:</span></b><span
style="font-size:11.0pt;font-family:&quot;Calibri&quot;,sans-serif">
            <a class="moz-txt-link-abbreviated" href="mailto:freeswitch-users-bounces@lists.freeswitch.org">freeswitch-users-bounces@lists.freeswitch.org</a>
            [<a class="moz-txt-link-freetext" href="mailto:freeswitch-users-bounces@lists.freeswitch.org">mailto:freeswitch-users-bounces@lists.freeswitch.org</a>]
            <b>On Behalf Of </b>Anthony Minessale<br>
            <b>Sent:</b> Thursday, March 26, 2015 4:07 PM<br>
            <b>To:</b> FreeSWITCH Users Help<br>
            <b>Subject:</b> Re: [Freeswitch-users] XML CDR unpredictable
            ?<o:p></o:p></span></p>
        <p class="MsoNormal"><o:p> </o:p></p>
        <div>
          <p class="MsoNormal">Only if you actually have 2 legs, a
            failed call where the number is wrong etc will only have 1 <o:p></o:p></p>
        </div>
        <div>
          <p class="MsoNormal"><o:p> </o:p></p>
          <div>
            <p class="MsoNormal">On Thu, Mar 26, 2015 at 2:59 PM,
              Sharath Kumar &lt;<a moz-do-not-send="true"
                href="mailto:Sharath.Kumar@mezocliq.com" target="_blank">Sharath.Kumar@mezocliq.com</a>&gt;
              wrote:<o:p></o:p></p>
            <blockquote style="border:none;border-left:solid #CCCCCC
              1.0pt;padding:0in 0in 0in
              6.0pt;margin-left:4.8pt;margin-right:0in">
              <div>
                <div>
                  <p class="MsoNormal"
                    style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span
style="font-size:11.0pt;font-family:&quot;Calibri&quot;,sans-serif;color:#1F497D">I
                      am logging both legs. I believe the default
                      behavior is to generate cdrs for b-leg as well. I
                      tried by adding “log-b-leg” to true and also by
                      commenting the entry. Neither seemed to matter. If
                      I do see a CDR I only see 1 request. I thought by
                      enabling both “a” and “b” legs I should see 2 cdr
                      request correct ?</span><o:p></o:p></p>
                  <p class="MsoNormal"
                    style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span
style="font-size:11.0pt;font-family:&quot;Calibri&quot;,sans-serif;color:#1F497D"> </span><o:p></o:p></p>
                  <p class="MsoNormal"
                    style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span
style="font-size:11.0pt;font-family:&quot;Calibri&quot;,sans-serif;color:#1F497D">Thank
                      you Steven</span><o:p></o:p></p>
                  <p class="MsoNormal"
                    style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><b><span
style="font-size:11.0pt;font-family:&quot;Calibri&quot;,sans-serif">From:</span></b><span
style="font-size:11.0pt;font-family:&quot;Calibri&quot;,sans-serif">
                      <a moz-do-not-send="true"
                        href="mailto:freeswitch-users-bounces@lists.freeswitch.org"
                        target="_blank">freeswitch-users-bounces@lists.freeswitch.org</a>
                      [mailto:<a moz-do-not-send="true"
                        href="mailto:freeswitch-users-bounces@lists.freeswitch.org"
                        target="_blank">freeswitch-users-bounces@lists.freeswitch.org</a>]
                      <b>On Behalf Of </b>Steven Ayre<br>
                      <b>Sent:</b> Thursday, March 26, 2015 3:40 PM<br>
                      <b>To:</b> FreeSWITCH Users Help<br>
                      <b>Subject:</b> Re: [Freeswitch-users] XML CDR
                      unpredictable ?</span><o:p></o:p></p>
                  <p class="MsoNormal"
                    style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"> <o:p></o:p></p>
                  <div>
                    <p class="MsoNormal"
                      style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto">Are
                      you logging b-leg CDRs as well as a-leg?<o:p></o:p></p>
                  </div>
                  <div>
                    <div>
                      <div>
                        <p class="MsoNormal"
                          style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"> <o:p></o:p></p>
                        <div>
                          <p class="MsoNormal"
                            style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto">On
                            26 March 2015 at 18:48, Sharath Kumar &lt;<a
                              moz-do-not-send="true"
                              href="mailto:Sharath.Kumar@mezocliq.com"
                              target="_blank">Sharath.Kumar@mezocliq.com</a>&gt;
                            wrote:<o:p></o:p></p>
                          <blockquote
                            style="border:none;border-left:solid #CCCCCC
                            1.0pt;padding:0in 0in 0in
6.0pt;margin-left:4.8pt;margin-top:5.0pt;margin-right:0in;margin-bottom:5.0pt">
                            <div>
                              <div>
                                <div>
                                  <div>
                                    <div>
                                      <div>
                                        <div>
                                          <div>
                                            <div>
                                              <p class="MsoNormal"
                                                style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span
style="font-size:11.0pt;font-family:&quot;Calibri&quot;,sans-serif;color:#1F497D">All,</span><o:p></o:p></p>
                                              <p class="MsoNormal"
                                                style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span
style="font-size:11.0pt;font-family:&quot;Calibri&quot;,sans-serif;color:#1F497D"> </span><o:p></o:p></p>
                                              <p class="MsoNormal"
                                                style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span
style="font-size:11.0pt;font-family:&quot;Calibri&quot;,sans-serif;color:#1F497D">I
                                                  use mod_cdr_xml with
                                                  xml_curl and receive
                                                  messages on the
                                                  backend PHP for call
                                                  control logic. I am a
                                                  little mystified by
                                                  the XML CDR requests.
                                                  I see in the logs
                                                  CS_HANGUP to
                                                  CS_REPORTING but I
                                                  don’t always see the
                                                  XML requests but I do
                                                  see for dialplan so
                                                  the call does succeed.
                                                  I don’t understand why
                                                  the CDRs XML requests
                                                  are intermittent?
                                                  Also, I changed the
                                                  config to log the
                                                  b-leg cdr as well, it
                                                  didn’t seem to make
                                                  any impact. </span>
                                                <o:p></o:p></p>
                                              <p class="MsoNormal"
                                                style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span
style="font-size:11.0pt;font-family:&quot;Calibri&quot;,sans-serif;color:#1F497D">So
                                                  for each leg do I
                                                  expect a CDR ? Also,if
                                                  I do a redirect and
                                                  then a bridge I only
                                                  see the redirect app’s
                                                  cdr and not the bridge
                                                  apps. I need the
                                                  bridge app’s cdr since
                                                  It contains QOS
                                                  metrics for that call.</span><o:p></o:p></p>
                                              <p class="MsoNormal"
                                                style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span
style="font-size:11.0pt;font-family:&quot;Calibri&quot;,sans-serif;color:#1F497D"> </span><o:p></o:p></p>
                                              <p class="MsoNormal"
                                                style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span
style="font-size:11.0pt;font-family:&quot;Calibri&quot;,sans-serif;color:#1F497D">A
                                                  little help would be
                                                  appreciated.</span><o:p></o:p></p>
                                              <p class="MsoNormal"
                                                style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span
style="font-size:11.0pt;font-family:&quot;Calibri&quot;,sans-serif;color:#1F497D"> </span><o:p></o:p></p>
                                              <p class="MsoNormal"
                                                style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span
style="font-size:11.0pt;font-family:&quot;Calibri&quot;,sans-serif;color:#1F497D">Thank
                                                  you</span><o:p></o:p></p>
                                              <p class="MsoNormal"
                                                style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span
style="font-size:11.0pt;font-family:&quot;Calibri&quot;,sans-serif;color:#1F497D">Sharath</span><o:p></o:p></p>
                                            </div>
                                          </div>
                                        </div>
                                      </div>
                                    </div>
                                  </div>
                                </div>
                              </div>
                            </div>
                            <p class="MsoNormal"
                              style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><br>
_________________________________________________________________________<br>
                              Professional FreeSWITCH Consulting
                              Services:<br>
                              <a moz-do-not-send="true"
                                href="mailto:consulting@freeswitch.org"
                                target="_blank">consulting@freeswitch.org</a><br>
                              <a moz-do-not-send="true"
                                href="http://www.freeswitchsolutions.com"
                                target="_blank">http://www.freeswitchsolutions.com</a><br>
                              <br>
                              Official FreeSWITCH Sites<br>
                              <a moz-do-not-send="true"
                                href="http://www.freeswitch.org"
                                target="_blank">http://www.freeswitch.org</a><br>
                              <a moz-do-not-send="true"
                                href="http://confluence.freeswitch.org"
                                target="_blank">http://confluence.freeswitch.org</a><br>
                              <a moz-do-not-send="true"
                                href="http://www.cluecon.com"
                                target="_blank">http://www.cluecon.com</a><br>
                              <br>
                              FreeSWITCH-users mailing list<br>
                              <a moz-do-not-send="true"
                                href="mailto:FreeSWITCH-users@lists.freeswitch.org"
                                target="_blank">FreeSWITCH-users@lists.freeswitch.org</a><br>
                              <a moz-do-not-send="true"
                                href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users"
                                target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
                              UNSUBSCRIBE:<a moz-do-not-send="true"
                                href="http://lists.freeswitch.org/mailman/options/freeswitch-users"
                                target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
                              <a moz-do-not-send="true"
                                href="http://www.freeswitch.org"
                                target="_blank">http://www.freeswitch.org</a><o:p></o:p></p>
                          </blockquote>
                        </div>
                        <p class="MsoNormal"
                          style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"> <o:p></o:p></p>
                      </div>
                    </div>
                  </div>
                </div>
              </div>
              <p class="MsoNormal"><br>
_________________________________________________________________________<br>
                Professional FreeSWITCH Consulting Services:<br>
                <a moz-do-not-send="true"
                  href="mailto:consulting@freeswitch.org">consulting@freeswitch.org</a><br>
                <a moz-do-not-send="true"
                  href="http://www.freeswitchsolutions.com"
                  target="_blank">http://www.freeswitchsolutions.com</a><br>
                <br>
                Official FreeSWITCH Sites<br>
                <a moz-do-not-send="true"
                  href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
                <a moz-do-not-send="true"
                  href="http://confluence.freeswitch.org"
                  target="_blank">http://confluence.freeswitch.org</a><br>
                <a moz-do-not-send="true" href="http://www.cluecon.com"
                  target="_blank">http://www.cluecon.com</a><br>
                <br>
                FreeSWITCH-users mailing list<br>
                <a moz-do-not-send="true"
                  href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a><br>
                <a moz-do-not-send="true"
                  href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users"
                  target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
                UNSUBSCRIBE:<a moz-do-not-send="true"
                  href="http://lists.freeswitch.org/mailman/options/freeswitch-users"
                  target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
                <a moz-do-not-send="true"
                  href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><o:p></o:p></p>
            </blockquote>
          </div>
          <p class="MsoNormal"><br>
            <br clear="all">
            <o:p></o:p></p>
          <div>
            <p class="MsoNormal"><o:p> </o:p></p>
          </div>
          <p class="MsoNormal">-- <o:p></o:p></p>
          <div>
            <div>
              <p class="MsoNormal">Anthony Minessale II       <span
                  style="font-family:&quot;Segoe UI
                  Symbol&quot;,sans-serif">
                  ♬</span> @anthmfs  <span
                  style="font-family:&quot;Segoe UI
                  Symbol&quot;,sans-serif">♬</span> @FreeSWITCH  <span
                  style="font-family:&quot;Segoe UI
                  Symbol&quot;,sans-serif">♬</span><o:p></o:p></p>
              <div>
                <p class="MsoNormal"><o:p> </o:p></p>
                <div>
                  <p class="MsoNormal"><span
                      style="font-family:&quot;Segoe UI
                      Symbol&quot;,sans-serif">☞</span>
                    <a moz-do-not-send="true"
                      href="http://freeswitch.org/" target="_blank">http://freeswitch.org/</a>
                     <span style="font-family:&quot;Segoe UI
                      Symbol&quot;,sans-serif">☞</span>
                    <a moz-do-not-send="true" href="http://cluecon.com/"
                      target="_blank">http://cluecon.com/</a>  <span
                      style="font-family:&quot;Segoe UI
                      Symbol&quot;,sans-serif">☞</span>
                    <a moz-do-not-send="true"
                      href="http://twitter.com/FreeSWITCH"
                      target="_blank">http://twitter.com/FreeSWITCH</a><o:p></o:p></p>
                </div>
                <div>
                  <div>
                    <p class="MsoNormal" style="margin-bottom:12.0pt"><span
                        style="font-family:&quot;Segoe UI
                        Symbol&quot;,sans-serif">☞</span>
                      <a moz-do-not-send="true"
                        href="http://irc.freenode.net" target="_blank">irc.freenode.net</a>
                      #freeswitch <span style="font-family:&quot;Segoe
                        UI Symbol&quot;,sans-serif">☞</span>
                      <u><a moz-do-not-send="true"
                          href="http://freeswitch.org/g+"
                          target="_blank">http://freeswitch.org/g+</a></u><o:p></o:p></p>
                  </div>
                  <div>
                    <p class="MsoNormal">ClueCon Weekly Development
                      Call <o:p></o:p></p>
                  </div>
                  <div>
                    <p class="MsoNormal"><span
                        style="font-family:&quot;Segoe UI
                        Symbol&quot;,sans-serif">☎</span> <a
                        moz-do-not-send="true"
                        href="mailto:sip%3A888@conference.freeswitch.org"
                        target="_blank">sip:888@conference.freeswitch.org</a>
                       <span style="font-family:&quot;Segoe UI
                        Symbol&quot;,sans-serif">☎</span> +19193869900 <o:p></o:p></p>
                  </div>
                  <div>
                    <p class="MsoNormal"><o:p> </o:p></p>
                  </div>
                </div>
              </div>
            </div>
          </div>
        </div>
      </div>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <br>
      <pre wrap="">_________________________________________________________________________
Professional FreeSWITCH Consulting Services: 
<a class="moz-txt-link-abbreviated" href="mailto:consulting@freeswitch.org">consulting@freeswitch.org</a>
<a class="moz-txt-link-freetext" href="http://www.freeswitchsolutions.com">http://www.freeswitchsolutions.com</a>

Official FreeSWITCH Sites
<a class="moz-txt-link-freetext" href="http://www.freeswitch.org">http://www.freeswitch.org</a>
<a class="moz-txt-link-freetext" href="http://confluence.freeswitch.org">http://confluence.freeswitch.org</a>
<a class="moz-txt-link-freetext" href="http://www.cluecon.com">http://www.cluecon.com</a>

FreeSWITCH-users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a>
<a class="moz-txt-link-freetext" href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a>
UNSUBSCRIBE:<a class="moz-txt-link-freetext" href="http://lists.freeswitch.org/mailman/options/freeswitch-users">http://lists.freeswitch.org/mailman/options/freeswitch-users</a>
<a class="moz-txt-link-freetext" href="http://www.freeswitch.org">http://www.freeswitch.org</a></pre>
    </blockquote>
    <br>
  </body>
</html>