[asterisk-users] Get channel variables via ARI/AMI

Joshua C. Colp jcolp at sangoma.com
Mon Jun 26 09:00:00 CDT 2023


On Mon, Jun 26, 2023 at 10:57 AM TTT <lists at telium.io> wrote:

> 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.
>
>
>
> Is there a way to read these from either the ARI or AMI ?  I’m trying not
> to modify the dialplan.
>

ARI, No.
AMI, Yes[1].

[1]
https://wiki.asterisk.org/wiki/display/AST/Asterisk+20+ManagerAction_Getvar

-- 
Joshua C. Colp
Asterisk Project Lead
Sangoma Technologies
Check us out at www.sangoma.com and www.asterisk.org
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-users/attachments/20230626/0f87654a/attachment.html>


More information about the asterisk-users mailing list