Merge branch 'master' into hapool

This commit is contained in:
Radu Ioan Fericean
2015-11-30 20:12:41 +02:00
48 changed files with 1403 additions and 706 deletions

View File

@@ -380,7 +380,7 @@ func (sm *FSSessionManager) SyncSessions() error {
}
var stillActive bool
for _, fsAChan := range aChans {
if fsAChan["call_uuid"] == session.eventStart.GetUUID() { // Channel still active
if fsAChan["call_uuid"] == session.eventStart.GetUUID() || (fsAChan["call_uuid"] == "" && fsAChan["uuid"] == session.eventStart.GetUUID()) { // Channel still active
stillActive = true
break
}