diff --git a/channels/chan_local.c b/channels/chan_local.c
index 52445897906aeccb5c9cfbb7df97681a54809345..afce4aff7749fc2b7d2910600b0322ea4e3ff378 100755
--- a/channels/chan_local.c
+++ b/channels/chan_local.c
@@ -242,6 +242,10 @@ static int local_call(struct ast_channel *ast, char *dest, int timeout)
 		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