Skip to content

Instantly share code, notes, and snippets.

@marks
Created January 16, 2009 22:02
Show Gist options
  • Save marks/48161 to your computer and use it in GitHub Desktop.
Save marks/48161 to your computer and use it in GitHub Desktop.
Loading development environment (Rails 2.2.2)
>> response = AdhearsionDRB.send_action "QueueStatus"
=> #<DRb::DRbUnknown:0xb7760e3c @buf="\004\b[\ao:?Adhearsion::VoIP::Asterisk::Manager::ManagerInterfaceEvent\a:\r@headersC:\036HashWithIndifferentAccess{\017\"\016Completed\"\0060\"\025ServicelevelPerf\"\b0.0\"\016Abandoned\"\0060\"\nCalls\"\0060\"\021ServiceLevel\"\0060\"\bMax\"\0060\"\rHoldtime\"\0060\"\vWeight\"\0060\"\rActionID\")De9QZUP4-qk4t-q4lq-hRej-NMQXVwQJV2f7\"\nQueue\"\ais:\n@name\"\020QueueParamso;\000\a;\006C;\a{\017\"\vStatus\"\0061\"\017CallsTaken\"\0060\"\017Membership\"\fdynamic\"\tName\"\031Local/8267004@agents\"\rLastCall\"\0060\"\fPenalty\"\0060\"\vPaused\"\0060\"\rLocation\"\031Local/8267004@agents\"\rActionID\")De9QZUP4-qk4t-q4lq-hRej-NMQXVwQJV2f7\"\nQueue\"\ais;\b\"\020QueueMember", @name="Adhearsion::">
>> response[0].headers
NoMethodError: undefined method `[]' for #<DRb::DRbUnknown:0xb7760e3c>
from (irb):2
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment