Small fix import

This commit is contained in:
DanB
2015-07-16 13:14:40 +02:00
committed by Radu Ioan Fericean
parent 9adb515fcb
commit bbf4d03f85

View File

@@ -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):]