Summary:ASTERISK-21782: Delayed audio to agent when answering a queue call
Reporter:Remi Quezada (remiq)Labels:
Date Opened:2013-05-13 17:18:23Date Closed:2013-06-10 10:15:54
Versions: 11.5.0 Frequency of
Environment:Attachments:( 0) ASTERISK-21782-1.8.diff
Description:Agent is getting delayed audio when periodic announcements is enabled in the queue.  The following commit introduced this bug:

Comments:By: David Brillert (aragon) 2013-05-17 10:37:39.049-0500

I am using a fresh checkout of 11 SVN and now I have the same problem.
I'm going to have to roll back.

By: David Brillert (aragon) 2013-05-17 10:42:24.424-0500

Maybe Olle, can revert that commit in SVN and post a new patch once queuing is no longer regressed.

By: David Brillert (aragon) 2013-05-17 11:59:22.200-0500

Reverted Olle's commit and our production servers are OK now.

By: Rusty Newton (rnewton) 2013-05-21 10:30:11.197-0500

If any one experiencing the issue can attach an Asterisk log (VERBOSE,DEBUG) including RTP debug and a packet capture of the issue as it happens that may help Olle to narrow down what the issue is.

Edit - Actually I'm told the issue looks fairly clear, so don't go to too much trouble to grab debug.

By: Olle Johansson (oej) 2013-05-23 09:45:53.545-0500

This is a natural function of the playback system and something I have solved in my Pinequeue work. When you play and audio stream, the user is locked and the agent can't answer. With Pinequeue the prompts are played in the background and the call will be connected to the agent at any time.

Matt and I agreed that we need to make this feature optional, so we need to introduce a configuration option to have this function off by default (like before - no announcements to the first user in the queue).

Rusty - please do not assign to me unless you have discussed with me first. I'm available on E-mail, facebook, g+, twitter, jabber chat and - be scared - telephone. :-) Ping me if you think it may be related to my work, but an assignment means a commitment to solve it, which unfortunately depends on funding.

By: Rusty Newton (rnewton) 2013-05-23 13:44:10.454-0500

@Olle, Sorry for the surprise! I'll be sure to ping you next time. :)

By: Matt Jordan (mjordan) 2013-06-03 13:16:32.255-0500

Attached is a patch for 1.8 (ASTERISK-21782-1.8.diff) which adds a configuration option 'announce-to-first-user' which will enable Olle's patch. The option is disabled by default.

If you can, please test and let me know if this resolves the issue.

By: Matt Jordan (mjordan) 2013-06-10 08:57:51.297-0500

I'm going to go ahead and commit this, since I'm fairly sure this fixes the problem that was introduced. If you continue to have problems with the new setting, let me know and I'll be happy to reopen this issue. Thanks!