Jean Aunis
2018-09-05 16:21:45 UTC
Hello,
It looks like the ARI events ordering during channel destruction is not
deterministic. I noticed this for ChannelLeftBridge and ChannelDestroyed
events : given a channel is in a bridge and is hanged up, sometimes
ChannelLeftBridge is raised before ChannelDestroyed, sometimes it's the
contrary. Test conditions are exactly the same in both cases.
Is this non-deterministic behaviour normal, or should it be considered
as a bug ?
To my mind, ChannelDestroyed should always be the very last event raised
for a given channel. From a developper point of view, it would give a
clear indication that the resources associated to the channel can be freed.
Regards
--
Jean AUNIS
Ingénieur R&D
R&D engineer
Tel : +33 1 30 85 90 22
Standard: +33 1 30 85 55 55
  Rue de Broglie
  22300 LANNION
  FRANCE
www.prescom.fr <http://www.prescom.fr/>
/"Les informations contenues dans ce courrier sont données à titre
purement informatif et ne peuvent être considérées comme contractuelles
entre les récipiendaires,
la société PRESCOM." //"The content of this e-mail is purely for
information and may not be considered as contractual between the
recipients, PRESCOM company."/
It looks like the ARI events ordering during channel destruction is not
deterministic. I noticed this for ChannelLeftBridge and ChannelDestroyed
events : given a channel is in a bridge and is hanged up, sometimes
ChannelLeftBridge is raised before ChannelDestroyed, sometimes it's the
contrary. Test conditions are exactly the same in both cases.
Is this non-deterministic behaviour normal, or should it be considered
as a bug ?
To my mind, ChannelDestroyed should always be the very last event raised
for a given channel. From a developper point of view, it would give a
clear indication that the resources associated to the channel can be freed.
Regards
--
Jean AUNIS
Ingénieur R&D
R&D engineer
Tel : +33 1 30 85 90 22
Standard: +33 1 30 85 55 55
  Rue de Broglie
  22300 LANNION
  FRANCE
www.prescom.fr <http://www.prescom.fr/>
/"Les informations contenues dans ce courrier sont données à titre
purement informatif et ne peuvent être considérées comme contractuelles
entre les récipiendaires,
la société PRESCOM." //"The content of this e-mail is purely for
information and may not be considered as contractual between the
recipients, PRESCOM company."/