[opendebtor]
exten => s,1,Answer
exten => s,n,Ringing
exten => s,n,Wait(1)
exten => s,n,Playback(placedinqueue)
exten => s,n,SetVar(MONITOR_FILENAME=Debtor_Line_${DATETIME}_0${CALLERID})
exten => s,n,Queue(debtorqueue)
[/code]
I have 2 Different DDI’s going into 2 different queues. The setvar apears to work on the console:
Executing SetVar("Zap/10-1", "MONITOR_FILENAME=Debtor_Line_29062006-14:50:47_01592569169") in new stack
-- Executing Queue("Zap/10-1", "debtorqueue") in new stack
-- Started music on hold, class 'default', on channel 'Zap/10-1'
i wouldn’t think so, as the queue application is separate from the agent layer…in other words, the recording is part of the core queue app, and the calls being routed to agents should be a separate component. it’s a possibility though…
Any other Ideas will be appreciated, quite despirate now as we are getting complaints from Debtors saying our agents are offensive. After using ZAPBarge to listen to them I would agree I just need some evidence before we sack em. .
hasn’t SetVar been deprecated ? looking at the info for Set, you might want to investigate that, particularly the use of the ‘_’ prefix for variable value inheritence.
This might have been a very amature way of doing things, this is a copy from one of my first extention.conf files. I used to use the monitor command when creating extentions, then with the specified name
Something like that. I had extentions 1001-1010 and they used to login to a queue and answer calls. All the conversations where recorded and where named correctly.
SuperX yeah that method works great for recording an extension (I use it myself to record the Accounts Dept incase of fraud 8)) but Agents is a completly different ball game. With Agents The call comes in from a DDI and then get put in a agent queue then the queue calls the agent without the use of extensions.conf. This is why we need to use SetVar or “Set”.
Yeah I’ll read into the use of “Set” hopefully its just a case of changing SetVar for Set .
if it is SetVar causing the problem, then I’m confused as hell, because the code i posted for you is what we are using on our live dial plan right now, on asterisk 1.2.4…
i know that SetVar was deprecated, perhaps it was removed entirely in a recent release…
looks like i need to go through my scripts and get everything up to date…(deep sad sigh)…
Unlucky!. Im using 1.2.7.1 I think I can’t use the latest upgrade cause it totally shafts Zaptel and it starts to resfuse to answer calls over a space of about 1-2 hours.