Displaying 3 results from an estimated 3 matches for "asterisk20channelsrestapi".
2023 Jun 17
1
Get SIP Call-ID from ARI
...iable?variable=CHANNEL(pjsip,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.as...
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
...iable=CHANNEL(pjsip,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://wik...