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@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)?

-- 
_____________________________________________________________________
-- 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

Reply via email to