mirror of
https://github.com/signalwire/freeswitch.git
synced 2025-04-15 08:29:45 +00:00
Skip filling locPtyNum if caller_data->loc.digits is NULL
This commit is contained in:
parent
80f72823b3
commit
24a458683a
@ -254,6 +254,7 @@ ftdm_status_t copy_locPtyNum_to_sngss7(ftdm_channel_t *ftdmchan, SiCgPtyNum *loc
|
|||||||
|
|
||||||
if (!strcasecmp(caller_data->loc.digits, "NULL")) {
|
if (!strcasecmp(caller_data->loc.digits, "NULL")) {
|
||||||
pres_val = NOTPRSNT;
|
pres_val = NOTPRSNT;
|
||||||
|
return FTDM_SUCCESS;
|
||||||
}
|
}
|
||||||
|
|
||||||
locPtyNum->eh.pres = pres_val;
|
locPtyNum->eh.pres = pres_val;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user