[OpenSIPS-Users] Qrouting : qr_reload --> invalid values with opensips-cli -x mi qr_reload

Abdoul Osséni abdoul.osseni at gmail.com
Wed Mar 3 13:39:31 EST 2021


Hello Team,

opensips-cli -x mi qr_reload takes invalid values when changing default
warn_penalty_xxx and crit_penalty_xxx.

Examples:

-> database values
                            id: 1
                  profile_name: QOS ROUTING
            warn_threshold_asr: 0.2
            warn_threshold_ccr: 0.2
            warn_threshold_pdd: -1
            warn_threshold_ast: -1
            warn_threshold_acd: 120
            crit_threshold_asr: 0.1
            crit_threshold_ccr: 0.1
            crit_threshold_pdd: -1
            crit_threshold_ast: -1
            crit_threshold_acd: 30
              warn_penalty_asr: 0.7
              warn_penalty_ccr: 0.5
              warn_penalty_pdd: 0.5
              warn_penalty_ast: 0.5
              warn_penalty_acd: 0.5
              crit_penalty_asr: 0.1
              crit_penalty_ccr: 0.05
              crit_penalty_pdd: 0.05
              crit_penalty_ast: 0.05
              crit_penalty_acd: 0.05


When I execute opensips-cli -x mi qr_reload, I got invalid value for all
penalities:

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]
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]


Regards
Abdoul.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opensips.org/pipermail/users/attachments/20210303/f635c865/attachment.html>


More information about the Users mailing list