mirror of
https://github.com/signalwire/freeswitch.git
synced 2025-04-17 01:02:12 +00:00
Fix for destination_number_ton and destination_number_npi not set on incoming calls
This commit is contained in:
parent
c0190847e3
commit
db9c8c9db6
@ -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) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user