nethesis / dev

Nethesis issue tracker
http://www.nethesis.it
4 stars 1 forks source link

NethVoice report: caller min,avg, max position is wrong #6203

Closed andrea-marchionni closed 1 year ago

andrea-marchionni commented 1 year ago

NethVoice Report -> By Caller section

The minimum, average, and maximum position is wrong sometimes because calculating them is also used data from a failed call with FULL motivation.

Failed call with action = FULL has in the position field the CID that is used to calculate the position items as below.

| period | cid | qname | qdescr | total_recall | avg_recall | total | good | failed | timeout | exitempty | exitkey | full | joinempty | null | min_hold | avg_hold | max_hold | min_duration | avg_duration | max_duration | min_position | avg_position | max_position | +------------+------------+-------+--------------+--------------+------------+-------+------+--------+---------+-----------+---------+------+-----------+------+----------+----------+----------+--------------+--------------+--------------+--------------+----------------+--------------+ | 2023-03-15 | 338329XXXX | 4444 | Passeggeri | 0 | NULL | 5 | 4 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 47.2000 | 81 | 0 | 76.6000 | 272 | 1 | 676658754.4000 | 338329XXXX |

nethbot commented 1 year ago

in 7.9.2009/nethesis-testing:

nethbot commented 1 year ago

in 7.9.2009/nethesis-updates: