Re: ChanSpy / ConfBridge limitation

Mark Murawski <[email protected]> Sun, 28 Jan 2024 12:13:20 -0500
Newsgroups gmane.comp.telephony.pbx.asterisk.devel
Message-ID <[email protected]>
This is a multi-part message in MIME format.
--===============3274713621594212661==
Content-Type: multipart/alternative;
 boundary="------------00O7Sb3aQN0cYR08J4Rv0hrF"
Content-Language: en-US

This is a multi-part message in MIME format.
--------------00O7Sb3aQN0cYR08J4Rv0hrF
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit



On 1/15/24 04:42, Joshua C. Colp wrote:
> On Sun, Jan 14, 2024 at 9:10 PM Mark Murawski 
> <[email protected]> wrote:
>
>     ... snip...
>
>     Goal:
>        Extract out an individual speaker's audio that's going into a ConfBridge
>        (Cannot join the bridge as a member, because then you're getting all participants audio)
>
>
>     Summary:
>        1) You can whisper to a channel that joined a ConfBridge
>        2) You cannot listen to the audio from a channel that joined a ConfBridge
>
>
>     Also:
>        I tried ChanSpy()'ing into both CBAnn/...;1  and CBAnn/...;2 and I could not get audio from here either
>
>
>     Is this a bug or a limitation/missing-feature?
>
>
>     What would be a good place to look into for resolving #2 ?
>
>
> So what is the actual state of the channel and ConfBridge at that 
> point in time? You haven't really clarified that in this email at all. 
> Is it listening to music on hold? Is there no other channel present? 
> Have you looked at the core debug to see what the audiohooks API is 
> saying? Ultimately that's what is capturing the audio and making it 
> available for ChanSpy and it has no idea of ConfBridge or Dial or etc, 
> so narrow down the issue to either the ChanSpy module itself or 
> audiohooks, and then go from there. In a general sense from the 
> available information I would say it is a bug, though I am aware that 
> this has worked for other people without problem.
>
> -- 
> Joshua C. Colp
> Director of Engineering | Asterisk Project Lead
> Sangoma Technologies
> Check us out at www.sangoma.com <http://www.sangoma.com> and 
> www.asterisk.org <http://www.asterisk.org>
>


Hi Joshua,

The current state of ConfBridge is that it there is one caller, and I'm 
ChanSpying to that caller's channel, wishing to grab the audio coming in 
from the endpoint that's sending audio to at this point, an empty 
ConfBridge.
--------------00O7Sb3aQN0cYR08J4Rv0hrF
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: 8bit

<!DOCTYPE html>
<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
  </head>
  <body>
    <br>
    <br>
    <div class="moz-cite-prefix">On 1/15/24 04:42, Joshua C. Colp wrote:<br>
    </div>
    <blockquote type="cite"
cite="mid:CAM0A2Z2g7DFRp+_cQns6qyBkfhBJHOhv6hUNpdpfSz38vgJrYQ@mail.gmail.com">
      <meta http-equiv="content-type" content="text/html; charset=UTF-8">
      <div dir="ltr">
        <div dir="ltr">On Sun, Jan 14, 2024 at 9:10 PM Mark Murawski
          &lt;<a href="mailto:[email protected]"
            moz-do-not-send="true" class="moz-txt-link-freetext">[email protected]</a>&gt;
          wrote:<br>
        </div>
        <div class="gmail_quote">
          <blockquote class="gmail_quote"
style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">...
            snip...<br>
            <div><span style="white-space: pre-wrap"></span><span
              style="white-space: pre-wrap">
</span>
              <pre
style="color:rgb(0,0,0);font-style:normal;font-variant-ligatures:normal;font-variant-caps:normal;font-weight:400;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;word-spacing:0px;text-decoration-style:initial;text-decoration-color:initial;white-space:pre-wrap">Goal:
  Extract out an individual speaker's audio that's going into a ConfBridge
  (Cannot join the bridge as a member, because then you're getting all participants audio)


Summary:
  1) You can whisper to a channel that joined a ConfBridge
  2) You cannot listen to the audio from a channel that joined a ConfBridge


Also:
  I tried ChanSpy()'ing into both CBAnn/...;1  and CBAnn/...;2 and I could not get audio from here either


Is this a bug or a limitation/missing-feature?


What would be a good place to look into for resolving #2 ?
</pre>
            </div>
          </blockquote>
          <div><br>
          </div>
          <div>So what is the actual state of the channel and ConfBridge
            at that point in time? You haven't really clarified that in
            this email at all. Is it listening to music on hold? Is
            there no other channel present? Have you looked at the core
            debug to see what the audiohooks API is saying? Ultimately
            that's what is capturing the audio and making it available
            for ChanSpy and it has no idea of ConfBridge or Dial or etc,
            so narrow down the issue to either the ChanSpy module itself
            or audiohooks, and then go from there. In a general sense
            from the available information I would say it is a bug,
            though I am aware that this has worked for other people
            without problem.</div>
        </div>
        <div><br>
        </div>
        <span class="gmail_signature_prefix">-- </span><br>
        <div dir="ltr" class="gmail_signature">
          <div dir="ltr">
            <div>
              <div dir="ltr">
                <div>
                  <div dir="ltr">
                    <div dir="ltr">
                      <div dir="ltr">
                        <div dir="ltr">
                          <div style="font-family:tahoma,sans-serif"><font
                              color="#073763">Joshua C. Colp</font></div>
                          <div style="font-family:tahoma,sans-serif"><font
                              color="#073763">Director of Engineering |
                              Asterisk Project Lead</font></div>
                          <div style="font-family:tahoma,sans-serif"><font
                              color="#073763">Sangoma Technologies</font></div>
                          <div style="font-family:tahoma,sans-serif"><font
                              color="#073763">Check us out at <a
                                href="http://www.sangoma.com"
                                target="_blank" moz-do-not-send="true">www.sangoma.com</a>
                              and <a href="http://www.asterisk.org"
                                target="_blank" moz-do-not-send="true">www.asterisk.org</a></font><br>
                          </div>
                        </div>
                      </div>
                    </div>
                  </div>
                </div>
              </div>
            </div>
          </div>
        </div>
      </div>
      <br>
      <fieldset class="moz-mime-attachment-header"></fieldset>
    </blockquote>
    <br>
    <br>
    Hi Joshua,<br>
    <br>
    The current state of ConfBridge is that it there is one caller, and
    I'm ChanSpying to that caller's channel, wishing to grab the audio
    coming in from the endpoint that's sending audio to at this point,
    an empty ConfBridge.  <br>
  </body>
</html>

--------------00O7Sb3aQN0cYR08J4Rv0hrF--


--===============3274713621594212661==
Content-Type: text/plain; charset="utf-8"
MIME-Version: 1.0
Content-Transfer-Encoding: base64
Content-Disposition: inline

LS0gCl9fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19f
X19fX19fX19fX19fX19fXwotLSBCYW5kd2lkdGggYW5kIENvbG9jYXRpb24gUHJvdmlkZWQgYnkg
aHR0cDovL3d3dy5hcGktZGlnaXRhbC5jb20gLS0KCmFzdGVyaXNrLWRldiBtYWlsaW5nIGxpc3QK
VG8gVU5TVUJTQ1JJQkUgb3IgdXBkYXRlIG9wdGlvbnMgdmlzaXQ6CiAgIGh0dHA6Ly9saXN0cy5k
aWdpdW0uY29tL21haWxtYW4vbGlzdGluZm8vYXN0ZXJpc2stZGV2

--===============3274713621594212661==--