Created
January 21, 2009 20:59
-
-
Save marks/50185 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
>> pp AdhearsionDRB.send_action(:queuestatus) | |
[#<Adhearsion::VoIP::Asterisk::Manager::ManagerInterfaceEvent:0xb73aab08 | |
@headers= | |
{"Completed"=>"2", | |
"Abandoned"=>"4", | |
"ServicelevelPerf"=>"0.0", | |
"Calls"=>"0", | |
"Max"=>"0", | |
"ServiceLevel"=>"0", | |
"Holdtime"=>"9", | |
"Weight"=>"0", | |
"Queue"=>"is", | |
"ActionID"=>"SYFuOZSq-DQQu-Jg6C-9Ca1-SMneTHRizfDu"}, | |
@name="QueueParams">, | |
#<Adhearsion::VoIP::Asterisk::Manager::ManagerInterfaceEvent:0xb73aa7c0 | |
@headers= | |
{"Name"=>"Local/79210101@agents", | |
"Membership"=>"dynamic", | |
"CallsTaken"=>"1", | |
"Status"=>"1", | |
"Penalty"=>"0", | |
"LastCall"=>"1232553121", | |
"Location"=>"Local/79210101@agents", | |
"Paused"=>"0", | |
"Queue"=>"is", | |
"ActionID"=>"SYFuOZSq-DQQu-Jg6C-9Ca1-SMneTHRizfDu"}, | |
@name="QueueMember">] | |
=> nil | |
#### What I want.. is just the array whose @name="QueueParams" and inside there, "Queue" = "is" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment