I am having the same problem. I have read this post and still don't understand how this is supposed to work. Clear documentation would be very helpful. Here's what I'm doing and what I need to have happen. I purchased the FOP2 regular basic license as I need 58 buttons to replicate the op_panel-0.30 install that we are replacing as it doesn't support queues and agents correctly now that we upgraded to asterisk 1.6. Previously we were using asterisk 1.4 and op_panel-0.30. This combination was working perfectly. When an agent was not logged in the extension button showed the actual sip phones extension. When the agent logged in via agentcallbacklogin, the extensions label changed from the sip extension number to the agents name, it also shows when the agent is on an inbound call, and when the agent's phone is ringing.
With the following configurations below, do not really help. The sip button shows when the phone is ringing and when someone is on that phone, however there is no way to know wwhich agent is on that phone. The label always says the sip extension no matter what. Additionally even though the agent is logged in, and the agents name is listed under the queue they are logged into, the agents icon never changes, it always shows ready, it never changes to busy, even though the phone she logged into is busy.
Agent login dialplan:
extensions.conf
exten => 400,1,Answer()
exten => 400,n,wait(0.5)
exten => 400,n,read(agent,agent-user)
exten => 400,n,Authenticate(/agentpw-${agent},d,)
exten => 400,n,read(ext,agent-newlocation)
exten => 400,n,GotoIf($["${ext}" = ""]?logout)
exten => 400,n,GotoIf(${DB_EXISTS(Agent_Ext/${agent})}?move)
exten => 400,n,Set(DB(Agent_Ext/${agent})=${ext})
exten => 400,n,AddQueueMember(800,local/${agent}@agent,,,,SIP/${ext})
exten => 400,n,playback(agent-loginok)
exten => 400,n,playback(vm-goodbye)
exten => 400,n,Hangup
exten => 400,n(move),set($junk=${DB_DELETE(Agent_Ext/${agent})})
exten => 400,n,RemoveQueueMember(800,local/${agent}@agent)
exten => 400,n,Set(DB(Agent_Ext/${agent})=${ext})
exten => 400,n,AddQueueMember(800,local/${agent}@agent,,,,SIP/${ext})
exten => 400,n,playback(agent-loginok)
exten => 400,n,playback(vm-goodbye)
exten => 400,n,Hangup
exten => 400,n(logout),set($junk=${DB_DELETE(Agent_Ext/${agent})})
exten => 400,n,RemoveQueueMember(800,local/${agent}@agent)
exten => 400,n,playback(agent-loggedoff)
exten => 400,n,playback(vm-goodbye)
exten => 400,n,hangup
queues.conf
[general]
persistentmembers = yes
autofill = yes
monitor-type = MixMonitor
eventwhencalled = yes
[800]
fullname = CSR Agent Queue
strategy = rrmemory
timeout = 8
timeoutreset = yes
wrapuptime = 20
autofill = yes
autopause = no
maxlen =
joinempty = yes
leavewhenempty = no
reportholdtime = no
musicclass = csr
fop2 buttons.cfg
[SIP/100]
type=extension
extension=100
context=default
label=100
[QUEUE/800]
type=queue
label=CSR
extension=800
context=default
[QUEUE/805]
type=queue
label=Luxe
extension=805
context=default
fop-0.3 buttons.cfg
[SIP/101]
Position=2
Label="CSR 101"
Extension=101
Context=default
[SIP/107]
Position=n
Label="CSR 107"
Extension=107
Context=default
[SIP/110]
Position=n
Label="CSR 110"
Extension=110
Context=default
[SIP/111]
Position=n
Label="CSR 111"
Extension=111
Context=default
;[SIP/112]
;Position=n
;Label="CSR 112"
;Extension=112
;Context=default
[SIP/113]
Position=n
Label="CSR 113"
Extension=113
Context=default
[SIP/114]
Position=n
Label="Custom 114"
Extension=114
Context=default
[SIP/115]
Position=n
Label="CSR 115"
Extension=115
Context=default
[SIP/116]
Position=n
Label="CSR 116"
Extension=116
Context=default
[SIP/118]
Position=n
Label="CSR 118"
Extension=118
Context=default
[SIP/121]
Position=n
Label="CSR 121"
Extension=121
Context=default
[SIP/127]
Position=n
Label="CSR 127"
Extension=127
Context=default
[SIP/131]
Position=n
Label="Custom 131"
Extension=131
Context=default
[SIP/138]
Position=n
Label="CSR 138"
Extension=138
Context=default
[SIP/142]
Position=n
Label="CSR 142"
Extension=142
Context=default
[SIP/149]
Position=n
Label="CSR 149"
Extension=149
Context=default
[SIP/150]
Position=n
Label="CSR 150"
Extension=150
Context=default
[SIP/152]
Position=n
Label="CSR152"
Extension=152
Context=default
[SIP/123]
Position=n
Lablel="Custom 123"
Extension=123
Context=default
;
; CSR LuxeBidder lines
;
[SIP/2110]
Position=22
Label="CSR 2110"
Extension=2110
Context=default
[SIP/2112]
Position=n
Label="CSR 2112"
Extension=2112
Context=default
[SIP/2113]
Position=n
Label="CSR 2113"
Extension=2113
Context=default
[SIP/2118]
Position=n
Label="CSR 2118"
Extension=2118
Context=default
[SIP/2127]
Position=n
Label="CSR 2127"
Extension=2127
Context=default
[SIP/2138]
Position=n
Label="CSR 2138"
Extension=2138
Context=default
[SIP/2149]
Position=n
Label="CSR 2149"
Extension=2149
Context=default
[QUEUE/800]
Position=32-49
Label="CSR Queue"
Extension=800
[QUEUE/800]
Position=50
Label="CSR Q Summary"
Extension=800
[QUEUE/806]
Position=30
Label="Custom Q Summary"
Extension=806
[QUEUE/805]
Position=52-69
Label="Luxe Queue"
Extension=805
[QUEUE/805]
Position=70
Label="Luxe Q Summary"
Extension=805
; 3rd box
[rectangle]
x=708
y=35
width=298
height=550
line_width=3
;line_color=ffff10
;fade_color1=ffff10
;fade_color2=ffff3F
line_color=10ff10
fade_color1=10ff10
fade_color2=10ff10
rnd_border=2
alpha=10
layer=top ; top = above buttons
; bottom = below buttons
; 2nd column top row
;[rectangle]
;x=498
;y=35
;width=252
;height=515
;line_width=3
;line_color=ff1010
;fade_color1=ff1010
;fade_color2=a01000
;line_color=10ff10
;fade_color1=10ff10
;fade_color2=10ff10
;rnd_border=2
;alpha=10
;layer=top
;panel_context=* ; The item will be persistant across contexts
; 2nd column bottom row
;[rectangle]
;x=498
;y=255
;width=252
;height=295
;line_width=3
;line_color=10ff10
;fade_color1=10ff10
;fade_color2=10ff00
;rnd_border=2
;alpha=20
;layer=top
; 1st column
[rectangle]
x=-1
y=35
width=426
height=550
line_width=3
line_color=1010ff
fade_color1=1010ff
fade_color2=1010ff
rnd_border=2
alpha=10
layer=top
; luxe queue
;
[rectangle]
x=424
y=35
width=283
height=550
line_width=3
line_color=ff3300
fade_color1=ff3300
fade_color2=ff3300
rnd_border=2
alpha=10
layer=top
; you can include configuration files
;
;include => more_rectangles.cfg
;[LEGEND]
;x=800
;y=50
;text=Zap Lines
;font_size=32
;font_color=000000
;font_family=Times New Roman ; only used when use_embed_fonts=0
;use_embed_fonts=1 ; if set to 1 it will use an embeded Arial type font
; that looks consistently between platforms/os
[LEGEND]
x=430
y=50
text=DNL Queue
font_size=20
font_color=000000
font_family=Arial
use_embed_fonts=1
[LEGEND]
x=720
y=50
text=Luxe Queue
font_size=20
font_color=000000
font_family=Arial
use_embed_fonts=1
;[LEGEND]
;x=555
;y=270
;text=Queues
;font_size=32
;font_color=000000
;font_family=Arial
;use_embed_fonts=1
[LEGEND]
;x=160
x=10
y=50
text=CSR Agents
font_color=000000
font_size=20
font_family=Arial
use_embed_fonts=1
[LEGEND]
x=290
y=50
text=Luxe Agents
font_color=000000
font_size=20
font_family=Arial
use_embed_fonts=1
[LEGEND]
x=290
y=485
text=Custom Q
font_color=000000
font_size=20
font_family=Arial
use_embed_fonts=1
;[LEGEND]
;x=75
;y=75
;text=Local
;font_size=24
;font_family=Arial
;font_color=000000
;use_embed_fonts=1
;[LEGEND]
;x=315
;y=75
;text=Remote
;font_color=000000
;font_size=24
;font_family=Arial
;use_embed_fonts=1
*** AGENT LOGGED ON ***
localhost*CLI> queue show 800
800 has 0 calls (max unlimited) in 'rrmemory' strategy (1s holdtime, 0s talktime), W:0, C:1, A:0, SL:0.0% within 0s
Members:
local/1149@agent (dynamic) (Not in use) has taken no calls yet
No Callers
localhost*CLI> database show
/Agent_Ext/1149 : 100
/Queue/PersistentMembers/800 : local/1149@agent;0;0;local/1149@agent;SIP/100