Make sure we produce the same CDR from both channel_hangup_complete and json CDR, closes #92

This commit is contained in:
DanB
2015-07-07 19:45:32 +02:00
parent 5aa5684aa0
commit e110b00c6c
6 changed files with 704 additions and 309 deletions

View File

@@ -193,11 +193,21 @@ const (
NANO_MULTIPLIER = 1000000000
CGR_AUTHORIZE = "CGR_AUTHORIZE"
CONFIG_DIR = "/etc/cgrates/"
CGR_ACCOUNT = "cgr_account"
CGR_SUPPLIER = "cgr_supplier"
CGR_SUPPLIERS = "cgr_suppliers"
CGR_DESTINATION = "cgr_destination"
CGR_SUBJECT = "cgr_subject"
CGR_CATEGORY = "cgr_category"
CGR_REQTYPE = "cgr_reqtype"
CGR_TENANT = "cgr_tenant"
CGR_TOR = "cgr_tor"
CGR_ACCID = "cgr_accid"
CGR_HOST = "cgr_host"
CGR_PDD = "cgr_pdd"
DISCONNECT_CAUSE = "disconnect_cause"
CGR_DISCONNECT_CAUSE = "cgr_disconnectcause"
CGR_COMPUTELCR = "cgr_computelcr"
CGR_SUPPLIERS = "cgr_suppliers"
)
var (