Skip to content
Snippets Groups Projects
  • Etienne Lessard's avatar
    806d08b6
    app_queue: Update dynamic members ringinuse on reload. · 806d08b6
    Etienne Lessard authored
    Previously, when reloading the members of a queue, the members added statically
    (i.e. defined in queues.conf) would see their "ringinuse" value updated but not
    the members added dynamically.
    
    This change makes dynamic members ringuse value to be updated on reload.
    
    Note that it's impossible to add a dynamic member with a specific ringinuse
    value. For both static and dynamic members, the ringinuse value can always be
    changed later on with command like "queue set ringinuse" or with the AMI action
    "QueueMemberRingInUse". So it's possible this commit could break a user workflow
    if he was changing the ringinuse value of dynamic members via such commands and
    was also relying on the fact that a queue reload would not update the dynamic
    members ringinuse value.
    
    ASTERISK-26330
    
    Change-Id: I3745cc9a06ba7e02c399636f1ee9e58c04081f3f
    806d08b6
    History
    app_queue: Update dynamic members ringinuse on reload.
    Etienne Lessard authored
    Previously, when reloading the members of a queue, the members added statically
    (i.e. defined in queues.conf) would see their "ringinuse" value updated but not
    the members added dynamically.
    
    This change makes dynamic members ringuse value to be updated on reload.
    
    Note that it's impossible to add a dynamic member with a specific ringinuse
    value. For both static and dynamic members, the ringinuse value can always be
    changed later on with command like "queue set ringinuse" or with the AMI action
    "QueueMemberRingInUse". So it's possible this commit could break a user workflow
    if he was changing the ringinuse value of dynamic members via such commands and
    was also relying on the fact that a queue reload would not update the dynamic
    members ringinuse value.
    
    ASTERISK-26330
    
    Change-Id: I3745cc9a06ba7e02c399636f1ee9e58c04081f3f