no, it works on both without issue…
here is a thought - have you tested the context you set up WITHOUT the queue command? in other words, instead of the last statement being a call to the queue, change it (or make a test context) and have it dial a device…
that way, you know if it’s a problem with the queue recognizing the MONITOR_FILENAME, or if it’s a problem with SET not setting the value properly…see where i’m going?
this is really weird, post back your results.
Well I’ve changed it to “Set” and it still looks like its working on the console:
-- Executing GotoIfTime("Zap/1-1", "9:00-17:00|mon-fri|*|*?openclient|s|1") in new stack
-- Goto (openclient,s,1)
-- Executing Set("Zap/1-1", "MONITOR_FILENAME=Client-Line-20060630-161627-01427676530") in new stack
-- Executing Answer("Zap/1-1", "") in new stack
-- Executing Ringing("Zap/1-1", "") in new stack
-- Executing Wait("Zap/1-1", "1") in new stack
-- Executing Playback("Zap/1-1", "welcomeclient") in new stack
-- Playing 'welcomeclient' (language 'en')
But the file is still getting named in the same convention as before
.
Do you mean replace the queue app to ring a SIP phone instead?
Cheers
Chris
chris,
are you using either ‘_’ or ‘__’ as a prefix to the variable name ?
yeah, that way we can determine if app_queue isn’t picking up the filename, or if the Set command isn’t even setting the filename properly…
since we aren’t using agents (we’re using AddQueueMember), take a look at your agents.conf, and see if the “recordagentcalls” directive is set…if it IS, maybe try turning that off, as the only thing i have enabled is in queues.conf, and that is “monitor-format=wav”
I dont think so my config is as follows:
DDI context:
[incomingfrompstn]
;#Debtor Line
exten => 383876,1,GotoIfTime(08:00-16:58|mon-fri|*|*?opendebtor,s,1)
exten => 383876,2,Answer
exten => 383876,3,Playback(outofhours)
exten => 383876,4,Hangup
Queue and Record Context
[opendebtor]
exten => s,1,Set(MONITOR_FILENAME=Debtor-Line-${TIMESTAMP}-0${CALLERID})
exten => s,n,Answer
exten => s,n,Ringing
exten => s,n,Wait(1)
exten => s,n,Playback(placedinqueue)
exten => s,n,Queue(debtorqueue)
The call comes into “incomingonpstn” then jumps to “opendebtor” is its between 08:00-17:00 mon-fri.
As you can see no _ or __ in my code.
[quote=“whoiswes”][quote=“ChrisUK”]
Do you mean replace the queue app to ring a SIP phone instead?
[/quote]
yeah, that way we can determine if app_queue isn’t picking up the filename, or if the Set command isn’t even setting the filename properly…
since we aren’t using agents (we’re using AddQueueMember), take a look at your agents.conf, and see if the “recordagentcalls” directive is set…if it IS, maybe try turning that off, as the only thing i have enabled is in queues.conf, and that is “monitor-format=wav”[/quote]
Ok weird…
My agents.conf is set to “recordagentcalls=yes” I’ll try setting it to No and see if it still records
.
the reason i asked is that the underscore or double-underscore carries the variable value through to child channels. my thinking was that if this passes through to Q as set, it just might be what you need.
Ok,
I’ve tried putting
and it didn’t work
.
Im going to try setting it to a SIP phone but it wont be until monday morning now
. The recording of calls as already got one foul mouthed agent sacked :wicked:. Woohooo weeeekend is here
.
Is there any progress for this issue ?
I want this recording file:
20070630-195959-Agent007 or 20070630-195959-Extensions6000
My code is not working for above recording file:
exten => s,1,Set(MONITOR_FILENAME=Client_Line_${TIMESTAMP}_${CALLERID(num)})
but only this file is appear:
20070630-195959-.gsm
Please help, moderator or anyone… Give me the code, please…