Skip filling locPtyNum if caller_data->loc.digits is NULL

This commit is contained in:
David Yat Sin 2012-06-29 12:54:09 -04:00
parent 80f72823b3
commit 24a458683a

View File

@ -254,6 +254,7 @@ ftdm_status_t copy_locPtyNum_to_sngss7(ftdm_channel_t *ftdmchan, SiCgPtyNum *loc
if (!strcasecmp(caller_data->loc.digits, "NULL")) {
pres_val = NOTPRSNT;
return FTDM_SUCCESS;
}
locPtyNum->eh.pres = pres_val;