mirror of
https://github.com/cgrates/cgrates.git
synced 2026-02-20 14:48:43 +05:00
created standalone session manager
This commit is contained in:
@@ -113,7 +113,9 @@ func (sm *SessionManager) OnChannelHangupComplete(ev *Event) {
|
||||
} else {
|
||||
log.Print("HangupComplete")
|
||||
}
|
||||
s.Close()
|
||||
if s != nil {
|
||||
s.Close()
|
||||
}
|
||||
}
|
||||
|
||||
// Called on freeswitch's events not processed by the session manger,
|
||||
|
||||
Reference in New Issue
Block a user