From 0229adde4416569a6d18bb09d4208d5edbf386b7 Mon Sep 17 00:00:00 2001 From: DanB Date: Thu, 7 Nov 2013 18:21:33 +0100 Subject: [PATCH] Adding sample cdr generation with curl --- docs/cdrserver.rst | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/docs/cdrserver.rst b/docs/cdrserver.rst index d1b587c1a..8c6db80e1 100644 --- a/docs/cdrserver.rst +++ b/docs/cdrserver.rst @@ -32,6 +32,11 @@ Primary fields: the fields which CGRateS needs for it's own operations and are s Extra fields: any field coming in via the http request and not a member of primary fields list. These fields are stored as json encoded into *cdrs_extra* table of storDb. +Example of sample CDR generated simply using curl: +:: + + curl --data "accid=asbfdsaf&cdrhost=192.168.1.1&reqtype=rated&direction=*out&tenant=cgrates.org&tor=call&account=1001&subject=1001&destination=1002&time_answer=1383813746&duration=10&sip_user=Jitsi" http://ipbxdev:2022/cgr + CDR-FS_JSON -----------