diff options
author | Russell Bryant <russell@russellbryant.com> | 2008-03-14 20:09:37 +0000 |
---|---|---|
committer | Russell Bryant <russell@russellbryant.com> | 2008-03-14 20:09:37 +0000 |
commit | 5bd4e32a4cf2ee4f80c4327170d4ddbe552fd47f (patch) | |
tree | 53a6effe8edb7c6435f1772f6c7701c0412ca298 | |
parent | a658a02aaa6e826f18b360e4a96269bdcd3ef135 (diff) |
Merged revisions 108796 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4
........
r108796 | russell | 2008-03-14 15:09:22 -0500 (Fri, 14 Mar 2008) | 5 lines
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/trunk@108797 65c4cc65-6c06-0410-ace0-fbb531ad65f3
-rw-r--r-- | channels/chan_oss.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/channels/chan_oss.c b/channels/chan_oss.c index 626951208..9d1c4569c 100644 --- a/channels/chan_oss.c +++ b/channels/chan_oss.c @@ -789,7 +789,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; |