提交 db9c8c9d authored 作者: David Yat Sin's avatar David Yat Sin

Fix for destination_number_ton and destination_number_npi not set on incoming calls

上级 c0190847
...@@ -188,11 +188,11 @@ ftdm_status_t cpy_called_num_from_stack(ftdm_caller_data_t *ftdm, CdPtyNmb *cdPt ...@@ -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) { 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) { 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) { if (cdPtyNmb->nmbDigits.pres == PRSNT_NODEF) {
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论