[asterisk-bugs] [JIRA] (ASTERISK-30145) GET FULL VARIABLE CHANNEL not working
Joshua C. Colp (JIRA)
noreply at issues.asterisk.org
Wed Jul 20 15:30:09 CDT 2022
[ https://issues.asterisk.org/jira/browse/ASTERISK-30145?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Joshua C. Colp closed ASTERISK-30145.
-------------------------------------
Resolution: Not A Bug
This is not a bug. At the time "GET FULL VARIABLE" was executed the channel was not present for querying. This is the only case where result will be 0. If the channel has hung up, there is no guarantee it will still be present at the time another channel uses "GET FULL VARIABLE".
> 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