mirror of
https://github.com/cgrates/cgrates.git
synced 2026-02-13 02:56:24 +05:00
Replacing error in case of missing flags in agents with warning
This commit is contained in:
committed by
Dan Christian Bogos
parent
50881ccc56
commit
774d6d8357
@@ -289,7 +289,7 @@ func (smaEv *SMAsteriskEvent) V1AuthorizeArgs() (args *sessions.V1AuthorizeArgs)
|
||||
CGREvent: cgrEv,
|
||||
}
|
||||
if smaEv.Subsystems() == utils.EmptyString {
|
||||
utils.Logger.Err(fmt.Sprintf("<%s> cgr_flags variable is not set",
|
||||
utils.Logger.Warning(fmt.Sprintf("<%s> cgr_flags variable is not set, using defaults",
|
||||
utils.AsteriskAgent))
|
||||
args.GetMaxUsage = true
|
||||
return
|
||||
|
||||
Reference in New Issue
Block a user