On Mon, Jul 3, 2023 at 12:28 PM TTT wrote:
> 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-0028
>
> Variable: CHANNEL(pjsip,call-id)
>
>
>
>
>
> Response: Success
>
> ActionID: act1
>
> Variable: CHANNEL(pjsip,call-id)
>
> Value: 4decf884e3ae74595906283a74f7154e@0.0.0.0
>
Call-ID within a SIP dialog is completely opaque. It is what it is.
>
>
>
>
> 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)?
>
You can not request multiple at once. Some things require an initial
specifier such as pjsip, some things don't.
--
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