[asterisk-users] [Asterisk 1.8.3.2] Mixmonitor not working on member(calling part) channel of Queue.

Carlos Chavez cursor at telecomabmex.com
Thu May 5 12:40:21 CDT 2011


On Thu, 2011-05-05 at 18:16 +0530, Asterisk Man wrote:
> Hi,
> 
> I have a simple Queue(named 1) and one Member(SIP/1119) logged into
> it. Now when a caller is placed into Queue and gets connected with
> Member, I want to record the call. It does record the call when I use
> MixMonitor() before placing the caller into Queue, but not when
> MixMonitor() is used in macro which is called upon Member answering
> the call.
> 
> Following is my dialplan... 
> 
> [mixmonitortest]
> exten => 1212,1,Noop(########## Test mixmonitor with Queue ##########)
> same => n,MixMonitor(testmixmonitorA.wav,W(4))
> same => n,Queue(1,ct,,,50,,agntanserd)
> 
> 
> [macro-agntanserd]
> exten => s,1,Noop(########## Agent answered the call. Record the call
> ##########)
> same => n,MixMonitor(testmixmonitorB.wav,W(4))
> 
> I checked default path for recordings (/var/spool/asterisk/monitor)
> and it just shows a single recording for mixmonitor used before
> Queue()...
> 
> [root at testmachine monitor]# ls
> testmixmonitorA.wav
> 
> Following is the Asterisk CLI output...
> 
> [May  5 17:26:34]     -- Executing [1212 at mixmonitortest:1]
> NoOp("SIP/31-0000001b", "########## Test mixmonitor with Queue
> ##########") in new stack
> [May  5 17:26:34]     -- Executing [1212 at mixmonitortest:2]
> MixMonitor("SIP/31-0000001b", "testmixmonitorA.wav,W(4)") in new stack
> [May  5 17:26:34]     -- Executing [1212 at mixmonitortest:3]
> Queue("SIP/31-0000001b", "1,ct,,,50,,agntanserd") in new stack
> [May  5 17:26:34]   == Begin MixMonitor Recording SIP/31-0000001b
> [May  5 17:26:34]     -- Started music on hold, class 'default', on
> SIP/31-0000001b
> [May  5 17:26:34] WARNING[21215]: translate.c:162 framein: no samples
> for ulawtolin
> [May  5 17:26:34]   == Using SIP RTP CoS mark 5
> [May  5 17:26:34]     -- SIP/1119-0000001c is ringing
> [May  5 17:26:40]     -- SIP/1119-0000001c answered SIP/31-0000001b
> [May  5 17:26:40]     -- Stopped music on hold on SIP/31-0000001b
> [May  5 17:26:40]     -- Executing [s at macro-agntanserd:1]
> NoOp("SIP/1119-0000001c", "########## Agent answered the call. Record
> the call ##########") in new stack
> [May  5 17:26:40]     -- Executing [s at macro-agntanserd:2]
> MixMonitor("SIP/1119-0000001c", "testmixmonitorB.wav,W(4)") in new
> stack
> [May  5 17:26:40]   == Begin MixMonitor Recording SIP/1119-0000001c
> [May  5 17:26:46]   == End MixMonitor Recording SIP/1119-0000001c
> [May  5 17:26:46]   == MixMonitor close filestream
> [May  5 17:26:46]   == End MixMonitor Recording SIP/31-0000001b
> 
> 
> Any idead why is Asterisk not creating recording for Mixmonitor()
> application used in macro? Has anybody faced similar issue, or is a
> bug?
> 
> Asterisk version- 1.8.3.2
> I couldn't get chance to test on other Asterisk versions.
> 
	What is wrong with the native Queue recording?  Check queues.conf and
make sure you have:

monitor-type = MixMonitor
monitor-format = gsm|wav|wav49

	This will automatically record calls when the agent answers the call.
	
-- 
Telecomunicaciones Abiertas de México S.A. de C.V.
Carlos Chávez Prats
Director de Tecnología
+52-55-91169161 ext 2001
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: This is a digitally signed message part
URL: <http://lists.digium.com/pipermail/asterisk-users/attachments/20110505/ff7517b3/attachment.pgp>


More information about the asterisk-users mailing list