Asterisk::Store::Queue::Member - Class for Asterisk queue member objects
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, } ...
This module is used to store queue member objects such as those returned from the Asterisk Manager Interface API.
Base attrubutes, can be extended
Which queue is this member a member of?
Where is this agent (member) located?
Type of membership (dynamic, etc...)
Queue penalty assigned to member
Number of calls that the member has handled
Member pause status *bool*
Member status
Last call information
Enable debugging by setting bool to true.
These are the publicly accesable methods
These methods should not be accessed directly.
To be used with: Asterisk::Store::Queue Asterisk::Manager
Derek Carter, <goozbach@neverblock.com<gt>
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.
To install Asterisk::Store::Queue::Member, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Asterisk::Store::Queue::Member
CPAN shell
perl -MCPAN -e shell install Asterisk::Store::Queue::Member
For more information on module installation, please visit the detailed CPAN module installation guide.