[Asterisk-cvs] asterisk/apps app_dial.c,1.95,1.96

markster at lists.digium.com markster at lists.digium.com
Fri Oct 1 21:03:05 CDT 2004


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

Modified Files:
	app_dial.c 
Log Message:
Move populate TNS/Presentation/TON from calling channel


Index: app_dial.c
===================================================================
RCS file: /usr/cvsroot/asterisk/apps/app_dial.c,v
retrieving revision 1.95
retrieving revision 1.96
diff -u -d -r1.95 -r1.96
--- app_dial.c	2 Oct 2004 00:58:31 -0000	1.95
+++ app_dial.c	2 Oct 2004 01:05:11 -0000	1.96
@@ -823,6 +823,10 @@
 			strncpy(tmp->chan->musicclass, chan->musicclass, sizeof(tmp->chan->musicclass) - 1);
 		/* Pass callingpres setting */
 		tmp->chan->cid.cid_pres = chan->cid.cid_pres;
+		/* Pass type of number */
+		tmp->chan->cid.cid_ton = chan->cid.cid_ton;
+		/* Pass type of tns */
+		tmp->chan->cid.cid_tns = chan->cid.cid_tns;
 		/* Presense of ADSI CPE on outgoing channel follows ours */
 		tmp->chan->adsicpe = chan->adsicpe;
 		/* pass the digital flag */




More information about the svn-commits mailing list