[asterisk-bugs] [JIRA] (ASTERISK-30145) GET FULL VARIABLE CHANNEL not working
Fabian Borot (JIRA)
noreply at issues.asterisk.org
Wed Jul 20 14:28:08 CDT 2022
Fabian Borot created ASTERISK-30145:
---------------------------------------
Summary: GET FULL VARIABLE CHANNEL not working
Key: ASTERISK-30145
URL: https://issues.asterisk.org/jira/browse/ASTERISK-30145
Project: Asterisk
Issue Type: Bug
Security Level: None
Components: Applications/General
Affects Versions: 18.12.1
Environment: linux ubuntu 20
Reporter: Fabian Borot
it seems that the AGI command:
GET FULL VARIABLE CHANNELNAME
is not working when using the channel name as argument
example1, without sending the channel name it works
<PJSIP/16983-0000008a>AGI Rx << GET FULL VARIABLE RTPSTATS=${CHANNEL(rtcp,all)}
<PJSIP/16983-0000008a>AGI Tx >> 200 result=1 (RTPSTATS=ssrc=454163183;themssrc=0;lp=0;rxjitter=0.000000;rxcount=0;txjitter=0.000000;txcount=168;rlp=0;rtt=0.000000)
example 2 another version that works
<PJSIP/16983-0000008a>AGI Rx << GET FULL VARIABLE ${CHANNEL(rtcp,all)}
<PJSIP/16983-0000008a>AGI Tx >> 200 result=1 (ssrc=454163183;themssrc=0;lp=0;rxjitter=0.000000;rxcount=0;txjitter=0.000000;txcount=168;rlp=0;rtt=0.000000)
these examples however do not work
<PJSIP/16983-0000008a>AGI Rx << GET FULL VARIABLE RTPSTATS=${CHANNEL(rtcp,all)} PJSIP/C10270-T360-00000089
<PJSIP/16983-0000008a>AGI Tx >> 200 result=0
<PJSIP/16983-0000008a>AGI Rx << GET FULL VARIABLE RTPSTATS=${CHANNEL(rtcp,all)} ${CHANNEL}
<PJSIP/16983-0000008a>AGI Tx >> 200 result=0
I also tested expanding the ${CHANNEL} var alone and that works
<PJSIP/16983-0000008a>AGI Rx << GET FULL VARIABLE ${CHANNEL}
<PJSIP/16983-0000008a>AGI Tx >> 200 result=1 (PJSIP/16983-0000008a)
As per the documentation it seems that I am sending the command properly.
--
This message was sent by Atlassian JIRA
(v6.2#6252)
More information about the asterisk-bugs
mailing list