[asterisk-commits] russell: branch 1.4 r108796 - /branches/1.4/channels/chan_oss.c

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Fri Mar 14 15:09:22 CDT 2008


Author: russell
Date: Fri Mar 14 15:09:22 2008
New Revision: 108796

URL: http://svn.digium.com/view/asterisk?view=rev&rev=108796
Log:
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)

Modified:
    branches/1.4/channels/chan_oss.c

Modified: branches/1.4/channels/chan_oss.c
URL: http://svn.digium.com/view/asterisk/branches/1.4/channels/chan_oss.c?view=diff&rev=108796&r1=108795&r2=108796
==============================================================================
--- branches/1.4/channels/chan_oss.c (original)
+++ branches/1.4/channels/chan_oss.c Fri Mar 14 15:09:22 2008
@@ -993,7 +993,7 @@
 {
 	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;




More information about the asterisk-commits mailing list