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

Joshua C. Colp jcolp at sangoma.com
Sun Jul 2 14:35:29 CDT 2023


On Sun, Jul 2, 2023 at 4:18 PM TTT <lists at telium.io> wrote:

> >> There are SOME protocol level things accessible using CHANNEL[1] but
> that's it.
>
> >> [1]
> https://wiki.asterisk.org/wiki/display/AST/Asterisk+20+Function_CHANNEL
>
>
>
>
>
> I am trying to use the CHANNEL function listed above from the AMI.  Since
> it is not an AMI “action”, but rather a dialplan “function”, I’m trying to
> figure out how to call this from the AMI.  Using a telnet session to the
> AMI I’ve tried variations of:
>

You use the AMI action Getvar[1] which allows channel variables and
dialplan functions.

[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/20230702/37a7c017/attachment.html>


More information about the asterisk-users mailing list