<div dir="ltr"><div>Hello Team,</div><div><br></div><div>opensips-cli -x mi qr_reload takes invalid values when changing default warn_penalty_xxx and crit_penalty_xxx.</div><div><br></div><div>Examples: <br></div><div><br></div><div>-> database values<br></div><div>                            id: 1<br>                  profile_name: QOS ROUTING<br>            warn_threshold_asr: 0.2<br>            warn_threshold_ccr: 0.2<br>            warn_threshold_pdd: -1<br>            warn_threshold_ast: -1<br>            warn_threshold_acd: 120<br>            crit_threshold_asr: 0.1<br>            crit_threshold_ccr: 0.1<br>            crit_threshold_pdd: -1<br>            crit_threshold_ast: -1<br>            crit_threshold_acd: 30<br><span style="background-color:rgb(255,255,0)">              warn_penalty_asr: 0.7</span><br>              warn_penalty_ccr: 0.5<br>              warn_penalty_pdd: 0.5<br>              warn_penalty_ast: 0.5<br>              warn_penalty_acd: 0.5<br><span style="background-color:rgb(255,255,0)">              crit_penalty_asr: 0.1</span><br>              crit_penalty_ccr: 0.05<br>              crit_penalty_pdd: 0.05<br>              crit_penalty_ast: 0.05<br>              crit_penalty_acd: 0.05</div><div><br></div><div><br></div><div>When I execute opensips-cli -x mi qr_reload, I got invalid value for all penalities:<br></div><div><span style="background-color:rgb(0,255,0)"><span style=""><br></span></span></div><div><span style="background-color:rgb(255,255,255)"><span style="">Mar  3 14:37:54 sd-68704 /usr/local/sbin/opensips[28847]: DBG:qrouting:qr_reload: qr_profile (1, QOS ROUTING) thresholds: [0.200000 0.200000 -1.000000 -1.000000 120.000000] [0.100000 0.100000 -1.000000 -1.000000 30.000000]<br>Mar  3 14:37:54 sd-68704 /usr/local/sbin/opensips[28847]: DBG:qrouting:qr_reload: qr_profile (1, QOS ROUTING) penalties: [0.700000 0.700000 0.700000 0.700000 0.700000] [0.100000 0.100000 0.100000 0.100000 0.100000]</span></span></div><div><span style="background-color:rgb(255,255,255)"><span style=""><br></span></span></div><div><span style="background-color:rgb(255,255,255)"><span style=""><br></span></span></div><div><span style="background-color:rgb(255,255,255)"><span style="">Regards<br></span></span></div><div><span style="background-color:rgb(255,255,255)"><span style="">Abdoul.<br></span></span></div></div>