[Asterisk-cvs] asterisk/apps app_dial.c,1.47,1.48

markster at lists.digium.com markster at lists.digium.com
Thu Dec 4 16:00:14 CST 2003


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

Modified Files:
	app_dial.c 
Log Message:
Forward language choice


Index: app_dial.c
===================================================================
RCS file: /usr/cvsroot/asterisk/apps/app_dial.c,v
retrieving revision 1.47
retrieving revision 1.48
diff -u -d -r1.47 -r1.48
--- app_dial.c	3 Dec 2003 15:21:58 -0000	1.47
+++ app_dial.c	4 Dec 2003 22:26:38 -0000	1.48
@@ -571,6 +571,8 @@
 			tmp->chan->callerid = strdup(chan->callerid);
 		else
 			tmp->chan->callerid = NULL;
+		/* Copy language from incoming to outgoing */
+		strcpy(tmp->chan->language, chan->language);
 		if (!strlen(tmp->chan->musicclass))
 			strncpy(tmp->chan->musicclass, chan->musicclass, sizeof(tmp->chan->musicclass) - 1);
 		if (chan->ani)




More information about the svn-commits mailing list