maillist at lightspeed.ca Guest
|
Posted: Mon May 30, 2016 7:00 pm Post subject: [asterisk-users] Trying to record incoming calls that go to |
|
|
Hi everyone.
It seems that all the documentation for Asterisk has become obsolete
when it comes to using the Monitor command on a call queue.
To the best of my knowledge, the way to get Asterisk to record a call
that goes into one of your call queues is by doing this in the dialplan:
exten => 1,1,Answer()
same => n,Set(DAY=${STRFTIME(${EPOCH},,%Y-%m-%d)})
same => n,Set(TIME=${STRFTIME(${EPOCH},,%H%M%S)})
same => n,Set(MONITOR_FILENAME="incoming/${DAY}/${TIME}-${EXTEN}")
same => n,Queue(lsqueue-all)
same => n,Macro(handle-hangup)
and then add these lines in the queue context in queues.conf:
[lsqueue-all]
monitor-format=wav
monitor-type=MixMonitor
But when I reload Asterisk, I don't get any new files in
/var/spool/asterisk/monitor/incoming.
We're able to record our outgoing calls without any trouble with the
following dialplan:
exten => call,1,NoOp()
same => n,Set(DAY=${STRFTIME(${EPOCH},,%Y-%m-%d)})
same => n,Set(TIME=${STRFTIME(${EPOCH},,%H%M%S)})
same => n,Set(FILENAME="outgoing/${DAY}/${TIME}-${E}")
same => n,Monitor(wav,${FILENAME},m)
same => n,Dial(SIP/dolphintel/${E})
The file permissions on the "outgoing" and "incoming" are the same, plus
we don't get any errors in the Asterisk console about not being able to
write the files, so I'm pretty sure it's not a problem with actually
writing the files. It just doesn't seem to even try.
Any help will be much appreciated.
--
_____________________________________________________________________
-- 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 |
|