79 if (sscanf(
args.priority,
"%30d", &priority_num) == 1 && priority_num > 0) {
static char exten[AST_MAX_EXTENSION]
char * str
Subscriber phone number (Malloced)
struct ast_party_caller caller
Channel Caller ID information.
#define AST_DECLARE_APP_ARGS(name, arglist)
Declare a structure to hold an application's arguments.
struct ast_party_id id
Caller party ID.
static force_inline int attribute_pure ast_strlen_zero(const char *s)
#define S_COR(a, b, c)
returns the equivalent of logic or for strings, with an additional boolean check: second one if not e...
int ast_exists_extension(struct ast_channel *c, const char *context, const char *exten, int priority, const char *callerid)
Determine whether an extension exists.
#define ast_strdupa(s)
duplicate a string in memory from the stack
int ast_findlabel_extension(struct ast_channel *c, const char *context, const char *exten, const char *label, const char *callerid)
Find the priority of an extension that has the specified label.
void ast_log(int level, const char *file, int line, const char *function, const char *fmt,...)
Used for sending a log message This is the standard logger function. Probably the only way you will i...
static void parse(struct mgcp_request *req)
#define AST_APP_ARG(name)
Define an application argument.
#define AST_STANDARD_APP_ARGS(args, parse)
Performs the 'standard' argument separation process for an application.
static char context[AST_MAX_CONTEXT]
unsigned char valid
TRUE if the number information is valid/present.
struct ast_context * ast_context_find(const char *name)
Find a context.
struct ast_party_number number
Subscriber phone number.