[Asterisk-cvs] asterisk/apps app_dial.c,1.89,1.90

markster at lists.digium.com markster at lists.digium.com
Thu Jul 22 00:06:00 CDT 2004


Update of /usr/cvsroot/asterisk/apps
In directory localhost.localdomain:/tmp/cvs-serv28232/apps

Modified Files:
	app_dial.c 
Log Message:
Copy account code and flags form incoming to outgoing channel for purposes of local stuff


Index: app_dial.c
===================================================================
RCS file: /usr/cvsroot/asterisk/apps/app_dial.c,v
retrieving revision 1.89
retrieving revision 1.90
diff -u -d -r1.89 -r1.90
--- app_dial.c	20 Jul 2004 22:24:15 -0000	1.89
+++ app_dial.c	22 Jul 2004 03:51:54 -0000	1.90
@@ -771,6 +771,8 @@
 			tmp->chan->callerid = NULL;
 		/* Copy language from incoming to outgoing */
 		strncpy(tmp->chan->language, chan->language, sizeof(tmp->chan->language) - 1);
+		strncpy(tmp->chan->accountcode, chan->accountcode, sizeof(tmp->chan->accountcode) - 1);
+		tmp->chan->cdrflags = chan->cdrflags;
 		if (ast_strlen_zero(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