Skip to content
Snippets Groups Projects
  • Richard Mudgett's avatar
    0989b630
    autoservice: Don't start channel autoservice if the thread is a user interface. · 0989b630
    Richard Mudgett authored
    Executing dialplan functions from either AMI or ARI by getting a variable
    could place the channel into autoservice.  However, these user interface
    threads do not handle the channel's media so we wind up with two threads
    attempting to handle the media.
    
    There can be one and only one thread handling a channel's media at a time.
    Otherwise, we don't know which thread is going to handle the media frames.
    
    ASTERISK-27625
    
    Change-Id: If2dc94ce15ddabf923ed1e2a65ea0ef56e013e49
    0989b630
    History
    autoservice: Don't start channel autoservice if the thread is a user interface.
    Richard Mudgett authored
    Executing dialplan functions from either AMI or ARI by getting a variable
    could place the channel into autoservice.  However, these user interface
    threads do not handle the channel's media so we wind up with two threads
    attempting to handle the media.
    
    There can be one and only one thread handling a channel's media at a time.
    Otherwise, we don't know which thread is going to handle the media frames.
    
    ASTERISK-27625
    
    Change-Id: If2dc94ce15ddabf923ed1e2a65ea0ef56e013e49