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;

_______________________________________________
Asterisk-Cvs mailing list
[email protected]
http://lists.digium.com/mailman/listinfo/asterisk-cvs

Reply via email to