[Asterisk-cvs] asterisk pbx.c,1.226,1.227

kpfleming at lists.digium.com kpfleming at lists.digium.com
Wed Apr 20 11:20:33 CDT 2005


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

Modified Files:
	pbx.c 
Log Message:
correct default language setting for Background() app (bug #4044)


Index: pbx.c
===================================================================
RCS file: /usr/cvsroot/asterisk/pbx.c,v
retrieving revision 1.226
retrieving revision 1.227
diff -u -d -r1.226 -r1.227
--- pbx.c	20 Apr 2005 14:40:47 -0000	1.226
+++ pbx.c	20 Apr 2005 16:11:16 -0000	1.227
@@ -5566,6 +5566,9 @@
 		}
 	}
 
+	if (!lang)
+		lang = chan->language;
+
 	if (options) {
 		if (!strcasecmp(options, "skip"))
 			flags.flags = BACKGROUND_SKIP;




More information about the svn-commits mailing list