[Asterisk-cvs] asterisk/apps app_dial.c,1.99,1.100

markster at lists.digium.com markster at lists.digium.com
Sun Oct 31 18:31:42 CST 2004


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

Modified Files:
	app_dial.c 
Log Message:
Pass redirecting number on PRI calls (bug #2763)


Index: app_dial.c
===================================================================
RCS file: /usr/cvsroot/asterisk/apps/app_dial.c,v
retrieving revision 1.99
retrieving revision 1.100
diff -u -d -r1.99 -r1.100
--- app_dial.c	28 Oct 2004 14:25:50 -0000	1.99
+++ app_dial.c	31 Oct 2004 23:34:22 -0000	1.100
@@ -839,6 +839,8 @@
 		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->cid.cid_rdnis)
+			tmp->chan->cid.cid_rdnis = strdup(chan->cid.cid_rdnis);
 		/* Pass callingpres setting */
 		tmp->chan->cid.cid_pres = chan->cid.cid_pres;
 		/* Pass type of number */




More information about the svn-commits mailing list