<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
  </head>
  <body>
    <div class="moz-cite-prefix"><br>
    </div>
    <div class="moz-cite-prefix">I need to get hooked up with this
      class, I could have students doing projects for homework :) 
      Interested in RTCP?</div>
    <div class="moz-cite-prefix"><br>
    </div>
    <div class="moz-cite-prefix">j<br>
    </div>
    <div class="moz-cite-prefix"><br>
    </div>
    <div class="moz-cite-prefix">On 6/26/23 7:45 PM, TTT wrote:<br>
    </div>
    <blockquote type="cite"
cite="mid:01000188fa4f97ef-a31f5728-6657-4f3f-af14-84d5043a8e49-000000@email.amazonses.com">
      <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
      <meta name="Generator" content="Microsoft Word 15 (filtered
        medium)">
      <style>@font-face
        {font-family:Wingdings;
        panose-1:5 0 0 0 0 0 0 0 0 0;}@font-face
        {font-family:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}@font-face
        {font-family:Consolas;
        panose-1:2 11 6 9 2 2 4 3 2 4;}p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman",serif;}a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}p
        {mso-style-priority:99;
        mso-margin-top-alt:auto;
        margin-right:0in;
        mso-margin-bottom-alt:auto;
        margin-left:0in;
        font-size:12.0pt;
        font-family:"Times New Roman",serif;}pre
        {mso-style-priority:99;
        mso-style-link:"HTML Preformatted Char";
        margin:0in;
        margin-bottom:.0001pt;
        font-size:10.0pt;
        font-family:"Courier New";}span.gmailsignatureprefix
        {mso-style-name:gmail_signature_prefix;}span.HTMLPreformattedChar
        {mso-style-name:"HTML Preformatted Char";
        mso-style-priority:99;
        mso-style-link:"HTML Preformatted";
        font-family:Consolas;}span.EmailStyle21
        {mso-style-type:personal-reply;
        font-family:"Calibri",sans-serif;
        color:#1F497D;}.MsoChpDefault
        {mso-style-type:export-only;
        font-size:10.0pt;}div.WordSection1
        {page:WordSection1;}</style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
      <div class="WordSection1">
        <p class="MsoNormal"><span
style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D">I’m
            in training, so I have to demonstrate something SIP
            related.  I figure it would be cool to hack a call, hanging
            it up while in progress from outside Asterisk.  Doing so
            will demonstrate use/knowledge of ARI, AMI, SIP, route-sets,
            UDP, etc.<o:p></o:p></span></p>
        <p class="MsoNormal"><span
style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D"><o:p> </o:p></span></p>
        <p class="MsoNormal"><span
style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D">Practical
            value: <b>zero</b><o:p></o:p></span></p>
        <p class="MsoNormal"><span
style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D"><o:p> </o:p></span></p>
        <p class="MsoNormal"><span
            style="font-size:11.0pt;font-family:Wingdings;color:#1F497D">J</span><span
style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D"><o:p></o:p></span></p>
        <p class="MsoNormal"><span
style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D"><o:p> </o:p></span></p>
        <p class="MsoNormal"><span
style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D">Who
            knows, maybe this will have an actual application for
            someone someday.  In practical terms I think building a
            proxy would be the right way to manipulate the SIP for a
            call in progress, but that sounds like a huge project.  I’ve
            got to demonstrate something by end of week.<o:p></o:p></span></p>
        <p class="MsoNormal"><span
style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D"><o:p> </o:p></span></p>
        <div>
          <div style="border:none;border-top:solid #E1E1E1
            1.0pt;padding:3.0pt 0in 0in 0in">
            <p class="MsoNormal"><b><span
                  style="font-size:11.0pt;font-family:"Calibri",sans-serif">From:</span></b><span
style="font-size:11.0pt;font-family:"Calibri",sans-serif">
                asterisk-users
                [<a class="moz-txt-link-freetext" href="mailto:asterisk-users-bounces@lists.digium.com">mailto:asterisk-users-bounces@lists.digium.com</a>] <b>On
                  Behalf Of </b>Jeff LaCoursiere<br>
                <b>Sent:</b> Monday, June 26, 2023 6:20 PM<br>
                <b>To:</b> <a class="moz-txt-link-abbreviated" href="mailto:asterisk-users@lists.digium.com">asterisk-users@lists.digium.com</a><br>
                <b>Subject:</b> Re: [asterisk-users] Get channel
                variables via ARI/AMI<o:p></o:p></span></p>
          </div>
        </div>
        <p class="MsoNormal"><o:p> </o:p></p>
        <div>
          <p class="MsoNormal">On 6/26/23 9:00 AM, Joshua C. Colp wrote:<o:p></o:p></p>
        </div>
        <blockquote style="margin-top:5.0pt;margin-bottom:5.0pt">
          <div>
            <div>
              <p class="MsoNormal">On Mon, Jun 26, 2023 at 10:57 AM TTT
                <<a href="mailto:lists@telium.io"
                  moz-do-not-send="true" class="moz-txt-link-freetext">lists@telium.io</a>>
                wrote:<o:p></o:p></p>
            </div>
            <div>
              <blockquote style="border:none;border-left:solid #CCCCCC
                1.0pt;padding:0in 0in 0in
                6.0pt;margin-left:4.8pt;margin-right:0in">
                <div>
                  <div>
                    <div>
                      <p class="MsoNormal"
                        style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto">I
                        am connecting to the ARI with subscribe all, so
                        I can see channels being created.  I now want to
                        extract a variety of header variables (at the
                        moment the from and to tag).  I tried to read
                        them from the ARI but Asterisk refuses since the
                        channel is not in a  stasis app.<o:p></o:p></p>
                      <p class="MsoNormal"
                        style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"> <o:p></o:p></p>
                      <p class="MsoNormal"
                        style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto">Is
                        there a way to read these from either the ARI or
                        AMI ?  I’m trying not to modify the dialplan.<o:p></o:p></p>
                    </div>
                  </div>
                </div>
              </blockquote>
              <div>
                <p class="MsoNormal"><o:p> </o:p></p>
              </div>
              <div>
                <p class="MsoNormal">ARI, No.<o:p></o:p></p>
              </div>
              <div>
                <p class="MsoNormal">AMI, Yes[1]. <o:p></o:p></p>
              </div>
            </div>
            <div>
              <p class="MsoNormal"><o:p> </o:p></p>
            </div>
            <p class="MsoNormal">[1] <a
href="https://wiki.asterisk.org/wiki/display/AST/Asterisk+20+ManagerAction_Getvar"
                moz-do-not-send="true" class="moz-txt-link-freetext">https://wiki.asterisk.org/wiki/display/AST/Asterisk+20+ManagerAction_Getvar</a><br
                clear="all">
              <o:p></o:p></p>
            <div>
              <p class="MsoNormal"><o:p> </o:p></p>
            </div>
          </div>
        </blockquote>
        <p>I'm curious what the actual application is here - you want to
          connect to AMI to pull information that you will use to
          pretend to be a leg, just to send "BYE", when you could just
          hangup the leg with AMI (or do just about anything else you
          might think of).  Sometimes it is better to fully explain what
          you are trying to accomplish, and some folks here can try to
          steer you towards a workable solution.  It almost sounds...
          nefarious.<o:p></o:p></p>
        <p>Cheers,<o:p></o:p></p>
        <pre>-- <o:p></o:p></pre>
        <pre>Jeff LaCoursiere<o:p></o:p></pre>
        <pre>StratusTalk, Inc.<o:p></o:p></pre>
        <pre>703 496 4990 x108<o:p></o:p></pre>
        <pre>815 546 6599 cell<o:p></o:p></pre>
      </div>
      <br>
      <fieldset class="moz-mime-attachment-header"></fieldset>
    </blockquote>
    <p><br>
    </p>
    <pre class="moz-signature" cols="72">-- 
Jeff LaCoursiere
StratusTalk, Inc.
703 496 4990 x108
815 546 6599 cell</pre>
  </body>
</html>