<html>
  <head>
    <meta content="text/html; charset=ISO-8859-1"
      http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    Hi Cal,<br>
    <br>
    have just seen the reply from Lloyd (my email's threading isn't too
    good), yes the bleg logging is set to true, and is working fine on
    calls instigated via an incoming call.<br>
    <br>
    I'll take a look at the bug reporting pages and try and give as much
    info as possible.&nbsp; <br>
    <br>
    <br>
    <br>
    thanks<br>
    Matt<br>
    <br>
    <br>
    <div class="moz-cite-prefix">On 12/09/2013 15:24, Cal Leeming
      [Simplicity Media Ltd] wrote:<br>
    </div>
    <blockquote
cite="mid:CAHKQagGAj=-X-JKxGWGJpc0ULhvzW7p-4t6ryyCWAEPNjZWoCA@mail.gmail.com"
      type="cite">
      <div dir="ltr">Just to be sure, can you double check that b_leg is
        set to true in your xml_cdr.conf (as per Lloyds' suggestion).
        <div><br>
        </div>
        <div>If it is set to true, then next step would be to raise a
          bug report in JIRA with as much info as possible about the
          steps you have taken to reproduce this bug.&nbsp;</div>
        <div><br>
        </div>
        <div>If you are unfamiliar with this process, please see;<br>
          <br>
        </div>
        <div><a moz-do-not-send="true"
            href="http://wiki.freeswitch.org/wiki/Reporting_Bugs">http://wiki.freeswitch.org/wiki/Reporting_Bugs</a></div>
        <div><a moz-do-not-send="true"
href="http://wiki.freeswitch.org/wiki/Reporting_Bugs#Where_And_How_To_File_Bug_Reports">http://wiki.freeswitch.org/wiki/Reporting_Bugs#Where_And_How_To_File_Bug_Reports</a></div>
        <div><br>
        </div>
        <div>Sadly I won't have any time to look into this until late
          next week, but perhaps another volunteer will jump on and take
          a look before I do.<br>
        </div>
        <div><br>
        </div>
        <div>Cal</div>
        <div>
          <div><span
              style="font-family:verdana,sans-serif;font-size:13px"><br>
            </span></div>
        </div>
      </div>
      <div class="gmail_extra"><br>
        <br>
        <div class="gmail_quote">On Thu, Sep 12, 2013 at 2:58 PM, Matt
          Broad <span dir="ltr">&lt;<a moz-do-not-send="true"
              href="mailto:matt@inveroak.com" target="_blank">matt@inveroak.com</a>&gt;</span>
          wrote:<br>
          <blockquote class="gmail_quote" style="margin:0 0 0
            .8ex;border-left:1px #ccc solid;padding-left:1ex">
            <div bgcolor="#FFFFFF" text="#000000"> Hi Cal,<br>
              <br>
              thanks for the suggestions.&nbsp; <br>
              I have tested adding an err log dir and also enabled the
              log-http-and-disk option.<br>
              <br>
              These work fine when I make a normal call (I have forced a
              http error on the webserver to test the error logging),
              but when doing an originate from the CLI, there are no
              logs at all.&nbsp; <br>
              <br>
              I don't see any messages about a failed log
              ("mod_xml_cdr.c:365 Got error [0] posting to web server <a
                moz-do-not-send="true" href="http://******"
                target="_blank">http://******</a>" &amp;
              "mod_xml_cdr.c:372 Retry will be with url <a
                moz-do-not-send="true" href="http://****"
                target="_blank">http://****</a>") when the call ends.<br>
              <br>
              thanks<span class="HOEnZb"><font color="#888888"><br>
                  Matt</font></span>
              <div>
                <div class="h5"><br>
                  <br>
                  <br>
                  <div>On 11/09/2013 20:29, Cal Leeming [Simplicity
                    Media Ltd] wrote:<br>
                  </div>
                  <blockquote type="cite">
                    <div dir="ltr">Oh damn, sorry I was thinking of
                      mod_xml_curl!
                      <div><br>
                      </div>
                      <div>In that case, try this instead;</div>
                      <div><a moz-do-not-send="true"
                          href="http://wiki.freeswitch.org/wiki/Mod_xml_cdr"
                          target="_blank">http://wiki.freeswitch.org/wiki/Mod_xml_cdr</a><br>
                        &lt;param name="err-log-dir" value="/tmp"/&gt;</div>
                      <div><br>
                      </div>
                      <div>Enable that param, and check to see if the
                        request ends up in that directory.</div>
                      <div><br>
                      </div>
                      <div>You can also enable '<span
                          style="line-height:19.1875px;font-size:13px;font-family:sans-serif">log-http-and-disk'

                          which will ensure the request is always
                          written to disk.</span></div>
                      <div><br>
                      </div>
                      <div>You can also enable access logs on your web
                        server to check if the request is received, or
                        even just run "nc -l 80" on the web server and
                        wait for the connection to be received.</div>
                      <div><br>
                      </div>
                      <div>The main point of the above is to pinpoint
                        where the fault is happening (if the entry is
                        pushed to disk, then it means the problem is
                        with your web server.. if the entry is not
                        pushed to disk, then there's a problem somewhere
                        in FS, whether it be in config or a bug).</div>
                      <div><br>
                      </div>
                      <div>Sorry for the confusion</div>
                      <div><br>
                      </div>
                      <div>Cal</div>
                      <div><br>
                      </div>
                    </div>
                    <div class="gmail_extra"><br>
                      <br>
                      <div class="gmail_quote">On Wed, Sep 11, 2013 at
                        7:55 PM, Matt Broad <span dir="ltr">&lt;<a
                            moz-do-not-send="true"
                            href="mailto:matt@inveroak.com"
                            target="_blank">matt@inveroak.com</a>&gt;</span>
                        wrote:<br>
                        <blockquote class="gmail_quote" style="margin:0
                          0 0 .8ex;border-left:1px #ccc
                          solid;padding-left:1ex">
                          <div bgcolor="#FFFFFF" text="#000000"> Hi Cal,<br>
                            <br>
                            I have tried the method that you described
                            but I get the error "-ERR xml_cdr debug_on
                            Command not found!"<br>
                            could this be a typo?&nbsp; I have tried googling
                            but with no success.<br>
                            <br>
                            thanks<span><font color="#888888"><br>
                                Matt</font></span>
                            <div>
                              <div><br>
                                <br>
                                <div>On 11/09/2013 19:26, Matt Broad
                                  wrote:<br>
                                </div>
                                <blockquote type="cite"> Thanks for the
                                  quick reply Cal.<br>
                                  <br>
                                  I will give that a try and see what I
                                  can see.&nbsp; I will report back with my
                                  findings :)<br>
                                  <br>
                                  thanks<br>
                                  Matt<br>
                                  <br>
                                  <br>
                                  <div>On 11/09/2013 15:55, Cal Leeming
                                    [Simplicity Media Ltd] wrote:<br>
                                  </div>
                                  <blockquote type="cite">
                                    <div dir="ltr">Matt,
                                      <div><br>
                                      </div>
                                      <div>As far as I know, the API
                                        originate method should also
                                        trigger xml_cdr to post back to
                                        your server.</div>
                                      <div><br>
                                      </div>
                                      <div>Can you please run "<span
style="color:rgb(68,68,68);font-family:arial,sans-serif;line-height:16px">console</span><span
style="color:rgb(68,68,68);font-family:arial,sans-serif;line-height:16px">&nbsp;loglevel&nbsp;</span><span
style="color:rgb(68,68,68);font-family:arial,sans-serif;line-height:16px">debug"



                                          and&nbsp;</span>"xml_cdr&nbsp;<span
style="color:rgb(68,68,68);font-family:arial,sans-serif;line-height:16px">debug_on",



                                          attempt to use api originate,
                                          then see if anything shows up
                                          in console? (that command will
                                          enable xml_cdr debugging).</span></div>
                                      <div><span
style="color:rgb(68,68,68);font-family:arial,sans-serif;line-height:16px"><br>
                                        </span></div>
                                      <div><font color="#444444"
                                          face="arial, sans-serif"><span
                                            style="line-height:16px">If
                                            this still does not work,
                                            please capture all the logs
                                            and explain the test
                                            procedure you went through
                                            and send it all in a JIRA
                                            ticket.</span></font></div>
                                      <div><font color="#444444"
                                          face="arial, sans-serif"><span
                                            style="line-height:16px"><br>
                                          </span></font></div>
                                      <div><font color="#444444"
                                          face="arial, sans-serif"><span
                                            style="line-height:16px">Hope

                                            this helps</span></font></div>
                                      <div><font color="#444444"
                                          face="arial, sans-serif"><span
                                            style="line-height:16px"><br>
                                            Cal</span></font></div>
                                    </div>
                                    <div class="gmail_extra"><br>
                                      <br>
                                      <div class="gmail_quote">On Wed,
                                        Sep 11, 2013 at 3:32 PM, Matt
                                        Broad <span dir="ltr">&lt;<a
                                            moz-do-not-send="true"
                                            href="mailto:matt@inveroak.com"
                                            target="_blank">matt@inveroak.com</a>&gt;</span>
                                        wrote:<br>
                                        <blockquote class="gmail_quote"
                                          style="margin:0 0 0
                                          .8ex;border-left:1px #ccc
                                          solid;padding-left:1ex">Hi,<br>
                                          <br>
                                          I have setup xml_cdr and it is
                                          working great, both aleg and
                                          bleg calls<br>
                                          are logged.<br>
                                          I am using the api originate
                                          method, but this does not
                                          create an xml_cdr<br>
                                          record (though a record is
                                          logged in
                                          /log/cdr-csv/master/csv). &nbsp;Is
                                          this<br>
                                          correct?<br>
                                          <br>
                                          <br>
                                          <br>
                                          thanks<br>
                                          Matt<br>
                                          <br>
                                          <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>
                                          FreeSWITCH-powered IP PBX: The
                                          CudaTel Communication Server<br>
                                          <a moz-do-not-send="true"
                                            href="http://www.cudatel.com"
                                            target="_blank">http://www.cudatel.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://wiki.freeswitch.org"
                                            target="_blank">http://wiki.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><br>
                                        </blockquote>
                                      </div>
                                      <br>
                                    </div>
                                    <br>
                                    <fieldset></fieldset>
                                    <br>
                                    <pre>_________________________________________________________________________
Professional FreeSWITCH Consulting Services:
<a moz-do-not-send="true" href="mailto:consulting@freeswitch.org" target="_blank">consulting@freeswitch.org</a>
<a moz-do-not-send="true" href="http://www.freeswitchsolutions.com" target="_blank">http://www.freeswitchsolutions.com</a>

FreeSWITCH-powered IP PBX: The CudaTel Communication Server
<a moz-do-not-send="true" href="http://www.cudatel.com" target="_blank">http://www.cudatel.com</a>

Official FreeSWITCH Sites
<a moz-do-not-send="true" href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a>
<a moz-do-not-send="true" href="http://wiki.freeswitch.org" target="_blank">http://wiki.freeswitch.org</a>
<a moz-do-not-send="true" href="http://www.cluecon.com" target="_blank">http://www.cluecon.com</a>

FreeSWITCH-users mailing list
<a moz-do-not-send="true" href="mailto:FreeSWITCH-users@lists.freeswitch.org" target="_blank">FreeSWITCH-users@lists.freeswitch.org</a>
<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>
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>
<a moz-do-not-send="true" href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a>
</pre>
                                  </blockquote>
                                  <br>
                                </blockquote>
                                <br>
                              </div>
                            </div>
                          </div>
                          <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>
                          FreeSWITCH-powered IP PBX: The CudaTel
                          Communication Server<br>
                          <a moz-do-not-send="true"
                            href="http://www.cudatel.com"
                            target="_blank">http://www.cudatel.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://wiki.freeswitch.org"
                            target="_blank">http://wiki.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><br>
                          <br>
                        </blockquote>
                      </div>
                      <br>
                    </div>
                    <br>
                    <fieldset></fieldset>
                    <br>
                    <pre>_________________________________________________________________________
Professional FreeSWITCH Consulting Services:
<a moz-do-not-send="true" href="mailto:consulting@freeswitch.org" target="_blank">consulting@freeswitch.org</a>
<a moz-do-not-send="true" href="http://www.freeswitchsolutions.com" target="_blank">http://www.freeswitchsolutions.com</a>

FreeSWITCH-powered IP PBX: The CudaTel Communication Server
<a moz-do-not-send="true" href="http://www.cudatel.com" target="_blank">http://www.cudatel.com</a>

Official FreeSWITCH Sites
<a moz-do-not-send="true" href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a>
<a moz-do-not-send="true" href="http://wiki.freeswitch.org" target="_blank">http://wiki.freeswitch.org</a>
<a moz-do-not-send="true" href="http://www.cluecon.com" target="_blank">http://www.cluecon.com</a>

FreeSWITCH-users mailing list
<a moz-do-not-send="true" href="mailto:FreeSWITCH-users@lists.freeswitch.org" target="_blank">FreeSWITCH-users@lists.freeswitch.org</a>
<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>
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>
<a moz-do-not-send="true" href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a>
</pre>
                  </blockquote>
                  <br>
                </div>
              </div>
            </div>
            <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>
            FreeSWITCH-powered IP PBX: The CudaTel Communication Server<br>
            <a moz-do-not-send="true" href="http://www.cudatel.com"
              target="_blank">http://www.cudatel.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://wiki.freeswitch.org"
              target="_blank">http://wiki.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><br>
            <br>
          </blockquote>
        </div>
        <br>
      </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>

FreeSWITCH-powered IP PBX: The CudaTel Communication Server
<a class="moz-txt-link-freetext" href="http://www.cudatel.com">http://www.cudatel.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://wiki.freeswitch.org">http://wiki.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>