Ricardo Melendez
2008-Jul-30 21:09 UTC
[asterisk-users] Custom Filename for Incoming Agent Calls
Hi, to all, I have configured 3 Inbound/outbound agents queues, I record Outgoing calls with custom filename like outgoing-${callerid(num)}-${EXTEN}-${TIMESTAMP}.gsm but I need to record Incoming calls and asterisk by default add 13 digits number to inbound recordings like Agent-001-1298375678-890.gsm, how I can customize this filename recordings? Thanks in advance. Ricardo Melendez -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20080730/42be7d23/attachment.htm
Tilghman Lesher
2008-Jul-30 22:12 UTC
[asterisk-users] Custom Filename for Incoming Agent Calls
On Wednesday 30 July 2008 16:09:11 Ricardo Melendez wrote:> Hi, to all, I have configured 3 Inbound/outbound agents queues, I record > Outgoing calls with custom filename like > outgoing-${callerid(num)}-${EXTEN}-${TIMESTAMP}.gsm > > but I need to record Incoming calls and asterisk by default add 13 digits > number to inbound recordings like Agent-001-1298375678-890.gsm, how I can > customize this filename recordings?Add one or two underscores in front of the variable name, to activate variable inheritance, i.e. Set(_MIXMONITOR_FILENAME=...) or Set(__MIXMONITOR_FILENAME=...) -- Tilghman
Hi Ricardo, Try this: exten => s,11,Set(MONITOR_FILENAME=/var/spool/queues/PA-${UNIQUEID}) exten => s,12,Set(TRANSFER_CONTEXT=queuetransfer) exten => s,13,queue(q-pa|t|||9999) The TRANSFER_CONTEXT is used for transfers. If you need the filename inherited, add a double underscore before it. Thanks l. In data Wed, 30 Jul 2008 23:09:11 +0200, Ricardo Melendez <rmelendez at utep.com.mx> ha scritto:> Hi, to all, I have configured 3 Inbound/outbound agents queues, I > record > Outgoing calls with custom filename like > outgoing-${callerid(num)}-${EXTEN}-${TIMESTAMP}.gsm > > but I need to record Incoming calls and asterisk by default add 13 digits > number to inbound recordings like Agent-001-1298375678-890.gsm, how I > can > customize this filename recordings? > > > Thanks in advance. > > > Ricardo Melendez > >-- Home of QueueMetrics - http://queuemetrics.com
Could you clarify what you mean as "inherited" In The dial plan for a "given call" I thought All variable were GLOBAL to that call ?? Thanks lenz wrote:> Hi Ricardo, > Try this: > > exten => s,11,Set(MONITOR_FILENAME=/var/spool/queues/PA-${UNIQUEID}) > exten => s,12,Set(TRANSFER_CONTEXT=queuetransfer) > exten => s,13,queue(q-pa|t|||9999) > > The TRANSFER_CONTEXT is used for transfers. If you need the filename > inherited, add a double underscore before it. > Thanks > l. > > > > In data Wed, 30 Jul 2008 23:09:11 +0200, Ricardo Melendez > <rmelendez at utep.com.mx> ha scritto: > > >> Hi, to all, I have configured 3 Inbound/outbound agents queues, I >> record >> Outgoing calls with custom filename like >> outgoing-${callerid(num)}-${EXTEN}-${TIMESTAMP}.gsm >> >> but I need to record Incoming calls and asterisk by default add 13 digits >> number to inbound recordings like Agent-001-1298375678-890.gsm, how I >> can >> customize this filename recordings? >> >> >> Thanks in advance. >> >> >> Ricardo Melendez >> >> >> > > > >
Tilghman Lesher
2008-Aug-01 19:40 UTC
[asterisk-users] Custom Filename for Incoming Agent Calls
On Friday 01 August 2008 14:16:42 Al Baker wrote:> lenz wrote: > > Hi Ricardo, > > Try this: > > > > exten => s,11,Set(MONITOR_FILENAME=/var/spool/queues/PA-${UNIQUEID}) > > exten => s,12,Set(TRANSFER_CONTEXT=queuetransfer) > > exten => s,13,queue(q-pa|t|||9999) > > > > The TRANSFER_CONTEXT is used for transfers. If you need the filename > > inherited, add a double underscore before it. > > Could you clarify what you mean as "inherited" > In The dial plan for a "given call" I thought All variable were GLOBAL > to that call ?? > ThanksNo, variables are global to the CHANNEL. Calls are bridges between two channels. Variables are not transferred to a dialled (slave) channel, unless you set up inheritance, as noted above. -- Tilghman
Wow - Thanks a bunch. Likely save me about 12 hours of struggle Tilghman Lesher wrote:> On Friday 01 August 2008 14:16:42 Al Baker wrote: > >> lenz wrote: >> >>> Hi Ricardo, >>> Try this: >>> >>> exten => s,11,Set(MONITOR_FILENAME=/var/spool/queues/PA-${UNIQUEID}) >>> exten => s,12,Set(TRANSFER_CONTEXT=queuetransfer) >>> exten => s,13,queue(q-pa|t|||9999) >>> >>> The TRANSFER_CONTEXT is used for transfers. If you need the filename >>> inherited, add a double underscore before it. >>> >> Could you clarify what you mean as "inherited" >> In The dial plan for a "given call" I thought All variable were GLOBAL >> to that call ?? >> Thanks >> > > No, variables are global to the CHANNEL. Calls are bridges between two > channels. Variables are not transferred to a dialled (slave) channel, unless > you set up inheritance, as noted above. > >