mirror of
https://github.com/cgrates/cgrates.git
synced 2026-02-16 05:39:54 +05:00
Diameter fix for composed value to use regexp
This commit is contained in:
@@ -263,7 +263,7 @@ func composedFieldvalue(m *diam.Message, outTpl utils.RSRFields, avpIdx int) str
|
||||
utils.Logger.Warning(fmt.Sprintf("<Diameter> Value for field template with id: %s is matching a group AVP, ignoring.", rsrTpl.Id))
|
||||
continue // Not convertible, ignore
|
||||
}
|
||||
outVal += avpValAsString(matchingAvps[avpIdx])
|
||||
outVal += rsrTpl.ParseValue(avpValAsString(matchingAvps[avpIdx]))
|
||||
}
|
||||
}
|
||||
return outVal
|
||||
|
||||
Reference in New Issue
Block a user