Re: Get channel variables via ARI/AMI
"Joshua C. Colp" <[email protected]> Sun, 2 Jul 2023 17:11:39 -0300
| Newsgroups | gmane.comp.telephony.pbx.asterisk.user |
|---|---|
| Message-ID | <CAM0A2Z0_UJF_8VsVgiQKXYp1VbH7jAnCsaW1On8+T+A6wZWwzQ@mail.gmail.com> |
On Sun, Jul 2, 2023 at 4:39 PM TTT <[email protected]> wrote: > >> 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 > > > > > I actually tried that, and although I get “success” I never get useful > data. For example: > > > > action: Getvar > > actionid: act1 > > channel: PJSIP/Twilio-NA-W-2-In-00000025 > > Variable: channel(pjsip,call-id) > > > > Response: Success > > ActionID: act1 > > Variable: channel(pjsip,call-id) > > Value: > CHANNEL(pjsip,call-id) Dialplan function names are case sensitive. -- Joshua C. Colp Asterisk Project Lead Sangoma Technologies Check us out at www.sangoma.com and www.asterisk.org -- _____________________________________________________________________ -- 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