shelter Postado Fevereiro 10, 2019 Denunciar Share Postado Fevereiro 10, 2019 Boa galera , Recebo este array: Array ( [Response] => Success [Message] => Queue status will follow => Array ( [default] => Array ( [Event] => QueueParams [Queue] => default [Max] => 0 [Strategy] => ringall [Calls] => 0 [Holdtime] => 0 [TalkTime] => 0 [Completed] => 0 [Abandoned] => 0 [ServiceLevel] => 0 [ServicelevelPerf] => 0.0 [Weight] => 0 [mNumber] => 0 ) [5000] => Array ( [Event] => QueueParams [Queue] => 5000 [Max] => 0 [Strategy] => leastrecent [Calls] => 0 [Holdtime] => 0 [TalkTime] => 8 [Completed] => 2104 [Abandoned] => 44 [ServiceLevel] => 60 [ServicelevelPerf] => 99.4 [Weight] => 0 [mNumber] => 9 [members] => Array ( [Agent/13] => Array ( [Event] => QueueMember [Queue] => 5000 [Name] => Agent/13 [Location] => Agent/13 [StateInterface] => Agent/13 [Membership] => static [Penalty] => 0 [CallsTaken] => 0 [LastCall] => 0 [IsInCall] => 0 [Status] => 5 [Paused] => 0 ) [Agent/16] => Array ( [Event] => QueueMember [Queue] => 5000 [Name] => Agent/16 [Location] => Agent/16 [StateInterface] => Agent/16 [Membership] => static [Penalty] => 0 [CallsTaken] => 0 [LastCall] => 0 [IsInCall] => 0 [Status] => 5 [Paused] => 0 ) [Agent/19] => Array ( [Event] => QueueMember [Queue] => 5000 [Name] => Agent/19 [Location] => Agent/19 [StateInterface] => Agent/19 [Membership] => static [Penalty] => 0 [CallsTaken] => 0 [LastCall] => 0 [IsInCall] => 0 [Status] => 5 [Paused] => 0 ) [Agent/12] => Array ( [Event] => QueueMember [Queue] => 5000 [Name] => Agent/12 [Location] => Agent/12 [StateInterface] => Agent/12 [Membership] => static [Penalty] => 0 [CallsTaken] => 1 [LastCall] => 1549744583 [IsInCall] => 0 [Status] => 5 [Paused] => 0 ) [Agent/15] => Array ( [Event] => QueueMember [Queue] => 5000 [Name] => Agent/15 [Location] => Agent/15 [StateInterface] => Agent/15 [Membership] => static [Penalty] => 0 [CallsTaken] => 0 [LastCall] => 0 [IsInCall] => 0 [Status] => 5 [Paused] => 0 ) [Agent/18] => Array ( [Event] => QueueMember [Queue] => 5000 [Name] => Agent/18 [Location] => Agent/18 [StateInterface] => Agent/18 [Membership] => static [Penalty] => 0 [CallsTaken] => 3 [LastCall] => 1549739024 [IsInCall] => 0 [Status] => 5 [Paused] => 0 ) [Agent/11] => Array ( [Event] => QueueMember [Queue] => 5000 [Name] => Agent/11 [Location] => Agent/11 [StateInterface] => Agent/11 [Membership] => static [Penalty] => 0 [CallsTaken] => 0 [LastCall] => 0 [IsInCall] => 0 [Status] => 5 [Paused] => 0 ) [Agent/14] => Array ( [Event] => QueueMember [Queue] => 5000 [Name] => Agent/14 [Location] => Agent/14 [StateInterface] => Agent/14 [Membership] => static [Penalty] => 0 [CallsTaken] => 0 [LastCall] => 0 [IsInCall] => 0 [Status] => 5 [Paused] => 0 ) [Agent/17] => Array ( [Event] => QueueMember [Queue] => 5000 [Name] => Agent/17 [Location] => Agent/17 [StateInterface] => Agent/17 [Membership] => static [Penalty] => 0 [CallsTaken] => 21 [LastCall] => 1549746431 [IsInCall] => 0 [Status] => 5 [Paused] => 0 ) ) ) [5001] => Array ( [Event] => QueueParams [Queue] => 5001 [Max] => 0 [Strategy] => leastrecent [Calls] => 0 [Holdtime] => 1 [TalkTime] => 24 [Completed] => 37 [Abandoned] => 1 [ServiceLevel] => 60 [ServicelevelPerf] => 100.0 [Weight] => 0 [mNumber] => 8 [members] => Array ( [Agent/1004] => Array ( [Event] => QueueMember [Queue] => 5001 [Name] => Agent/1004 [Location] => Agent/1004 [StateInterface] => Agent/1004 [Membership] => static [Penalty] => 0 [CallsTaken] => 0 [LastCall] => 0 [IsInCall] => 0 [Status] => 5 [Paused] => 0 ) [Agent/1008] => Array ( [Event] => QueueMember [Queue] => 5001 [Name] => Agent/1008 [Location] => Agent/1008 [StateInterface] => Agent/1008 [Membership] => static [Penalty] => 0 [CallsTaken] => 0 [LastCall] => 0 [IsInCall] => 0 [Status] => 5 [Paused] => 0 ) [Agent/1001] => Array ( [Event] => QueueMember [Queue] => 5001 [Name] => Agent/1001 [Location] => Agent/1001 [StateInterface] => Agent/1001 [Membership] => static [Penalty] => 0 [CallsTaken] => 0 [LastCall] => 0 [IsInCall] => 0 [Status] => 5 [Paused] => 0 ) [Agent/1005] => Array ( [Event] => QueueMember [Queue] => 5001 [Name] => Agent/1005 [Location] => Agent/1005 [StateInterface] => Agent/1005 [Membership] => static [Penalty] => 0 [CallsTaken] => 0 [LastCall] => 0 [IsInCall] => 0 [Status] => 5 [Paused] => 0 ) [Agent/1002] => Array ( [Event] => QueueMember [Queue] => 5001 [Name] => Agent/1002 [Location] => Agent/1002 [StateInterface] => Agent/1002 [Membership] => static [Penalty] => 0 [CallsTaken] => 0 [LastCall] => 0 [IsInCall] => 0 [Status] => 5 [Paused] => 0 ) [Agent/1006] => Array ( [Event] => QueueMember [Queue] => 5001 [Name] => Agent/1006 [Location] => Agent/1006 [StateInterface] => Agent/1006 [Membership] => static [Penalty] => 0 [CallsTaken] => 0 [LastCall] => 0 [IsInCall] => 0 [Status] => 5 [Paused] => 0 ) [Agent/1003] => Array ( [Event] => QueueMember [Queue] => 5001 [Name] => Agent/1003 [Location] => Agent/1003 [StateInterface] => Agent/1003 [Membership] => static [Penalty] => 0 [CallsTaken] => 0 [LastCall] => 0 [IsInCall] => 0 [Status] => 5 [Paused] => 0 ) [Agent/1007] => Array ( [Event] => QueueMember [Queue] => 5001 [Name] => Agent/1007 [Location] => Agent/1007 [StateInterface] => Agent/1007 [Membership] => static [Penalty] => 0 [CallsTaken] => 0 [LastCall] => 0 [IsInCall] => 0 [Status] => 5 [Paused] => 0 ) ) ) [5010] => Array ( [Event] => QueueParams [Queue] => 5010 [Max] => 0 [Strategy] => leastrecent [Calls] => 0 [Holdtime] => 0 [TalkTime] => 0 [Completed] => 0 [Abandoned] => 0 [ServiceLevel] => 60 [ServicelevelPerf] => 0.0 [Weight] => 0 [mNumber] => 10 [members] => Array ( [Agent/01] => Array ( [Event] => QueueMember [Queue] => 5010 [Name] => Agent/01 [Location] => Agent/01 [StateInterface] => Agent/01 [Membership] => static [Penalty] => 0 [CallsTaken] => 0 [LastCall] => 0 [IsInCall] => 0 [Status] => 5 [Paused] => 0 ) [Agent/04] => Array ( [Event] => QueueMember [Queue] => 5010 [Name] => Agent/04 [Location] => Agent/04 [StateInterface] => Agent/04 [Membership] => static [Penalty] => 0 [CallsTaken] => 0 [LastCall] => 0 [IsInCall] => 0 [Status] => 5 [Paused] => 0 ) [Agent/07] => Array ( [Event] => QueueMember [Queue] => 5010 [Name] => Agent/07 [Location] => Agent/07 [StateInterface] => Agent/07 [Membership] => static [Penalty] => 0 [CallsTaken] => 0 [LastCall] => 0 [IsInCall] => 0 [Status] => 5 [Paused] => 0 ) [Agent/03] => Array ( [Event] => QueueMember [Queue] => 5010 [Name] => Agent/03 [Location] => Agent/03 [StateInterface] => Agent/03 [Membership] => static [Penalty] => 0 [CallsTaken] => 0 [LastCall] => 0 [IsInCall] => 0 [Status] => 4 [Paused] => 0 ) [Agent/06] => Array ( [Event] => QueueMember [Queue] => 5010 [Name] => Agent/06 [Location] => Agent/06 [StateInterface] => Agent/06 [Membership] => static [Penalty] => 0 [CallsTaken] => 0 [LastCall] => 0 [IsInCall] => 0 [Status] => 5 [Paused] => 0 ) [Agent/010] => Array ( [Event] => QueueMember [Queue] => 5010 [Name] => Agent/010 [Location] => Agent/010 [StateInterface] => Agent/010 [Membership] => static [Penalty] => 0 [CallsTaken] => 0 [LastCall] => 0 [IsInCall] => 0 [Status] => 4 [Paused] => 0 ) [Agent/09] => Array ( [Event] => QueueMember [Queue] => 5010 [Name] => Agent/09 [Location] => Agent/09 [StateInterface] => Agent/09 [Membership] => static [Penalty] => 0 [CallsTaken] => 0 [LastCall] => 0 [IsInCall] => 0 [Status] => 4 [Paused] => 0 ) [Agent/02] => Array ( [Event] => QueueMember [Queue] => 5010 [Name] => Agent/02 [Location] => Agent/02 [StateInterface] => Agent/02 [Membership] => static [Penalty] => 0 [CallsTaken] => 0 [LastCall] => 0 [IsInCall] => 0 [Status] => 5 [Paused] => 0 ) [Agent/05] => Array ( [Event] => QueueMember [Queue] => 5010 [Name] => Agent/05 [Location] => Agent/05 [StateInterface] => Agent/05 [Membership] => static [Penalty] => 0 [CallsTaken] => 0 [LastCall] => 0 [IsInCall] => 0 [Status] => 5 [Paused] => 0 ) [Agent/08] => Array ( [Event] => QueueMember [Queue] => 5010 [Name] => Agent/08 [Location] => Agent/08 [StateInterface] => Agent/08 [Membership] => static [Penalty] => 0 [CallsTaken] => 0 [LastCall] => 0 [IsInCall] => 0 [Status] => 5 [Paused] => 0 ) ) ) ) [nQueues] => 4 ) Gostaria de exibir só os dados do [Agent/11] => Status. Grato pela ajuda Citar Link para o comentário Compartilhar em outros sites More sharing options...
Pergunta
shelter
Boa galera ,
Recebo este array:
Array
(
[Response] => Success
[Message] => Queue status will follow
(
[default] => Array
(
[Event] => QueueParams
[Queue] => default
[Max] => 0
[Strategy] => ringall
[Calls] => 0
[Holdtime] => 0
[TalkTime] => 0
[Completed] => 0
[Abandoned] => 0
[ServiceLevel] => 0
[ServicelevelPerf] => 0.0
[Weight] => 0
[mNumber] => 0
)
[5000] => Array
(
[Event] => QueueParams
[Queue] => 5000
[Max] => 0
[Strategy] => leastrecent
[Calls] => 0
[Holdtime] => 0
[TalkTime] => 8
[Completed] => 2104
[Abandoned] => 44
[ServiceLevel] => 60
[ServicelevelPerf] => 99.4
[Weight] => 0
[mNumber] => 9
[members] => Array
(
[Agent/13] => Array
(
[Event] => QueueMember
[Queue] => 5000
[Name] => Agent/13
[Location] => Agent/13
[StateInterface] => Agent/13
[Membership] => static
[Penalty] => 0
[CallsTaken] => 0
[LastCall] => 0
[IsInCall] => 0
[Status] => 5
[Paused] => 0
)
[Agent/16] => Array
(
[Event] => QueueMember
[Queue] => 5000
[Name] => Agent/16
[Location] => Agent/16
[StateInterface] => Agent/16
[Membership] => static
[Penalty] => 0
[CallsTaken] => 0
[LastCall] => 0
[IsInCall] => 0
[Status] => 5
[Paused] => 0
)
[Agent/19] => Array
(
[Event] => QueueMember
[Queue] => 5000
[Name] => Agent/19
[Location] => Agent/19
[StateInterface] => Agent/19
[Membership] => static
[Penalty] => 0
[CallsTaken] => 0
[LastCall] => 0
[IsInCall] => 0
[Status] => 5
[Paused] => 0
)
[Agent/12] => Array
(
[Event] => QueueMember
[Queue] => 5000
[Name] => Agent/12
[Location] => Agent/12
[StateInterface] => Agent/12
[Membership] => static
[Penalty] => 0
[CallsTaken] => 1
[LastCall] => 1549744583
[IsInCall] => 0
[Status] => 5
[Paused] => 0
)
[Agent/15] => Array
(
[Event] => QueueMember
[Queue] => 5000
[Name] => Agent/15
[Location] => Agent/15
[StateInterface] => Agent/15
[Membership] => static
[Penalty] => 0
[CallsTaken] => 0
[LastCall] => 0
[IsInCall] => 0
[Status] => 5
[Paused] => 0
)
[Agent/18] => Array
(
[Event] => QueueMember
[Queue] => 5000
[Name] => Agent/18
[Location] => Agent/18
[StateInterface] => Agent/18
[Membership] => static
[Penalty] => 0
[CallsTaken] => 3
[LastCall] => 1549739024
[IsInCall] => 0
[Status] => 5
[Paused] => 0
)
[Agent/11] => Array
(
[Event] => QueueMember
[Queue] => 5000
[Name] => Agent/11
[Location] => Agent/11
[StateInterface] => Agent/11
[Membership] => static
[Penalty] => 0
[CallsTaken] => 0
[LastCall] => 0
[IsInCall] => 0
[Status] => 5
[Paused] => 0
)
[Agent/14] => Array
(
[Event] => QueueMember
[Queue] => 5000
[Name] => Agent/14
[Location] => Agent/14
[StateInterface] => Agent/14
[Membership] => static
[Penalty] => 0
[CallsTaken] => 0
[LastCall] => 0
[IsInCall] => 0
[Status] => 5
[Paused] => 0
)
[Agent/17] => Array
(
[Event] => QueueMember
[Queue] => 5000
[Name] => Agent/17
[Location] => Agent/17
[StateInterface] => Agent/17
[Membership] => static
[Penalty] => 0
[CallsTaken] => 21
[LastCall] => 1549746431
[IsInCall] => 0
[Status] => 5
[Paused] => 0
)
)
)
[5001] => Array
(
[Event] => QueueParams
[Queue] => 5001
[Max] => 0
[Strategy] => leastrecent
[Calls] => 0
[Holdtime] => 1
[TalkTime] => 24
[Completed] => 37
[Abandoned] => 1
[ServiceLevel] => 60
[ServicelevelPerf] => 100.0
[Weight] => 0
[mNumber] => 8
[members] => Array
(
[Agent/1004] => Array
(
[Event] => QueueMember
[Queue] => 5001
[Name] => Agent/1004
[Location] => Agent/1004
[StateInterface] => Agent/1004
[Membership] => static
[Penalty] => 0
[CallsTaken] => 0
[LastCall] => 0
[IsInCall] => 0
[Status] => 5
[Paused] => 0
)
[Agent/1008] => Array
(
[Event] => QueueMember
[Queue] => 5001
[Name] => Agent/1008
[Location] => Agent/1008
[StateInterface] => Agent/1008
[Membership] => static
[Penalty] => 0
[CallsTaken] => 0
[LastCall] => 0
[IsInCall] => 0
[Status] => 5
[Paused] => 0
)
[Agent/1001] => Array
(
[Event] => QueueMember
[Queue] => 5001
[Name] => Agent/1001
[Location] => Agent/1001
[StateInterface] => Agent/1001
[Membership] => static
[Penalty] => 0
[CallsTaken] => 0
[LastCall] => 0
[IsInCall] => 0
[Status] => 5
[Paused] => 0
)
[Agent/1005] => Array
(
[Event] => QueueMember
[Queue] => 5001
[Name] => Agent/1005
[Location] => Agent/1005
[StateInterface] => Agent/1005
[Membership] => static
[Penalty] => 0
[CallsTaken] => 0
[LastCall] => 0
[IsInCall] => 0
[Status] => 5
[Paused] => 0
)
[Agent/1002] => Array
(
[Event] => QueueMember
[Queue] => 5001
[Name] => Agent/1002
[Location] => Agent/1002
[StateInterface] => Agent/1002
[Membership] => static
[Penalty] => 0
[CallsTaken] => 0
[LastCall] => 0
[IsInCall] => 0
[Status] => 5
[Paused] => 0
)
[Agent/1006] => Array
(
[Event] => QueueMember
[Queue] => 5001
[Name] => Agent/1006
[Location] => Agent/1006
[StateInterface] => Agent/1006
[Membership] => static
[Penalty] => 0
[CallsTaken] => 0
[LastCall] => 0
[IsInCall] => 0
[Status] => 5
[Paused] => 0
)
[Agent/1003] => Array
(
[Event] => QueueMember
[Queue] => 5001
[Name] => Agent/1003
[Location] => Agent/1003
[StateInterface] => Agent/1003
[Membership] => static
[Penalty] => 0
[CallsTaken] => 0
[LastCall] => 0
[IsInCall] => 0
[Status] => 5
[Paused] => 0
)
[Agent/1007] => Array
(
[Event] => QueueMember
[Queue] => 5001
[Name] => Agent/1007
[Location] => Agent/1007
[StateInterface] => Agent/1007
[Membership] => static
[Penalty] => 0
[CallsTaken] => 0
[LastCall] => 0
[IsInCall] => 0
[Status] => 5
[Paused] => 0
)
)
)
[5010] => Array
(
[Event] => QueueParams
[Queue] => 5010
[Max] => 0
[Strategy] => leastrecent
[Calls] => 0
[Holdtime] => 0
[TalkTime] => 0
[Completed] => 0
[Abandoned] => 0
[ServiceLevel] => 60
[ServicelevelPerf] => 0.0
[Weight] => 0
[mNumber] => 10
[members] => Array
(
[Agent/01] => Array
(
[Event] => QueueMember
[Queue] => 5010
[Name] => Agent/01
[Location] => Agent/01
[StateInterface] => Agent/01
[Membership] => static
[Penalty] => 0
[CallsTaken] => 0
[LastCall] => 0
[IsInCall] => 0
[Status] => 5
[Paused] => 0
)
[Agent/04] => Array
(
[Event] => QueueMember
[Queue] => 5010
[Name] => Agent/04
[Location] => Agent/04
[StateInterface] => Agent/04
[Membership] => static
[Penalty] => 0
[CallsTaken] => 0
[LastCall] => 0
[IsInCall] => 0
[Status] => 5
[Paused] => 0
)
[Agent/07] => Array
(
[Event] => QueueMember
[Queue] => 5010
[Name] => Agent/07
[Location] => Agent/07
[StateInterface] => Agent/07
[Membership] => static
[Penalty] => 0
[CallsTaken] => 0
[LastCall] => 0
[IsInCall] => 0
[Status] => 5
[Paused] => 0
)
[Agent/03] => Array
(
[Event] => QueueMember
[Queue] => 5010
[Name] => Agent/03
[Location] => Agent/03
[StateInterface] => Agent/03
[Membership] => static
[Penalty] => 0
[CallsTaken] => 0
[LastCall] => 0
[IsInCall] => 0
[Status] => 4
[Paused] => 0
)
[Agent/06] => Array
(
[Event] => QueueMember
[Queue] => 5010
[Name] => Agent/06
[Location] => Agent/06
[StateInterface] => Agent/06
[Membership] => static
[Penalty] => 0
[CallsTaken] => 0
[LastCall] => 0
[IsInCall] => 0
[Status] => 5
[Paused] => 0
)
[Agent/010] => Array
(
[Event] => QueueMember
[Queue] => 5010
[Name] => Agent/010
[Location] => Agent/010
[StateInterface] => Agent/010
[Membership] => static
[Penalty] => 0
[CallsTaken] => 0
[LastCall] => 0
[IsInCall] => 0
[Status] => 4
[Paused] => 0
)
[Agent/09] => Array
(
[Event] => QueueMember
[Queue] => 5010
[Name] => Agent/09
[Location] => Agent/09
[StateInterface] => Agent/09
[Membership] => static
[Penalty] => 0
[CallsTaken] => 0
[LastCall] => 0
[IsInCall] => 0
[Status] => 4
[Paused] => 0
)
[Agent/02] => Array
(
[Event] => QueueMember
[Queue] => 5010
[Name] => Agent/02
[Location] => Agent/02
[StateInterface] => Agent/02
[Membership] => static
[Penalty] => 0
[CallsTaken] => 0
[LastCall] => 0
[IsInCall] => 0
[Status] => 5
[Paused] => 0
)
[Agent/05] => Array
(
[Event] => QueueMember
[Queue] => 5010
[Name] => Agent/05
[Location] => Agent/05
[StateInterface] => Agent/05
[Membership] => static
[Penalty] => 0
[CallsTaken] => 0
[LastCall] => 0
[IsInCall] => 0
[Status] => 5
[Paused] => 0
)
[Agent/08] => Array
(
[Event] => QueueMember
[Queue] => 5010
[Name] => Agent/08
[Location] => Agent/08
[StateInterface] => Agent/08
[Membership] => static
[Penalty] => 0
[CallsTaken] => 0
[LastCall] => 0
[IsInCall] => 0
[Status] => 5
[Paused] => 0
)
)
)
)
[nQueues] => 4
)
Gostaria de exibir só os dados do [Agent/11] => Status.
Grato pela ajuda
Link para o comentário
Compartilhar em outros sites
0 respostass a esta questão
Posts Recomendados
Participe da discussão
Você pode postar agora e se registrar depois. Se você já tem uma conta, acesse agora para postar com sua conta.