<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
</head>
<body>
<div class="moz-cite-prefix">On 6/26/23 9:00 AM, Joshua C. Colp
wrote:<br>
</div>
<blockquote type="cite"
cite="mid:CAM0A2Z3fD2yRNsTB6s_9ZQ0EjLErtwqOu7zA3rP34JK4K2vzHQ@mail.gmail.com">
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
<div dir="ltr">
<div dir="ltr">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:<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">
<div class="msg8876882192732732862">
<div lang="EN-US">
<div class="m_8876882192732732862WordSection1">
<p class="MsoNormal">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.</p>
<p class="MsoNormal"> </p>
<p class="MsoNormal">Is there a way to read these from
either the ARI or AMI ? I’m trying not to modify
the dialplan.</p>
</div>
</div>
</div>
</blockquote>
<div><br>
</div>
<div>ARI, No.</div>
<div>AMI, Yes[1]. </div>
</div>
<div><br>
</div>
[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">
<div><br>
</div>
<span class="gmail_signature_prefix"></span></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.<br>
</p>
<p>Cheers,<br>
</p>
<pre class="moz-signature" cols="72">--
Jeff LaCoursiere
StratusTalk, Inc.
703 496 4990 x108
815 546 6599 cell</pre>
</body>
</html>