91 for (attrib = attribs; *attrib; ++attrib) {
92 *attrib = tolower(*attrib);
95 if (sscanf(attribs,
"framesize=%30u", &val) == 1) {
165 if (sscanf(value,
"%30u", &val) != 1) {
172 if (!strcasecmp(name,
"sample_rate")) {
174 }
else if (!strcasecmp(name,
"max_bitrate")) {
176 }
else if (!strcasecmp(name,
"frame_size")) {
Asterisk main include file. File version handling, generic pbx functions.
String manipulation functions.
int ast_str_append(struct ast_str **buf, ssize_t max_len, const char *fmt,...)
Append to a thread local dynamic string.
#define ao2_ref(o, delta)
#define ast_strdupa(s)
duplicate a string in memory from the stack
The descriptor of a dynamic string XXX storage will be optimized later if needed We use the ts field ...
#define ast_calloc(num, len)
A wrapper for calloc()
Module has failed to load, may be in an inconsistent state.
Support for logging to various files, console and syslog Configuration in file logger.conf.
AST_MODULE_INFO(ASTERISK_GPL_KEY, AST_MODFLAG_GLOBAL_SYMBOLS|AST_MODFLAG_LOAD_ORDER, "HTTP Phone Provisioning",.support_level=AST_MODULE_SUPPORT_EXTENDED,.load=load_module,.unload=unload_module,.reload=reload,.load_pri=AST_MODPRI_CHANNEL_DEPEND,.requires="http",)
CELT attribute structure.
#define ASTERISK_GPL_KEY
The text the key() function should return.
Asterisk module definitions.
static snd_pcm_format_t format