write queue agents id to cdr userfield

tomcattyy

Joined
Mar 2, 2010
Messages
11
Likes
0
Points
0
#1
Hello there,

I have a queue with a couple users, I want to write whoever answer the call to cdr table userfiled.
I googled and seems I should enable the
setinterfacevar=yes to each queue
and add
exten => h,1,Set(CDR(userfield)=${MEMBERINTERFACE})

My question is I can not find out where(what context) to add above line

I have tried add the line
at the bottom of [ext-queues] in extensions_additional.conf
as
exten => h,1,Set(CDR(userfield)=Agent:${MEMBERINTERFACE})
and also tried
exten => h,1,Set(CDR(userfield)=Agent:${AGENT})
The word "Agent" been written to cdr table but not ${MEMBERINTERFACE} or ${AGENT}

How should I go from here? Appreciate your help
 

Members online

No members online now.

Latest posts

Forum statistics

Threads
30,902
Messages
130,886
Members
17,563
Latest member
dineshr
Top