mirror of
https://github.com/cgrates/cgrates.git
synced 2026-02-11 10:06:24 +05:00
replaced sched_hangup with sched_transfer
This commit is contained in:
committed by
Dan Christian Bogos
parent
e194979b99
commit
c233daef58
@@ -2557,6 +2557,7 @@ const (
|
||||
EventSocketConnsCfg = "event_socket_conns"
|
||||
EmptyBalanceContext = "empty_balance_context"
|
||||
ActiveSessionDelimiterCfg = "active_session_delimiter"
|
||||
SchedTransferExtensionCfg = "sched_transfer_extension"
|
||||
)
|
||||
|
||||
// From Config
|
||||
|
||||
@@ -377,6 +377,9 @@ func IfaceAsString(fld any) (out string) {
|
||||
case []uint8:
|
||||
return string(value) // byte is an alias for uint8 conversions implicit
|
||||
case time.Duration:
|
||||
if value == -1 {
|
||||
return "-1"
|
||||
}
|
||||
return value.String()
|
||||
case time.Time:
|
||||
return value.Format(time.RFC3339)
|
||||
|
||||
Reference in New Issue
Block a user