RestComm / Restcomm-Connect

The Open Source Cloud Communications Platform
http://www.restcomm.com/
GNU Affero General Public License v3.0
241 stars 215 forks source link

A Call is leak when joining a Conference #2673

Open xhoaluu opened 6 years ago

xhoaluu commented 6 years ago

When a Conference at Joining state, and receive a BYE message, The Call cannot be cleaned up and be in progress until restart the nodes or clean ghost call executing.

As there is no transaction move for this issue: https://github.com/RestComm/Restcomm-Connect/blob/master/restcomm/restcomm.telephony/src/main/java/org/restcomm/connect/telephony/Call.java#L2636

00:17:43,249 DEBUG org.restcomm.connect.telephony.CallManager ######### CallManager new message received, message instanceoetRequestImpl from sender : class akka.actor.DeadLetterActorRef 00:17:43,249 INFO org.restcomm.connect.telephony.Call ** Call's akka://RestComm/user/$h/$yU Current State: "joining direction: inbound sender : akka://RestComm/user/$hconnect.telephony.Call] (RestComm-akka.actor.default-dispatcher-1721) ** Call akka://RestComm/user/$h/$yU Processing Message: "org00:17:43,250 INFO org.restcomm.connect.telephony.Conference ** Conference akka://RestComm/user/$f/$u Current State: waiting 00:17:43,250 INFO org.restcomm.connect.telephony.Conference Received RemoveParticipants for Call: akka://RestComm/user/$h/$yUage: org.restcomm.connect.telephony.api.RemoveParticipant 00:17:43,250 INFO org.restcomm.connect.telephony.Call ** Call's akka://RestComm/user/$h/$yU Current State: "joinin://RestComm/user/$f/$u 00:17:43,250 DEBUG org.restcomm.connect.telephony.Call Received Leave for Call: akka://RestComm/user/$h/$yU, but state is :joiningmm.connect.mscontrol.api.messages.Leave sender : akkaa

xhoaluu commented 6 years ago

https://telestax.atlassian.net/browse/RESTCOMM-1343