mirror of
https://github.com/cgrates/cgrates.git
synced 2026-02-11 18:16:24 +05:00
Small fix import
This commit is contained in:
@@ -167,9 +167,9 @@ func (fsev FSEvent) GetTenant(fieldName string) string {
|
||||
func (fsev FSEvent) GetReqType(fieldName string) string {
|
||||
var reqTypeDetected = "" // Used to automatically disable processing of the request
|
||||
if fsev["variable_process_cdr"] == "false" { // FS will not generated CDR here
|
||||
reqTypeDetected = utils.NONE
|
||||
reqTypeDetected = utils.META_NONE
|
||||
} else if fsev["Caller-Dialplan"] == "inline" { // Used for internally generated dialplan, eg refer coming from another box, not in our control
|
||||
reqTypeDetected = utils.NONE
|
||||
reqTypeDetected = utils.META_NONE
|
||||
}
|
||||
if strings.HasPrefix(fieldName, utils.STATIC_VALUE_PREFIX) { // Static value
|
||||
return fieldName[len(utils.STATIC_VALUE_PREFIX):]
|
||||
|
||||
Reference in New Issue
Block a user