[Asterisk-cvs] asterisk/channels chan_local.c,1.23,1.24

markster at lists.digium.com markster at lists.digium.com
Thu Mar 18 15:38:51 CST 2004


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

Modified Files:
	chan_local.c 
Log Message:
Populated RDNIS


Index: chan_local.c
===================================================================
RCS file: /usr/cvsroot/asterisk/channels/chan_local.c,v
retrieving revision 1.23
retrieving revision 1.24
diff -u -d -r1.23 -r1.24
--- chan_local.c	4 Mar 2004 01:11:25 -0000	1.23
+++ chan_local.c	18 Mar 2004 20:33:55 -0000	1.24
@@ -242,6 +242,10 @@
 		p->chan->callerid = strdup(p->owner->callerid);
 	else
 		p->chan->callerid = NULL;
+	if (p->owner->rdnis)
+		p->chan->rdnis = strdup(p->owner->rdnis);
+	else
+		p->chan->rdnis = NULL;
 	if (p->owner->ani)
 		p->chan->ani = strdup(p->owner->ani);
 	else




More information about the svn-commits mailing list