Hi,
I am not sure whether the second value returned by the gsmctl -A 'AT+QCFG="ims" command actually indicates VoLTE status.
With VoLTE enabled and IMS not disabled in /etc/config/simcard:
root@RUT200:~# cat /etc/config/simcard
config sim
option modem '1-1'
option position '1'
option primary '1'
option iccid '89457300000043938490'
option volte 'on'
option disable_ims '0'
config simman
option free '5'
option info_modem_id '1-1'
option msg_storage 'sm'
config modem
option modem '1-1'
option flight_mode '0'
I get:
root@RUT200:~# gsmctl -A 'AT+QCFG="ims"'
+QCFG: "ims",1,0
root@RUT200:~# gsmctl --volte_state
Inactive
If the second value actually indicates VoLTE status, shouldn’t the output be something like this?
root@RUT200:~# gsmctl -A 'AT+QCFG="ims"'
+QCFG: "ims",1,1
root@RUT200:~# gsmctl --volte_state
Active
Then I tried turning VoLTE off with the following command:
root@RUT200:~# uci set simcard.@sim[0].volte='off'; uci commit simcard; ubus call mobifd reload
{
"state": "OK"
}
After that, VoLTE is still inactive, and AT+QCFG="ims" changes from 1,0 to 2,0:
root@RUT200:~# gsmctl --volte_state
Inactive
root@RUT200:~# gsmctl -A 'AT+QCFG="ims"'
+QCFG: "ims",2,0
So from this test, it looks like the RutOS VoLTE toggle causes IMS to turn on/off, but the second value always remains 0:
volte='on' -> +QCFG: "ims",1,0
volte='off' -> +QCFG: "ims",2,0
So my question is: what exactly does the second value in +QCFG: "ims",<first>,<second> represent? Is this behavior expected, or does it indicate an inconsistency between the RutOS VoLTE setting and the modem state?