From: Steve Murphy Date: Fri, 13 Apr 2007 17:01:02 +0000 (+0000) Subject: A fix for chan_oss that resulted from the CDR changes; it helps to use the right... X-Git-Tag: 1.4.7.1~436 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=8a386a98165636e2dae231cab2cc5deabd64cf25;p=thirdparty%2Fasterisk.git A fix for chan_oss that resulted from the CDR changes; it helps to use the right info. git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@61644 65c4cc65-6c06-0410-ace0-fbb531ad65f3 --- diff --git a/channels/chan_oss.c b/channels/chan_oss.c index 42d8abd9a0..e136bb2085 100644 --- a/channels/chan_oss.c +++ b/channels/chan_oss.c @@ -992,7 +992,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, "", o->ext, o->ctx, 0, "OSS/%s", o->device + 5); + c = ast_channel_alloc(1, state, o->cid_num, o->cid_name, "", ext, ctx, 0, "OSS/%s", o->device + 5); if (c == NULL) return NULL; c->tech = &oss_tech;