NAME

Asterisk::Store::Queue::Member - Class for Asterisk queue member objects

SYNOPSIS

  use Asterisk::Store::Queue::Member;

  my $memberobj =  new Asterisk::Store::Queue::Member (
    queue      => 'mainqueue',
    location   => 'Local/42342@queueagents',
    membership => 'dynamic',
    penalty    => 0,
    callstaken => 0,
    paused     => 0,
    status     => 0,
    lastcall   => 0,
  }

  ...

DESCRIPTION

  This module is used to store queue member objects such as those returned
  from the Asterisk Manager Interface API.

ATTRIBUTES

  Base attrubutes, can be extended

queue

  Which queue is this member a member of?

location

  Where is this agent (member) located?

membership

  Type of membership (dynamic, etc...)

penalty

  Queue penalty assigned to member

callstaken

  Number of calls that the member has handled

paused

  Member pause status *bool*

status

  Member status

lastcall

  Last call information

DEBUG *bool*

  Enable debugging by setting bool to true.

PUBLIC METHODS

  These are the publicly accesable methods

PRIVATE METHODS

  These methods should not be accessed directly.

SEE ALSO

To be used with: Asterisk::Store::Queue Asterisk::Manager

AUTHOR

Derek Carter, <goozbach@neverblock.com<gt>

COPYRIGHT AND LICENSE

Copyright (C) 2007 by Derek Carter

This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself, either Perl version 5.8.8 or, at your option, any later version of Perl 5 you may have available.