Displaying 4 results from an estimated 4 matches for "getchannelvar".
2023 Jun 17
1
Get SIP Call-ID from ARI
...ip,call-id)
Though I haven't tested that.
Newer versions also include the protocol identifier (Call-ID) in the
channel ARI structure[4] which would be in events, or explicitly
retrieved[5].
[1]
https://wiki.asterisk.org/wiki/display/AST/Asterisk+20+Channels+REST+API#Asterisk20ChannelsRESTAPI-getChannelVar
[2]
https://wiki.asterisk.org/wiki/display/AST/Asterisk+20+Function_PJSIP_HEADER
[3] https://wiki.asterisk.org/wiki/display/AST/Asterisk+20+Function_CHANNEL
[4]
https://wiki.asterisk.org/wiki/display/AST/Asterisk+20+REST+Data+Models#Asterisk20RESTDataModels-Channel
[5]
https://wiki.asterisk.org/wik...
2020 Jan 22
0
[asterisk-app-dev] ARI Get Channel Variable
On Wed, Jan 22, 2020 at 5:32 PM Phil Mickelson <phil at cbasoftware.com> wrote:
> I'm trying to get the Call-ID from the SIP HEADER using getChannelVar.
> When I pass SIP_HEADER() and anything as the variable I get Unable to read
> provided function. If use Call-ID I get Provided variable was not found.
>
> This is a connected call. Is it not possible to get SIP HEADER
> information once it's connected? Or, am I missing somet...
2023 Jun 17
1
Get SIP Call-ID from ARI
Based on postings it should be possible to get the SIP Call-ID header value
from the ARI. At what point is this value available ? As well, how do I
retrieve that value - something like
GET /channels/{channelId}/pjsip_header?key=Call-Id
But that doesn't work.
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
2023 Jun 17
1
Get SIP Call-ID from ARI
...d)
Though I haven't tested that.
Newer versions also include the protocol identifier (Call-ID) in the channel ARI structure[4] which would be in events, or explicitly retrieved[5].
[1] https://wiki.asterisk.org/wiki/display/AST/Asterisk+20+Channels+REST+API#Asterisk20ChannelsRESTAPI-getChannelVar
[2] https://wiki.asterisk.org/wiki/display/AST/Asterisk+20+Function_PJSIP_HEADER
[3] https://wiki.asterisk.org/wiki/display/AST/Asterisk+20+Function_CHANNEL
[4] https://wiki.asterisk.org/wiki/display/AST/Asterisk+20+REST+Data+Models#Asterisk20RESTDataModels-Channel
[5] https://wiki.asterisk.org...