From 04027b99e705082d2a4d449f137238a402cc70c2 Mon Sep 17 00:00:00 2001 From: MelwareDE Date: Wed, 9 Nov 2005 12:33:11 +0000 Subject: [PATCH] - fixed setting of redirecting number rdnis instead of cid. --- chan_capi.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/chan_capi.c b/chan_capi.c index 9913621..655caa7 100644 --- a/chan_capi.c +++ b/chan_capi.c @@ -2384,7 +2384,7 @@ static void capi_handle_info_indication(_cmsg *CMSG, unsigned int PLCI, unsigned pbx_builtin_setvar_helper(i->owner, "REDIRECTINGNUMBER", p); pbx_builtin_setvar_helper(i->owner, "REDIRECTREASON", reasonbuf); #ifdef CC_AST_CHANNEL_HAS_CID - i->owner->cid.cid_num = strdup(p); + i->owner->cid.cid_rdnis = strdup(p); #else i->owner->rdnis = strdup(p); #endif