even better log message

This commit is contained in:
Radu Ioan Fericean
2012-09-19 14:31:15 +03:00
parent d93156cf23
commit e1748c8c4a

View File

@@ -64,7 +64,7 @@ func (rsd *SessionDelegate) OnChannelPark(ev Event, sm SessionManager) {
return
}
if remainingSeconds == 0 {
timespans.Logger.Info(fmt.Sprintf("Not enough credit for trasferring the call %s for %s.", ev.GetUUID(), cd.GetUserBalanceKey()))
timespans.Logger.Info(fmt.Sprintf("Not enough credit for trasferring the call %s for %s.", ev.GetUUID(), cd.GetKey()))
sm.UnparkCall(ev.GetUUID(), ev.GetCallDestNb(), INSUFFICIENT_FUNDS)
return
}