record calls of specific agnets

Home » Asterisk Users » record calls of specific agnets
Asterisk Users 1 Comment

I would either use a gotoif to determine which queues get recorded or put
the recordable queues into a separate context (probably the simpler
solution).

From: asterisk-users-bounces@lists.digium.com
[mailto:asterisk-users-bounces@lists.digium.com] On Behalf Of Lyle McKarns
Sent: Thursday, September 29, 2011 11:22 AM
To: asterisk-users@lists.digium.com
Subject: [asterisk-users] record calls of specific agnets

Hello Asterisk List!

I have been asked to record calls from specific agents, and I am having
difficulty finding if this is possible, and if so, how exactly to do it.

Some pertinent info:
We are using Asterisk 1.4.31 with T1/PRI/IAX/SIP calls coming inbound.
We have about 60 queues, but only a few that will need to be recorded on for
this.
We use AgentCallbackLogin for agent login.

We have in place (but not active currently) the ability to record calls per
queue, but in this case, we only want a specific set of agents that are in a
given queue to be recorded. The issue seems to be that in this case the
recording information is setup with a
Set(MONITOR_FILENAME=$filename)
statement before the calls are placed in queue, at which point there is no
what to know what agent will answer the call.

If anyone could offer some advise on this, I would be very grateful! I will
also post to the list anything I find. Have a very nice day.

One thought on - record calls of specific agnets

  • Hi,

    I think use of any Macro in queue can serve you well. Macro will be called
    whenever the call is established to the agent. In that Macro check your
    desired Agent and if condition matched trigger MixMonitor else do nothing.

    Regards,

    Gohar A.

    [mailto:asterisk-users-bounces@lists.digium.com] On Behalf Of Lyle McKarns
    Sent: Friday, September 30, 2011 5:55 PM

    Hello Asterisk List!

    I have been asked to record calls from specific agents, and I am having
    difficulty finding if this is possible, and if so, how exactly to do it.

    Have a “recorded” context and an “unrecorded” context in your dialplan,
    identical save for the lines that start the recording and cleanup processes
    being absent from the latter. Then set contexts per extension in sip.conf.

    But this seems to be a way to record a whole queue (any call in that queue),
    not just calls to specific agents, which is what I need. Is there something
    I am missing in this explanation?

    Thanks,

    Lyle J. McKarns