[Home]

Summary:ASTERISK-03311: No MOH when agents puts caller on hold.
Reporter:jbittner (jbittner)Labels:
Date Opened:2005-01-19 22:29:23.000-0600Date Closed:2008-01-15 15:23:58.000-0600
Priority:MinorRegression?No
Status:Closed/CompleteComponents:Applications/app_queue
Versions:Frequency of
Occurrence
Related
Issues:
Environment:Attachments:( 0) cli.txt
( 1) debug
( 2) note2.txt
Description:MOH doesnt work when a caller is placed on hold after accepting a queued call. The caller does get MOH when in the queue. This issue is only when calls are directed to agents. When a dynamic queue member puts a call on hold MOH works.

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

I have attached a CLI log including some sip traces.
Comments:By: jbittner (jbittner) 2005-01-21 01:13:46.000-0600

latest chan_agent update breaks '#' to acknowledge feature. Was working on prior version. Agents get calls with having to hit # but if they do hit # you see a bunch of errors in the cli.

Jan 21 02:08:46 WARNING[28850]: cdr.c:341 ast_cdr_end: CDR on channel '<unknown>' has not started
Jan 21 02:08:46 WARNING[28850]: cdr.c:499 ast_cdr_post: CDR on channel '<unknown>' lacks start
Jan 21 02:08:46 WARNING[28850]: cdr.c:118 ast_cdr_free: CDR on channel '<unknown>' lacks start

Also if recording is turned on in agents.conf .... calls will not be recored without hitting #
*****************************************************************

Executing Queue("SIP/69.60.198.131-081745b8", "techsupportq1") in new stack
   -- Started music on hold, class 'random', on SIP/69.60.198.131-081745b8
   -- outgoing agentcall, to agent '1299', on 'Local/1299@voicepulse-outgoing-1eb0,1'
   -- Executing Dial("Local/1299@voicepulse-outgoing-1eb0,2", "SIP/1299") in new stack
   -- Called 1299
   -- Called Agent/1299
   -- SIP/1299-d45c is ringing
   -- Agent/1299 is ringing
   -- SIP/1299-d45c answered Local/1299@voicepulse-outgoing-1eb0,2
   -- Agent/1299 answered SIP/69.60.198.131-081745b8
   -- Stopped music on hold on SIP/69.60.198.131-081745b8
 == Spawn extension (voicepulse-outgoing, 1299, 1) exited non-zero on 'Local/1299@voicepulse-outgoing-1eb0,2'
   -- Executing Hangup("Local/1299@voicepulse-outgoing-1eb0,2", "") in new stack
 == Spawn extension (voicepulse-outgoing, h, 1) exited non-zero on 'Local/1299@voicepulse-outgoing-1eb0,2'
   -- SIP/1299-d45c acknowledged        ******* I hit # after getting call
Jan 21 02:08:46 WARNING[28850]: cdr.c:341 ast_cdr_end: CDR on channel '<unknown>' has not started
Jan 21 02:08:46 WARNING[28850]: cdr.c:499 ast_cdr_post: CDR on channel '<unknown>' lacks start
Jan 21 02:08:46 WARNING[28850]: cdr.c:118 ast_cdr_free: CDR on channel '<unknown>' lacks start
monitor executing ( nice -n 19 soxmix "//home/uhts/html/ultramarcalls/agent-1299-1106291318-12-in.wav" "//home/uhts/html/ultramarcalls/agent-1299-1106291318-12-out.wav" "//home/uhts/html/ultramarcalls/agent-1299-1106291318-12.wav"  && rm -f ""//home/uhts/html/ultramarcalls/agent-1299-1106291318-12-* ) &
 == Spawn extension (techsupport, 1, 3) exited non-zero on 'SIP/69.60.198.131-081745b8'

edited on: 01-21-05 02:46

edited on: 01-21-05 02:48

By: nick (nick) 2005-01-21 12:57:06.000-0600

Let's get one bug per report, please...

By: nick (nick) 2005-01-21 13:34:44.000-0600

I seriously doubt the two are related... and please, post debugs as files (with a .txt extension) so that you don't have super-long comments.

NB

By: Mark Spencer (markster) 2005-02-01 01:08:46.000-0600

Please try latest CVS head and let me know if that fixes the hold problem.  Thanks!

By: Mark Spencer (markster) 2005-02-02 13:37:58.000-0600

Assuming fixed.  If not, feel free to reopen.

By: Digium Subversion (svnbot) 2008-01-15 15:23:58.000-0600

Repository: asterisk
Revision: 4943

U   trunk/channels/chan_agent.c
U   trunk/cli.c

------------------------------------------------------------------------
r4943 | markster | 2008-01-15 15:23:57 -0600 (Tue, 15 Jan 2008) | 2 lines

Fix agent moh issue (bug ASTERISK-3311)

------------------------------------------------------------------------

http://svn.digium.com/view/asterisk?view=rev&revision=4943