Sun Oct 16 2011 08:43:15

Asterisk developer's documentation


peercnt Struct Reference

Data Fields

unsigned long addr
uint16_t cur
uint16_t limit
unsigned char reg

Detailed Description

peer connection private, keeps track of all the call numbers consumed by a single ip address


Field Documentation

uint16_t cur

Number of call numbers currently used by this ip address

Definition at line 912 of file chan_iax2.c.

Referenced by peercnt_add(), peercnt_remove(), and handle_cli_iax2_show_callno_limits().

uint16_t limit

Max call numbers allowed for this ip address

Definition at line 914 of file chan_iax2.c.

Referenced by set_peercnt_limit(), peercnt_modify(), peercnt_add(), and handle_cli_iax2_show_callno_limits().

unsigned char reg

Specifies whether limit is set by a registration or not, if so normal limit setting rules do not apply to this address.

Definition at line 917 of file chan_iax2.c.

Referenced by set_peercnt_limit(), and peercnt_modify().


The documentation for this struct was generated from the following file: