Re: Get channel variables via ARI/AMI
"TTT" <[email protected]> Mon, 3 Jul 2023 15:27:09 +0000
| Newsgroups | gmane.comp.telephony.pbx.asterisk.user |
|---|---|
| Message-ID | <010001891c5d6454-e374fdbf-33e8-465d-8c60-cd1e5469ff34-000000@email.amazonses.com> |
The uppercase command made a difference. I now get a call-id as show below. However, does the call-id look valid? The @0.0.0.0 seems strange. action: Getvar actionid: act1 channel: PJSIP/Twilio-NA-W-3-In-00000028 Variable: CHANNEL(pjsip,call-id) Response: Success ActionID: act1 Variable: CHANNEL(pjsip,call-id) Value: [email protected] As well, can I request many pieces of data at once? The syntax on this page (https://wiki.asterisk.org/wiki/display/AST/Asterisk+20+Function_CHANNEL) seems to suggest you pass a single parameter, “item”, yet passing just call-id did not work. I had to pass “pjsip,call-id”. Is the first parameter a category and the second the detailed item? What if I want to retrieve multiple items (or all “pjsip” items)? -- _____________________________________________________________________ -- 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