[asterisk-users] MiixMonitor filename for queue calls.

Ed Nunez enunez at netoneint.com
Sun Jun 8 10:19:24 CDT 2008


I am using the following entry to define my filename

exten =>
8484,1,Set(MONITOR_FILENAME=QUEUE-NOC-${CALLERID(NUM)}-${STRFTIME(${EPOCH},G
MT+8,%C%y%m%d%H%M)})

This will display  QUEUE-NOC (Caller ID number) (and time stamp)

I would also like to add the answering Agent ID to the file name.  Any idea
what this variable name is?

Thank you



-----Original Message-----
From: asterisk-users-bounces at lists.digium.com
[mailto:asterisk-users-bounces at lists.digium.com] On Behalf Of Kevin Smith
Sent: Saturday, June 07, 2008 3:49 PM
To: Asterisk Users Mailing List - Non-Commercial Discussion
Subject: Re: [asterisk-users] MiixMonitor filename for queue calls.

Hi Ed,

Glad to see you figured out your problem. I'm not sure what the 
differences are between your config and mine, but maybe this will help 
others too.

I add and remove my agents from the queue. So my agents.conf file is 
just the presistentagens=yes. Also I just run the command in the dial 
plan like below which saved mine items just fine. No configurations in 
the queue.conf file for the monitor type.

exten => 852,n,MixMonitor(/mercury/recordings/holding/${UNIQUEID}.gsm|b|)

 From there, in the hangup extension, I run a php script to take the CDR 
record and the file (rename it of course to 
queue-extension-callerid-callid-timestamp.gsm), and place it into the 
agents folder and the database for our agents/supervisors to review or 
download them.

Kevin


Ed Nunez wrote:
>
> Can anyone give me input on the following issue?
>
>  
>
> I have a queue with MixMonitor enabled. 
>
> This is also enabled in agents.conf.  
>
> On my extensions.conf, I am setting the monitor filename as fillows, 
> although I see the filename as desired in the console as I make my 
> test call, the system is only using the default file name to save the 
> mixmonitor file   (agented + uniqueID)
>
>  
>
> Agents.conf
>
>  
>
> [general]
>
> persistentagents=yes
>
>  
>
> [agents]
>
> maxlogintries=3
>
> musiconhold => default
>
> updatecdr=yes
>
> recordagentcalls=yes
>
> recordformat=wav49
>
> urlprefix=http://pbx.netoneint.com/calls/
>
> savecallsin=/var/calls
>
>  
>
> agent => 1000,1000,Ed Test1
>
> agent => 1001,1001,Ed Test2
>
>  
>
>  
>
> queues.conf
>
>  
>
> [noi-noc]  
>
> monitor-format = wav49      
>
> monitor-type = MixMonitor      
>
>  
>
> member => Agent/1001
>
> member => Agent/1000
>
>  
>
>  
>
> extensions.conf
>
>  
>
> exten => 
> 8484,1,Set(MONITOR_FILENAME=QUEUE-NOC-${CALLERID(NUM)}-${STRFTIME(${EPOCH)
>
> exten => 8484,1,answer
>
> exten => 8484,2,Queue(noi-noc)
>
>  
>
>  
>
> Console output
>
>  
>
>     -- Executing [8484 at incoming-att:1] Set("Zap/1-1", 
> "MONITOR_FILENAME=QUEUE-NOC-4073844200-Fri Jun  6 15:06:38 2008") in 
> new stack
>
>     -- Executing [8484 at incoming-att:2] Queue("Zap/1-1", "noi-noc") in 
> new stack
>
>     -- Started music on hold, class 'default', on Zap/1-1
>
>     -- outgoing agentcall, to agent '1001', on 
> 'Local/1658 at numberplan-custom-3-028d,1'
>
>     -- Called Agent/1001
>
>     -- Executing [1658 at numberplan-custom-3:1] 
> Dial("Local/1658 at numberplan-custom-3-028d,2", "SIP/1658") in new stack
>
>     -- Called 1658
>
>     -- SIP/1658-087e7610 is ringing
>
>     -- Agent/1001 is ringing
>
>     -- SIP/1658-087e7610 answered Local/1658 at numberplan-custom-3-028d,2
>
>     -- Agent/1001 answered Zap/1-1
>
>     -- Stopped music on hold on Zap/1-1
>
> [Jun  6 15:06:40] WARNING[3976]: app_queue.c:3014 try_calling: The 
> device state of this queue member, Agent/1001, is still 'Not in Use' 
> when it probably should not be! Please check UPGRADE.txt for correct 
> configuration settings.
>
>   == Begin MixMonitor Recording Zap/1-1
>
>   == Spawn extension (numberplan-custom-3, 1658, 1) exited non-zero on 
> 'Local/1658 at numberplan-custom-3-028d,2'
>
>   == Spawn extension (incoming-att, 8484, 2) exited non-zero on 'Zap/1-1'
>
>     -- Hungup 'Zap/1-1'
>
>   == End MixMonitor Recording Zap/1-1
>
>  
>
>  
>
>  
>
>  
>
>  
>
> ------------------------------------------------------------------------
>
> _______________________________________________
> -- Bandwidth and Colocation Provided by http://www.api-digital.com --
>
> asterisk-users mailing list
> To UNSUBSCRIBE or update options visit:
>    http://lists.digium.com/mailman/listinfo/asterisk-users


-- 
Kevin Smith

--- 
Mercury Network
Technical Support
Phone: 989.837.3790
Toll Free: 888.866.4638
www.mercury.net


_______________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users





More information about the asterisk-users mailing list