<div dir="ltr"><div class="gmail_default" style="font-family:verdana,sans-serif">Originate will create a b-leg record.</div><div class="gmail_default" style="font-family:verdana,sans-serif"><br></div><div class="gmail_default" style="font-family:verdana,sans-serif">

I guess in your xml_cdr.conf file b_leg set to false(That is by default). change to true and reload the configuration.</div><div class="gmail_default" style="font-family:verdana,sans-serif"><br></div><div class="gmail_extra">

<div class="gmail_default" style="font-family:verdana,sans-serif">Lloyd</div>
<br><br><div class="gmail_quote">On Wed, Sep 11, 2013 at 3:29 PM, Cal Leeming [Simplicity Media Ltd] <span dir="ltr">&lt;<a href="mailto:cal.leeming@simplicitymedialtd.co.uk" target="_blank">cal.leeming@simplicitymedialtd.co.uk</a>&gt;</span> wrote:<br>

<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><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 href="http://wiki.freeswitch.org/wiki/Mod_xml_cdr" target="_blank">http://wiki.freeswitch.org/wiki/Mod_xml_cdr</a><br>
&lt;param name=&quot;err-log-dir&quot; value=&quot;/tmp&quot;/&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 &#39;<span style="line-height:19.1875px;font-size:13px;font-family:sans-serif">log-http-and-disk&#39; 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 &quot;nc -l 80&quot; 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&#39;s a problem somewhere in FS, whether it be in config or a bug).</div>


<div><br></div><div>Sorry for the confusion</div><span class="HOEnZb"><font color="#888888"><div><br></div><div>Cal</div><div><br></div></font></span></div><div class="HOEnZb"><div class="h5"><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 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 &quot;-ERR
    xml_cdr debug_on Command not found!&quot;<br>
    could this be a typo?  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.  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 &quot;<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"> loglevel </span><span style="color:rgb(68,68,68);font-family:arial,sans-serif;line-height:16px">debug&quot;

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

              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 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).  Is this<br>
              correct?<br>
              <br>
              <br>
              <br>
              thanks<br>
              Matt<br>
              <br>
              <br>
_________________________________________________________________________<br>
              Professional FreeSWITCH Consulting Services:<br>
              <a href="mailto:consulting@freeswitch.org" target="_blank">consulting@freeswitch.org</a><br>
              <a href="http://www.freeswitchsolutions.com" target="_blank">http://www.freeswitchsolutions.com</a><br>
              <br>
              FreeSWITCH-powered IP PBX: The CudaTel Communication
              Server<br>
              <a href="http://www.cudatel.com" target="_blank">http://www.cudatel.com</a><br>
              <br>
              Official FreeSWITCH Sites<br>
              <a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
              <a href="http://wiki.freeswitch.org" target="_blank">http://wiki.freeswitch.org</a><br>
              <a href="http://www.cluecon.com" target="_blank">http://www.cluecon.com</a><br>
              <br>
              FreeSWITCH-users mailing list<br>
              <a href="mailto:FreeSWITCH-users@lists.freeswitch.org" target="_blank">FreeSWITCH-users@lists.freeswitch.org</a><br>
              <a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
              UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
              <a 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 href="mailto:consulting@freeswitch.org" target="_blank">consulting@freeswitch.org</a>
<a href="http://www.freeswitchsolutions.com" target="_blank">http://www.freeswitchsolutions.com</a>

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

Official FreeSWITCH Sites
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a>
<a href="http://wiki.freeswitch.org" target="_blank">http://wiki.freeswitch.org</a>
<a href="http://www.cluecon.com" target="_blank">http://www.cluecon.com</a>

FreeSWITCH-users mailing list
<a href="mailto:FreeSWITCH-users@lists.freeswitch.org" target="_blank">FreeSWITCH-users@lists.freeswitch.org</a>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a>
<a 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 href="mailto:consulting@freeswitch.org" target="_blank">consulting@freeswitch.org</a><br>
<a href="http://www.freeswitchsolutions.com" target="_blank">http://www.freeswitchsolutions.com</a><br>
<br>
FreeSWITCH-powered IP PBX: The CudaTel Communication Server<br>
<a href="http://www.cudatel.com" target="_blank">http://www.cudatel.com</a><br>
<br>
Official FreeSWITCH Sites<br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
<a href="http://wiki.freeswitch.org" target="_blank">http://wiki.freeswitch.org</a><br>
<a href="http://www.cluecon.com" target="_blank">http://www.cluecon.com</a><br>
<br>
FreeSWITCH-users mailing list<br>
<a href="mailto:FreeSWITCH-users@lists.freeswitch.org" target="_blank">FreeSWITCH-users@lists.freeswitch.org</a><br>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
<br></blockquote></div><br></div>
</div></div><br>_________________________________________________________________________<br>
Professional FreeSWITCH Consulting Services:<br>
<a href="mailto:consulting@freeswitch.org">consulting@freeswitch.org</a><br>
<a href="http://www.freeswitchsolutions.com" target="_blank">http://www.freeswitchsolutions.com</a><br>
<br>
FreeSWITCH-powered IP PBX: The CudaTel Communication Server<br>
<a href="http://www.cudatel.com" target="_blank">http://www.cudatel.com</a><br>
<br>
Official FreeSWITCH Sites<br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
<a href="http://wiki.freeswitch.org" target="_blank">http://wiki.freeswitch.org</a><br>
<a href="http://www.cluecon.com" target="_blank">http://www.cluecon.com</a><br>
<br>
FreeSWITCH-users mailing list<br>
<a href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a><br>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
<br></blockquote></div><br></div></div>