[Date Prev][Date Next][Thread Prev] [Thread Next][Date Index] [Thread Index]

Re: [Flash Operator Panel] Re: Yellow agents when I refresh FOP


  • From: "arles rodriguez" <arles.rodriguez@xxxxxxxxx>
  • Date: Wed, 22 Oct 2008 09:51:58 -0500
  • Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:in-reply-to:mime-version:content-type:references; bh=nHO4RUta/mxJSeNXVj4a828d96cGdv523EgMI3sk9DM=; b=GQXt47xKYRj+pU+lif98a9PGHtqN+/O2YQy7fvMkhSpdbwC7ptEYUI49fpUlllU4xq X3NHPN8ubeYldq5Ehyh+Frsb2AbXGNySFhSDExMRjYw+es7h4F2U6AJKkmbUKwt6GXLc EC28m8dW/wqG1C0k1584jd+tBaL5g7JV03Si0=
  • Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:in-reply-to:mime-version :content-type:references; b=GQsRZUmj8uWc7jzhKzdBVOUD4BAAx1/HqYHPyWRwWuq+EoL+i7CZWgd8NEI1Bz56sy ZbQlc4WECs2WgRaGrjcPs92acqqts2BzscbNTSbF89H3lNWWqXa5TxTm9FTjqSagg5KZ zRut9j/oDO6ugZGZ2NMm5j7Pzx6Z+sHvXlZ0U=
  • Mailing-list: contact operator_panel-help@lists.house.com.ar; run by ezmlm

I solved my problem, this was some little things with asterisk
configuration.

