# Pause By Agent Report Bug?

**URL:** https://forums.vitalpbx.org/t/pause-by-agent-report-bug/3348
**Category:** Sonata Suite
**Created:** [October 12, 2023, 8:34pm UTC](https://forums.vitalpbx.org/t/pause-by-agent-report-bug/3348 "2023-10-12T20:34:09Z")
**Posts on this page:** 6
**Page:** 1

<div class="post-metadata">

### Author: ![TCE](https://forums.vitalpbx.org/user_avatar/forums.vitalpbx.org/tce/32/761_2.png) [@TCE](https://forums.vitalpbx.org/u/TCE)
#### Post date: [October 12, 2023, 8:34pm UTC](https://forums.vitalpbx.org/t/pause-by-agent-report-bug/3348/1 "2023-10-12T20:34:09Z")

</div>

So when we pull the “Pause By Agent Report” we are getting inconsistent results. Let me give you an example:

Agent 4 regularly pauses their extension for a couple days at a time. Agent 4 pauses on Tuesday Morning and unpauses on Thursday morning. If I run a report for all agents for Wednesday, Agent 4 will not show any paused time. However, if I run a weekly report, I will see the 3 days that she was paused. In order for the agent to show up in the report, a pause/unpause action must be present in the report period.

Is this normal behavior? Or has this been solved for in the latest version?

Carrier Plus 3.2.4-1  
Asterisk 18.12.1-1  
Sonata Stats 1.0.8-1

---

<div class="post-metadata">

### Author: ![maynor](https://forums.vitalpbx.org/letter_avatar_proxy/v4/letter/m/3e96dc/32.png) [@maynor](https://forums.vitalpbx.org/u/maynor)
#### Post date: [October 13, 2023, 3:37pm UTC](https://forums.vitalpbx.org/t/pause-by-agent-report-bug/3348/2 "2023-10-13T15:37:47Z")

</div>

Hello,

If you generate the report by Wednesday, it’s normal that you won’t see the agent’s pause event that occurred on Tuesday. This is because the S. Stats doesn’t find that event on the day you’ve configured the filters for.

However, if you set the filters for Tuesdays and Thursdays, the record should appear.

Best regards!

---

<div class="post-metadata">

### Author: ![TCE](https://forums.vitalpbx.org/user_avatar/forums.vitalpbx.org/tce/32/761_2.png) [@TCE](https://forums.vitalpbx.org/u/TCE)
#### Post date: [October 13, 2023, 3:47pm UTC](https://forums.vitalpbx.org/t/pause-by-agent-report-bug/3348/3 "2023-10-13T15:47:07Z")

</div>

I understand but think of the issue with that logic. The call center manager wants to make daily reports for everyday of the week. she runs the reports on Friday for the previous days. Based on the scenario above, these are the results she gets.

Monday - no pauses  
Tuesday - 8 hours  
Wednesday - 0 hours???  
Thursday - 1 hour  
Friday 0 hours

Weekly report - 17 hours

No Bueno

---

<div class="post-metadata">

### Author: ![TCE](https://forums.vitalpbx.org/user_avatar/forums.vitalpbx.org/tce/32/761_2.png) [@TCE](https://forums.vitalpbx.org/u/TCE)
#### Post date: [October 17, 2023, 8:44pm UTC](https://forums.vitalpbx.org/t/pause-by-agent-report-bug/3348/4 "2023-10-17T20:44:11Z")

</div>

Would this be something I should take to the support portal instead?

---

<div class="post-metadata">

### Author: ![miguel](https://forums.vitalpbx.org/user_avatar/forums.vitalpbx.org/miguel/32/415_2.png) [@miguel](https://forums.vitalpbx.org/u/miguel)
#### Post date: [October 17, 2023, 10:07pm UTC](https://forums.vitalpbx.org/t/pause-by-agent-report-bug/3348/5 "2023-10-17T22:07:23Z")

</div>

Instead of Pausing for a couple of days, you should instruct your agent to log out if they won’t accept calls.

---

<div class="post-metadata">

### Author: ![TCE](https://forums.vitalpbx.org/user_avatar/forums.vitalpbx.org/tce/32/761_2.png) [@TCE](https://forums.vitalpbx.org/u/TCE)
#### Post date: [October 18, 2023, 7:46pm UTC](https://forums.vitalpbx.org/t/pause-by-agent-report-bug/3348/6 "2023-10-18T19:46:17Z")

</div>

That is a good suggestion. I will present this to the call center manager.
