From: Russell Bryant Date: Fri, 14 Mar 2008 20:09:22 +0000 (+0000) Subject: Fix a channel name issue. chan_oss registers the "Console" channel type, X-Git-Tag: 1.4.19-rc3~14 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=0ddb8b4a7d33eda2eee1c9190ac6e4d440be4ae2;p=thirdparty%2Fasterisk.git Fix a channel name issue. chan_oss registers the "Console" channel type, but it created channels with an "OSS" prefix. (closes issue #12194, reported by davidw, patched by me) git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@108796 65c4cc65-6c06-0410-ace0-fbb531ad65f3 --- diff --git a/channels/chan_oss.c b/channels/chan_oss.c index 0820c4b7fe..7e27e7696c 100644 --- a/channels/chan_oss.c +++ b/channels/chan_oss.c @@ -993,7 +993,7 @@ static struct ast_channel *oss_new(struct chan_oss_pvt *o, char *ext, char *ctx, { struct ast_channel *c; - c = ast_channel_alloc(1, state, o->cid_num, o->cid_name, "", ext, ctx, 0, "OSS/%s", o->device + 5); + c = ast_channel_alloc(1, state, o->cid_num, o->cid_name, "", ext, ctx, 0, "Console/%s", o->device + 5); if (c == NULL) return NULL; c->tech = &oss_tech;