From: David Yat Sin Date: Thu, 14 Oct 2010 18:19:54 +0000 (-0400) Subject: Fix for destination_number_ton and destination_number_npi not set on incoming calls X-Git-Tag: v1.2-rc1~291^2~7^2~6^2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=db9c8c9db6ecfc6dd196c377dd91ccbd604d445b;p=thirdparty%2Ffreeswitch.git Fix for destination_number_ton and destination_number_npi not set on incoming calls --- diff --git a/libs/freetdm/src/ftmod/ftmod_sangoma_isdn/ftmod_sangoma_isdn_support.c b/libs/freetdm/src/ftmod/ftmod_sangoma_isdn/ftmod_sangoma_isdn_support.c index 691e3104c0..a77fb05383 100644 --- a/libs/freetdm/src/ftmod/ftmod_sangoma_isdn/ftmod_sangoma_isdn_support.c +++ b/libs/freetdm/src/ftmod/ftmod_sangoma_isdn/ftmod_sangoma_isdn_support.c @@ -188,11 +188,11 @@ ftdm_status_t cpy_called_num_from_stack(ftdm_caller_data_t *ftdm, CdPtyNmb *cdPt } if (cdPtyNmb->nmbPlanId.pres == PRSNT_NODEF) { - ftdm->cid_num.plan = cdPtyNmb->nmbPlanId.val; + ftdm->dnis.plan = cdPtyNmb->nmbPlanId.val; } if (cdPtyNmb->typeNmb0.pres == PRSNT_NODEF) { - ftdm->cid_num.type = cdPtyNmb->typeNmb0.val; + ftdm->dnis.type = cdPtyNmb->typeNmb0.val; } if (cdPtyNmb->nmbDigits.pres == PRSNT_NODEF) {