mirror of
https://github.com/asterisk/asterisk.git
synced 2025-09-29 18:19:30 +00:00
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
This commit is contained in:
@@ -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;
|
||||
|
Reference in New Issue
Block a user