Hi,<br><br>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.<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>same => n,MixMonitor(testmixmonitorB.wav,W(4))<br><br>I checked default path for recordings (/var/spool/asterisk/monitor) and it just shows a single recording for mixmonitor used before 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] NoOp("SIP/31-0000001b", "########## Test mixmonitor with Queue ##########") in new stack<br>
[May 5 17:26:34] -- Executing [1212@mixmonitortest:2] MixMonitor("SIP/31-0000001b", "testmixmonitorA.wav,W(4)") in new stack<br>[May 5 17:26:34] -- Executing [1212@mixmonitortest:3] 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 SIP/31-0000001b<br>[May 5 17:26:34] WARNING[21215]: translate.c:162 framein: no samples 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] NoOp("SIP/1119-0000001c", "########## Agent answered the call. Record the call ##########") in new stack<br>[May 5 17:26:40] -- Executing [s@macro-agntanserd:2] MixMonitor("SIP/1119-0000001c", "testmixmonitorB.wav,W(4)") in new 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() application used in macro? Has anybody faced similar issue, or is a bug?<br><br>Asterisk version- 1.8.3.2<br>I couldn't get chance to test on other Asterisk versions.<br>
<br>Thanks in advance.<br>--AM<br><br>