Merge pull request #530 from rinor/master

diameter_agent: remove "dialect"
This commit is contained in:
Dan Christian Bogos
2016-09-02 12:53:11 +02:00
committed by GitHub
5 changed files with 1 additions and 6 deletions

View File

@@ -343,7 +343,6 @@ const CGRATES_CFG_JSON = `
"create_cdr": true, // create CDR out of CCR terminate and send it to SMG component
"debit_interval": "5m", // interval for CCR updates
"timezone": "", // timezone for timestamps where not specified, empty for general defaults <""|UTC|Local|$IANA_TZ_DB>
"dialect": "huawei", // the diameter dialect used in the communication, supported: <huawei>
"origin_host": "CGR-DA", // diameter Origin-Host AVP used in replies
"origin_realm": "cgrates.org", // diameter Origin-Realm AVP used in replies
"vendor_id": 0, // diameter Vendor-Id AVP used in replies

View File

@@ -530,7 +530,6 @@ func TestDiameterAgentJsonCfg(t *testing.T) {
Create_cdr: utils.BoolPointer(true),
Debit_interval: utils.StringPointer("5m"),
Timezone: utils.StringPointer(""),
Dialect: utils.StringPointer("huawei"),
Origin_host: utils.StringPointer("CGR-DA"),
Origin_realm: utils.StringPointer("cgrates.org"),
Vendor_id: utils.IntPointer(0),

View File

@@ -1,6 +1,6 @@
/*
Real-time Charging System for Telecom & ISP environments
Copyright (C) 2012-2015 ITsysCOM GmbH
Copyright (C) ITsysCOM GmbH
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
@@ -33,7 +33,6 @@ type DiameterAgentCfg struct {
CreateCDR bool
DebitInterval time.Duration
Timezone string // timezone for timestamps where not specified <""|UTC|Local|$IANA_TZ_DB>
Dialect string // the diameter dialect used in the implementation <huawei>
OriginHost string
OriginRealm string
VendorId int

View File

@@ -291,7 +291,6 @@ type DiameterAgentJsonCfg struct {
Create_cdr *bool
Debit_interval *string
Timezone *string // timezone for timestamps where not specified <""|UTC|Local|$IANA_TZ_DB>
Dialect *string
Origin_host *string
Origin_realm *string
Vendor_id *int

View File

@@ -321,7 +321,6 @@
// "create_cdr": true, // create CDR out of CCR terminate and send it to SMG component
// "debit_interval": "5m", // interval for CCR updates
// "timezone": "", // timezone for timestamps where not specified, empty for general defaults <""|UTC|Local|$IANA_TZ_DB>
// "dialect": "huawei", // the diameter dialect used in the communication, supported: <huawei>
// "origin_host": "CGR-DA", // diameter Origin-Host AVP used in replies
// "origin_realm": "cgrates.org", // diameter Origin-Realm AVP used in replies
// "vendor_id": 0, // diameter Vendor-Id AVP used in replies