From 27de51941cbc7d1239c781294f44cd52d5f5f953 Mon Sep 17 00:00:00 2001 From: Radu Ioan Fericean Date: Thu, 28 Mar 2013 19:28:56 +0200 Subject: [PATCH] copyrigt corrections --- sessionmanager/fsevent.go | 2 +- sessionmanager/fssessionmanager.go | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/sessionmanager/fsevent.go b/sessionmanager/fsevent.go index be01356ec..4e39d04e3 100644 --- a/sessionmanager/fsevent.go +++ b/sessionmanager/fsevent.go @@ -1,6 +1,6 @@ /* Rating system designed to be used in VoIP Carriers World -Copyright (C) 2012 Radu Ioan Fericean +Copyright (C) 2013 ITsysCOM This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by diff --git a/sessionmanager/fssessionmanager.go b/sessionmanager/fssessionmanager.go index 4c6f105f9..889f0c273 100644 --- a/sessionmanager/fssessionmanager.go +++ b/sessionmanager/fssessionmanager.go @@ -1,6 +1,6 @@ /* Rating system designed to be used in VoIP Carriers World -Copyright (C) 2012 Radu Ioan Fericean +Copyright (C) 2013 ITsysCOM This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -222,7 +222,7 @@ func (sm *FSSessionManager) OnChannelHangupComplete(ev Event) { return // why would we have 0 callcosts } lastCC := s.CallCosts[len(s.CallCosts)-1] - // put credit back + // put credit back start := time.Now() end := lastCC.Timespans[len(lastCC.Timespans)-1].TimeEnd refoundDuration := end.Sub(start).Seconds()