git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@368455
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
last_slash = strrchr(filename, '/');
- ast_log(LOG_NOTICE, "!!!!!! File name is %s\n", filename);
-
if ((*ext = strrchr(filename, '.')) && (*ext > last_slash)) {
- ast_log(LOG_NOTICE, "Found a dot. *ext is %s\n", *ext);
**ext = '\0';
*ext = *ext + 1;
- ast_log(LOG_NOTICE, "After increment *ext is %s\n", *ext);
} else {
*ext = "raw";
}
int ast_softhangup_nolock(struct ast_channel *chan, int cause)
{
ast_debug(1, "Soft-Hanging up channel '%s'\n", ast_channel_name(chan));
- ast_backtrace();
/* Inform channel driver that we need to be hung up, if it cares */
ast_channel_softhangup_internal_flag_add(chan, cause);
ast_queue_frame(chan, &ast_null_frame);