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@testmachine monitor]# ls
> testmixmonitorA.wav
> 
> Following is the Asterisk CLI output...
> 
> [May  5 17:26:34]     -- Executing [1212@mixmonitortest:1]
> NoOp("SIP/31-0000001b", "########## Test mixmonitor with Queue
> ##########") in new stack
> [May  5 17:26:34]     -- Executing [1212@mixmonitortest:2]
> MixMonitor("SIP/31-0000001b", "testmixmonitorA.wav,W(4)") in new stack
> [May  5 17:26:34]     -- Executing [1212@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@macro-agntanserd:1]
> NoOp("SIP/1119-0000001c", "########## Agent answered the call. Record
> the call ##########") in new stack
> [May  5 17:26:40]     -- Executing [s@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

Attachment: signature.asc
Description: This is a digitally signed message part

--
_____________________________________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
               http://www.asterisk.org/hello

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users

Reply via email to