Originate will create a b-leg record.I guess in your xml_cdr.conf file b_leg set to false(That is by default). change to true and reload the configuration.LloydOn Wed, Sep 11, 2013 at 3:29 PM, Cal Leeming [Simplicity Media Ltd] <cal.leeming@simplicitymedialtd.co.uk> wrote:
Oh damn, sorry I was thinking of mod_xml_curl!In that case, try this instead;http://wiki.freeswitch.org/wiki/Mod_xml_cdr
<param name="err-log-dir" value="/tmp"/>Enable that param, and check to see if the request ends up in that directory.You can also enable 'log-http-and-disk' which will ensure the request is always written to disk.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.
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).Sorry for the confusionCal
On Wed, Sep 11, 2013 at 7:55 PM, Matt Broad <matt@inveroak.com> wrote:
Hi Cal,
I have tried the method that you described but I get the error "-ERR xml_cdr debug_on Command not found!"
could this be a typo? I have tried googling but with no success.
thanks
Matt
On 11/09/2013 19:26, Matt Broad wrote:
Thanks for the quick reply Cal.
I will give that a try and see what I can see. I will report back with my findings :)
thanks
Matt
On 11/09/2013 15:55, Cal Leeming [Simplicity Media Ltd] wrote:
Matt,
As far as I know, the API originate method should also trigger xml_cdr to post back to your server.
Can you please run "console loglevel debug" and "xml_cdr debug_on", attempt to use api originate, then see if anything shows up in console? (that command will enable xml_cdr debugging).
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.
Hope this helps
Cal
On Wed, Sep 11, 2013 at 3:32 PM, Matt Broad <matt@inveroak.com> wrote:
Hi,
I have setup xml_cdr and it is working great, both aleg and bleg calls
are logged.
I am using the api originate method, but this does not create an xml_cdr
record (though a record is logged in /log/cdr-csv/master/csv). Is this
correct?
thanks
Matt
_________________________________________________________________________
Professional FreeSWITCH Consulting Services:
consulting@freeswitch.org
http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server
http://www.cudatel.com
Official FreeSWITCH Sites
http://www.freeswitch.org
http://wiki.freeswitch.org
http://www.cluecon.com
FreeSWITCH-users mailing list
FreeSWITCH-users@lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.freeswitch.org http://www.cluecon.com FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
_________________________________________________________________________
Professional FreeSWITCH Consulting Services:
consulting@freeswitch.org
http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server
http://www.cudatel.com
Official FreeSWITCH Sites
http://www.freeswitch.org
http://wiki.freeswitch.org
http://www.cluecon.com
FreeSWITCH-users mailing list
FreeSWITCH-users@lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org
_________________________________________________________________________
Professional FreeSWITCH Consulting Services:
consulting@freeswitch.org
http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server
http://www.cudatel.com
Official FreeSWITCH Sites
http://www.freeswitch.org
http://wiki.freeswitch.org
http://www.cluecon.com
FreeSWITCH-users mailing list
FreeSWITCH-users@lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org
_________________________________________________________________________
Professional FreeSWITCH Consulting Services:
consulting@freeswitch.org
http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server
http://www.cudatel.com
Official FreeSWITCH Sites
http://www.freeswitch.org
http://wiki.freeswitch.org
http://www.cluecon.com
FreeSWITCH-users mailing list
FreeSWITCH-users@lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org