[Asterisk-cvs] asterisk/apps app_dial.c,1.24,1.25

markster at lists.digium.com markster at lists.digium.com
Sat Sep 6 14:27:43 CDT 2003


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

Modified Files:
	app_dial.c 
Log Message:
Copy musiconhold


Index: app_dial.c
===================================================================
RCS file: /usr/cvsroot/asterisk/apps/app_dial.c,v
retrieving revision 1.24
retrieving revision 1.25
diff -C2 -d -r1.24 -r1.25
*** app_dial.c	5 Sep 2003 04:00:57 -0000	1.24
--- app_dial.c	6 Sep 2003 19:28:52 -0000	1.25
***************
*** 565,568 ****
--- 565,570 ----
  		else
  			tmp->chan->callerid = NULL;
+ 		if (!strlen(tmp->chan->musicclass))
+ 			strncpy(tmp->chan->musicclass, chan->musicclass, sizeof(tmp->chan->musicclass) - 1);
  		if (chan->ani)
  			tmp->chan->ani = strdup(chan->ani);




More information about the svn-commits mailing list