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

Asterisk Man theasteriskman at gmail.com
Thu May 5 07:46:28 CDT 2011


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.

Thanks in advance.
--AM
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-users/attachments/20110505/6a34752d/attachment.htm>


More information about the asterisk-users mailing list