mirror of
https://github.com/signalwire/freeswitch.git
synced 2025-04-13 07:45:26 +00:00
freetdm - ISDN added check to treat calling number 0000000000 as empty calling number
This commit is contained in:
parent
fe704c4082
commit
38143e3035
@ -595,6 +595,11 @@ ftdm_status_t set_calling_num(ftdm_channel_t *ftdmchan, CgPtyNmb *cgPtyNmb)
|
||||
if (!len) {
|
||||
return FTDM_SUCCESS;
|
||||
}
|
||||
|
||||
if (!strncasecmp(caller_data->cid_num.digits, "0000000000", strlen("0000000000"))) {
|
||||
return FTDM_SUCCESS;
|
||||
}
|
||||
|
||||
cgPtyNmb->eh.pres = PRSNT_NODEF;
|
||||
|
||||
cgPtyNmb->screenInd.pres = PRSNT_NODEF;
|
||||
|
Loading…
x
Reference in New Issue
Block a user