From: Mark Spencer Date: Thu, 18 Mar 2004 20:33:55 +0000 (+0000) Subject: Populated RDNIS X-Git-Tag: 1.0.0-rc1~919 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=e7ecf6accb950c00454aa887681287556eb7181b;p=thirdparty%2Fasterisk.git Populated RDNIS git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@2457 65c4cc65-6c06-0410-ace0-fbb531ad65f3 --- diff --git a/channels/chan_local.c b/channels/chan_local.c index 5244589790..afce4aff77 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