Logo Search packages:      
Sourcecode: bayonne version File versions  Download package

TrunkGroup Class Reference

#include <bayonne.h>

Inheritance diagram for TrunkGroup:

CallStat

List of all members.


Detailed Description

Trunk group configuration.

Trunk "groups" provide keydata configuration information that apply to a group of trunk ports represented under a common "group" identity. These are initially given a [trunks] section for default group values followed by a specific entry. The [server] groups key lists the active trunk groups. A special default group is also created.

Author:
David Sugar <dyfet@ostel.com>

Definition at line 1476 of file bayonne.h.


Public Member Functions

const char * chkRequest (void)
void decIncoming (void)
void decOutgoing (void)
bool getAccept (void)
unsigned getAnalysis (void)
unsigned getAnswer (void)
timeout_t getCallerid (void)
int getCapacity (void)
bool getDetect (void)
timeout_t getDialspeed (void)
timeout_t getDialtone (void)
timeout_t getFlash (void)
timeout_t getHangup (void)
timeout_t getIdleTime (void)
unsigned getMDigTimeOut (void)
unsigned getMinDigits (void)
const char * getName (void)
TrunkGroupgetNext (void)
const char * getNumber (void)
timeout_t getPickup (void)
timeout_t getReady (void)
const char * getRedirect (const char *redirect, char *buf)
RequestgetRequest (void)
unsigned getRingTime (void)
const char * getSchedule (char *buf)
seltype_t getSelect (void)
unsigned getSiezeTime (void)
void getStat (unsigned long *save)
long getStat (statitem_t item)
unsigned getThreashold (void)
void incCapacity (void)
void incIncoming (void)
void incOutgoing (void)
 TrunkGroup (char *name=NULL)
void update (void)

Protected Attributes

struct {
   int   incoming
   int   outgoing
active
int capacity
struct {
   int   incoming
   int   outgoing
lastmax
struct {
   long   incoming
   long   outgoing
lasttotal
struct {
   int   incoming
   int   outgoing
max
struct {
   long   incoming
   long   outgoing
total

Static Protected Attributes

static unsigned long upincoming = 0
static unsigned long upoutgoing = 0
static time_t uptime = 0

Private Member Functions

void setSchedule (const char *str)

Private Attributes

unsigned members
TrunkGroupnext
char planned [65]
PolicypolFirst
Requestreqfirst
Requestreqlast
char schedule [65]
unsigned trump

Static Private Attributes

static TrunkGroupfirst = NULL

Friends

class Audit
void cancel (TrunkGroup *group, const char *tag)
TrunkGroupgetGroup (const char *name=NULL)
const char * getGroups (void)
class KeyServer
Requestlocate (TrunkGroup *group, const char *tag, int *pos=NULL)
class Policy
class Request
class Scheduler
class TestDebug
class Trunk

The documentation for this class was generated from the following files:

Generated by  Doxygen 1.6.0   Back to index