Asterisk - The Open Source Telephony Project
18.5.0
|
PacketCable COPS. More...
#include "asterisk/optional_api.h"
Go to the source code of this file.
Data Structures | |
struct | cops_gate |
Enumerations | |
enum | { GATE_SET, GATE_INFO, GATE_SET_HAVE_GATEID, GATE_DEL } |
enum | { GATE_ALLOC_FAILED, GATE_ALLOC_PROGRESS, GATE_ALLOCATED, GATE_CLOSED, GATE_CLOSED_ERR, GATE_OPEN, GATE_DELETED, GATE_TIMEOUT } |
Functions | |
struct cops_gate * | ast_pktccops_gate_alloc (int cmd, struct cops_gate *gate, uint32_t mta, uint32_t actcount, float bitrate, uint32_t psize, uint32_t ssip, uint16_t ssport, int(*const got_dq_gi)(struct cops_gate *gate), int(*const gate_remove)(struct cops_gate *gate)) |
PacketCable COPS.
Definition in file pktccops.h.
anonymous enum |
Enumerator | |
---|---|
GATE_SET | |
GATE_INFO | |
GATE_SET_HAVE_GATEID | |
GATE_DEL |
Definition at line 35 of file pktccops.h.
anonymous enum |
Enumerator | |
---|---|
GATE_ALLOC_FAILED | |
GATE_ALLOC_PROGRESS | |
GATE_ALLOCATED | |
GATE_CLOSED | |
GATE_CLOSED_ERR | |
GATE_OPEN | |
GATE_DELETED | |
GATE_TIMEOUT |
Definition at line 42 of file pktccops.h.
struct cops_gate* ast_pktccops_gate_alloc | ( | int | cmd, |
struct cops_gate * | gate, | ||
uint32_t | mta, | ||
uint32_t | actcount, | ||
float | bitrate, | ||
uint32_t | psize, | ||
uint32_t | ssip, | ||
uint16_t | ssport, | ||
int(*)(struct cops_gate *gate) | got_dq_gi, | ||
int(*)(struct cops_gate *gate) | gate_remove | ||
) |
Definition at line 468 of file res_pktccops.c.
References ast_debug, ast_log, cops_gate_cmd(), cops_trid, cops_gate::gate_remove, GATE_SET_HAVE_GATEID, cops_gate::gateid, cops_gate::got_dq_gi, LOG_WARNING, cops_gate::mta, NULL, and pktcreload.
Referenced by mgcp_alloc_pktcgate(), and mgcp_hangup().