Re: Get channel variables via ARI/AMI
"TTT" <[email protected]> Sun, 2 Jul 2023 19:18:11 +0000
| Newsgroups | gmane.comp.telephony.pbx.asterisk.user |
|---|---|
| Message-ID | <01000189180a8ce0-e4736f32-fab6-447b-91ed-c1aad7f0d497-000000@email.amazonses.com> |
>> 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:
action: command
actionid: id123
command: channel(PJSIP/240000-1a)
but they don’t work. Is the basic concept correct that I can using the “command” action to run a statement that would work in the dialplan? If not, how would I call “channel” from the AMI ?
Thanks
Brian
--
_____________________________________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
Check out the new Asterisk community forum at: https://community.asterisk.org/
New to Asterisk? Start here:
https://wiki.asterisk.org/wiki/display/AST/Getting+Started
asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-users