[Asterisk-cvs] asterisk/channels chan_local.c,1.26,1.27

markster at lists.digium.com markster at lists.digium.com
Mon May 17 11:40:39 CDT 2004


Update of /usr/cvsroot/asterisk/channels
In directory mongoose.digium.com:/tmp/cvs-serv10144/channels

Modified Files:
	chan_local.c 
Log Message:
Propagate language properly across chan_local (bug #1663)


Index: chan_local.c
===================================================================
RCS file: /usr/cvsroot/asterisk/channels/chan_local.c,v
retrieving revision 1.26
retrieving revision 1.27
diff -u -d -r1.26 -r1.27
--- chan_local.c	6 Apr 2004 22:17:31 -0000	1.26
+++ chan_local.c	17 May 2004 15:52:33 -0000	1.27
@@ -247,6 +247,7 @@
 		p->chan->ani = strdup(p->owner->ani);
 	else
 		p->chan->ani = NULL;
+	strncpy(p->chan->language, p->owner->language, sizeof(p->chan->language) - 1);
 	p->launchedpbx = 1;
 	/* Start switch on sub channel */
 	res = ast_pbx_start(p->chan);




More information about the svn-commits mailing list