In queues.conf I haven`t defined:

persistentmembers=yes

And by other way in /etc/asterisk/extensions.conf I add this line:

[macro-agent-del]
.
.
.
exten => 
s,6,RemoveQueueMember(${ARG1}|Local/${CALLBACKNUM}@from-internal/n<$%7BARG1%7D%7CLocal/$%7BCALLBACKNUM%7D@xxxxxxxxxxxxx/n>
)
exten => s,7,Playback(agent-loggedoff)
exten => s,8,Hangup()

After that change panel works perfect!

:-D


2008/8/8 arles rodriguez <arles.rodriguez@xxxxxxxxx>

Hi,

In chat with Nicolas Gudiño he said me that I need to modify my
extensions.conf to generate an userevent with a FAKE logoff in my
extensions.conf because my agents are dynamic, and panel is not remmaining
the logged of status in my configuration. Anyone knows how I can make it?
Again, my problem is that agents are logged out and i can see they turn from
yellow to green but when I refresh panel I see this yellow again :'-(

Any help would be greatly appreciated,

Thanks.

This is my extensions.conf

; Prompts for call-back number - in not entered, uses CIDNum
[macro-agent-add]
exten => s,1,Wait(1)
exten => s,2,Macro(user-callerid,SKIPTTL)
; exten => s,3,Read(CALLBACKNUM,agent-user)     ; get callback number from
user
; exten => s,4,GotoIf($["${CALLBACKNUM}" = ""]?5:7)     ; if user just
pressed # or timed out, use cidnum
exten => s,3,Set(CALLBACKNUM=${CALLERID(number)})
; exten => s,6,GotoIf($["${CALLBACKNUM}" = ""]?2)       ; if still no
number, start over
exten => s,4,GotoIf($["${ARG2}" = ""]?6:5)      ; arg2 is queue password
exten => s,5,Authenticate(${ARG2})
exten => s,6,AddQueueMember(${ARG1}|Local/${CALLBACKNUM}@from-internal/n)
; using chan_local allows us to have agents over trunks
exten => s,7,UserEvent(Agentlogin|Agent: ${CALLBACKNUM})
exten => s,8,Wait(1)
exten => s,9,AGI(Agentlogin,${CALLBACKNUM},${ARG1},1)
exten => s,10,Playback(agent-loginok)
exten => s,11,Hangup()

; Removes a dynamic agent/member from a Queue
; Prompts for call-back number - in not entered, uses CIDNum
[macro-agent-del]
exten => s,1,Wait(1)
exten => s,2,Macro(user-callerid,SKIPTTL)
; exten => s,3,Read(CALLBACKNUM,agent-user)     ; get callback number from
user
; exten => s,4,GotoIf($["${CALLBACKNUM}" = ""]?5:7)     ; if user just
pressed # or timed out, use cidnum
exten => s,3,Set(CALLBACKNUM=${CALLERID(number)})
; exten => s,4,GotoIf($["${CALLBACKNUM}" = ""]?2)       ; if still no
number, start over
exten => s,4,RemoveQueueMember(${ARG1}|Local/${CALLBACKNUM}@from-internal
/n)
exten => s,5,UserEvent(RefreshQueue)
exten => s,6,Wait(1)
exten => s,7,AGI(Agentlogin,${CALLBACKNUM},${ARG1},0)
exten => s,8,Playback(agent-loggedoff)
exten => s,9,Hangup()


2008/7/1 arles rodriguez <arles.rodriguez@xxxxxxxxx>

Hi,

I run show queues, and I see things correctly. I put my panel in all debug
and this shows all agents like I want expect that may be. But my panel not
shot this when I refresh this. :-(

2008/6/29 Tariq .. <tareksawah@xxxxxxxxxxx>:

Arles
You have no faults in your queues config file.. i was thinking maybe you
have static members or agents but it doesn't seem to be..
from your CLI "AFTER" you remove a queue member or agent.. do this
command
show queue [your queue number]
and see if your "removed" agent is still there.. after a long struggle
with FOP i have come to the conclusion that FOP is only a board to show you
who is who and what are they doing.. it simply gives commands and from the
reply of the CLI it shows you the results on the screen.. so if the result
of "show queue ......" says your agent is still there .. you need to check
your agents and see why is it still there!!!..
regards
Tarek



Date: Fri, 27 Jun 2008 20:36:46 -0500> From: arles.rodriguez@xxxxxxxxx>
To: operator_panel@xxxxxxxxxxxxxxxxxx> Subject: [Flash Operator Panel]
Re: Yellow agents when I refresh FOP> > Hi,> > Please excuse me, I became
confuse and I sent again the old mail :$> > > Here my queues.conf:> >
[general]> > ;> > ; Global settings for call queues> > ; (none exist
currently)> > ; Note that a timeout to fail out of a queue may be passed as
part of> application call> > ; from extensions.conf:> > ;
Queue(queuename|[options]|[optionalurl]|[announceoverride]|[timeout])> > ;
example: Queue(dave|t|||45)> > [default]> > ;> > ; Default settings for
queues (currently unused)> > ;> > #include queues_additional.conf> >
#include queues_custom.conf> > ---queues_additional.conf----> > ; do not
edit this file, this is an auto-generated file by freepbx> > ; all
modifications must be done from the web gui> > [121]> >
announce-frequency=30> > timeout=16> > strategy=fewestcalls> > retry=16> >
queue-youarenext=queue-youarenext> > queue-thereare=queue-thereare> >
queue-thankyou=queue-thankyou> > queue-callswaiting=queue-callswaiting> >
music=default> > monitor-join=yes> > monitor-format=wav> > maxlen=0> >
leavewhenempty=no> > joinempty=No> > eventwhencalled=no> >
eventmemberstatus=no> > context=> > announce-holdtime=yes> > wrapuptime=0
_________________________________________________________________
The i'm Talkathon starts 6/24/08.  For now, give amongst yourselves.
http://www.imtalkathon.com?source=TXT_EML_WLH_LearnMore_GiveAmongst<http://www.imtalkathon.com/?source=TXT_EML_WLH_LearnMore_GiveAmongst>





References to:
arles rodriguez
arles rodriguez
arles rodriguez
Tariq ..
arles rodriguez
arles rodriguez

[Date Prev][Date Next][Thread Prev] [Thread Next][Date Index] [Thread Index]