Thank you very much for your response and suggestion.<br>I raised the question because in my project I don't want to record all the Queue <br><br>calls. I just want to record calls connected with some specific members.<br>
<br>--AM<br><br><div class="gmail_quote">On Thu, May 5, 2011 at 11:10 PM, Carlos Chavez <span dir="ltr"><<a href="mailto:cursor@telecomabmex.com">cursor@telecomabmex.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div><div></div><div class="h5">On Thu, 2011-05-05 at 18:16 +0530, Asterisk Man wrote:<br>
> Hi,<br>
><br>
> I have a simple Queue(named 1) and one Member(SIP/1119) logged into<br>
> it. Now when a caller is placed into Queue and gets connected with<br>
> Member, I want to record the call. It does record the call when I use<br>
> MixMonitor() before placing the caller into Queue, but not when<br>
> MixMonitor() is used in macro which is called upon Member answering<br>
> the call.<br>
><br>
> Following is my dialplan...<br>
><br>
> [mixmonitortest]<br>
> exten => 1212,1,Noop(########## Test mixmonitor with Queue ##########)<br>
> same => n,MixMonitor(testmixmonitorA.wav,W(4))<br>
> same => n,Queue(1,ct,,,50,,agntanserd)<br>
><br>
><br>
> [macro-agntanserd]<br>
> exten => s,1,Noop(########## Agent answered the call. Record the call<br>
> ##########)<br>
> same => n,MixMonitor(testmixmonitorB.wav,W(4))<br>
><br>
> I checked default path for recordings (/var/spool/asterisk/monitor)<br>
> and it just shows a single recording for mixmonitor used before<br>
> Queue()...<br>
><br>
> [root@testmachine monitor]# ls<br>
> testmixmonitorA.wav<br>
><br>
> Following is the Asterisk CLI output...<br>
><br>
> [May 5 17:26:34] -- Executing [1212@mixmonitortest:1]<br>
> NoOp("SIP/31-0000001b", "########## Test mixmonitor with Queue<br>
> ##########") in new stack<br>
> [May 5 17:26:34] -- Executing [1212@mixmonitortest:2]<br>
> MixMonitor("SIP/31-0000001b", "testmixmonitorA.wav,W(4)") in new stack<br>
> [May 5 17:26:34] -- Executing [1212@mixmonitortest:3]<br>
> Queue("SIP/31-0000001b", "1,ct,,,50,,agntanserd") in new stack<br>
> [May 5 17:26:34] == Begin MixMonitor Recording SIP/31-0000001b<br>
> [May 5 17:26:34] -- Started music on hold, class 'default', on<br>
> SIP/31-0000001b<br>
> [May 5 17:26:34] WARNING[21215]: translate.c:162 framein: no samples<br>
> for ulawtolin<br>
> [May 5 17:26:34] == Using SIP RTP CoS mark 5<br>
> [May 5 17:26:34] -- SIP/1119-0000001c is ringing<br>
> [May 5 17:26:40] -- SIP/1119-0000001c answered SIP/31-0000001b<br>
> [May 5 17:26:40] -- Stopped music on hold on SIP/31-0000001b<br>
> [May 5 17:26:40] -- Executing [s@macro-agntanserd:1]<br>
> NoOp("SIP/1119-0000001c", "########## Agent answered the call. Record<br>
> the call ##########") in new stack<br>
> [May 5 17:26:40] -- Executing [s@macro-agntanserd:2]<br>
> MixMonitor("SIP/1119-0000001c", "testmixmonitorB.wav,W(4)") in new<br>
> stack<br>
> [May 5 17:26:40] == Begin MixMonitor Recording SIP/1119-0000001c<br>
> [May 5 17:26:46] == End MixMonitor Recording SIP/1119-0000001c<br>
> [May 5 17:26:46] == MixMonitor close filestream<br>
> [May 5 17:26:46] == End MixMonitor Recording SIP/31-0000001b<br>
><br>
><br>
> Any idead why is Asterisk not creating recording for Mixmonitor()<br>
> application used in macro? Has anybody faced similar issue, or is a<br>
> bug?<br>
><br>
> Asterisk version- 1.8.3.2<br>
> I couldn't get chance to test on other Asterisk versions.<br>
><br>
</div></div> What is wrong with the native Queue recording? Check queues.conf and<br>
make sure you have:<br>
<br>
monitor-type = MixMonitor<br>
monitor-format = gsm|wav|wav49<br>
<br>
This will automatically record calls when the agent answers the call.<br>
<font color="#888888"><br>
--<br>
Telecomunicaciones Abiertas de México S.A. de C.V.<br>
Carlos Chávez Prats<br>
Director de Tecnología<br>
+52-55-91169161 ext 2001<br>
</font><br>--<br>
_____________________________________________________________________<br>
-- Bandwidth and Colocation Provided by <a href="http://www.api-digital.com" target="_blank">http://www.api-digital.com</a> --<br>
New to Asterisk? Join us for a live introductory webinar every Thurs:<br>
<a href="http://www.asterisk.org/hello" target="_blank">http://www.asterisk.org/hello</a><br>
<br>
asterisk-users mailing list<br>
To UNSUBSCRIBE or update options visit:<br>
<a href="http://lists.digium.com/mailman/listinfo/asterisk-users" target="_blank">http://lists.digium.com/mailman/listinfo/asterisk-users</a><br></blockquote></div><br>