[Home]

Summary:ASTERISK-01095: [patch] ast_moh_stop called before bridge
Reporter:damin (damin)Labels:
Date Opened:2004-02-25 00:16:00.000-0600Date Closed:2004-09-25 02:18:19
Priority:MinorRegression?No
Status:Closed/CompleteComponents:Core/General
Versions:Frequency of
Occurrence
Related
Issues:
Environment:Attachments:( 0) queue-moh-move.patch
Description:This patch moves the ast_moh_stop call in app_queue.c from before the "announce" playback and CDR writes to right before the actual bridge is attempted between the Caller and the Agent.

****** ADDITIONAL INFORMATION ******

I found it annoying that MOH would be stopped for the caller as soon as we got an agent to listen. If the queue had a particularly long announce message to the agent, the caller would be sitting there for several seconds in silence while the agent listened to the announce message. Also, there was the possibility that the agent might hang up the call during the process, which would further aggravate the situation and the customer. This patch moves the ast_moh_stop call to the last thing that is done before the channels are bridged together, ensuring a smooth transition between caller and agent.
Comments:By: Mark Spencer (markster) 2004-04-08 01:03:12

The patch didn't apply, but I made a smiliar change.  Reopen if it's not adequate.