mirror of
https://github.com/cgrates/cgrates.git
synced 2026-02-14 20:59:53 +05:00
more logging for a crash
This commit is contained in:
@@ -72,6 +72,8 @@ func (rsd *SessionDelegate) OnChannelAnswer(ev Event, s *Session) {
|
||||
}
|
||||
|
||||
func (rsd *SessionDelegate) OnChannelHangupComplete(ev Event, s *Session) {
|
||||
log.Print(s)
|
||||
log.Print(s.CallCosts)
|
||||
if len(s.CallCosts) == 0 {
|
||||
return // why would we have 0 callcosts
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user