97 char status_protocol[20];
105 snprintf(status_protocol,
sizeof(status_protocol),
"%d", protocol);
115 if ((slash = strchr(dest,
'/')) && (len = (slash - dest))) {
121 snprintf(status_protocol,
sizeof(status_protocol),
"%d", protocol);
130 snprintf(status_protocol,
sizeof(status_protocol),
"%d", protocol);
147 snprintf(status_protocol,
sizeof(status_protocol),
"%d", protocol);
148 ast_debug(1,
"ast_transfer channel %s TRANSFERSTATUS=%s, TRANSFERSTATUSPROTOCOL=%s\n",
#define AST_STANDARD_APP_ARGS(args, parse)
Performs the 'standard' argument separation process for an application.
#define ast_strlen_zero(foo)
#define ast_debug(level,...)
Log a DEBUG message.
#define ast_strdupa(s)
duplicate a string in memory from the stack
static int len(struct ast_channel *chan, const char *cmd, char *data, char *buf, size_t buflen)
static void parse(struct mgcp_request *req)
int pbx_builtin_setvar_helper(struct ast_channel *chan, const char *name, const char *value)
Add a variable to the channel variable stack, removing the most recently set value for the same name...
const char * ast_channel_name(const struct ast_channel *chan)
int ast_transfer_protocol(struct ast_channel *chan, char *dest, int *protocol)
Transfer a channel (if supported) receieve protocol result.
#define AST_DECLARE_APP_ARGS(name, arglist)
Declare a structure to hold an application's arguments.
const struct ast_channel_tech * ast_channel_tech(const struct ast_channel *chan)
#define AST_APP_ARG(name)
Define an application argument.