Sponsor: VoiceMeUp - Corporate & Wholesale VoIP Services

VoIP Mailing List Archives
Mailing list archives for the VoIP community
 SearchSearch 

[asterisk-users] Trying to record incoming calls that go to queues in Asterisk v11


 
Post new topic   Reply to topic    VoIP Mailing List Archives Forum Index -> Asterisk Users
View previous topic :: View next topic  
Author Message
maillist at lightspeed.ca
Guest





PostPosted: Mon May 30, 2016 7:00 pm    Post subject: [asterisk-users] Trying to record incoming calls that go to Reply with quote

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
Back to top
Display posts from previous:   
Post new topic   Reply to topic    VoIP Mailing List Archives Forum Index -> Asterisk Users All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group

VoiceMeUp - Corporate & Wholesale VoIP Services