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: 4decf884e3ae74595906283a74f7154e at 0.0.0.0
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)?
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
<http://lists.digium.com/pipermail/asterisk-users/attachments/20230703/ac169865/attachment.html>