freetdm: Do not call sng_isdn_retrieve_facility_caller_name when transparent facility is enabled
This commit is contained in:
parent
4793c697bd
commit
8cc8249052
|
@ -162,7 +162,10 @@ void sngisdn_process_con_ind (sngisdn_event_data_t *sngisdn_event)
|
|||
|
||||
#if 1
|
||||
/* this section will not be needed once asn decoding function with key-value pairs is implemented */
|
||||
if (signal_data->facility == SNGISDN_OPT_TRUE && conEvnt->facilityStr.eh.pres) {
|
||||
if (signal_data->facility == SNGISDN_OPT_TRUE &&
|
||||
signal_data->facility_ie_decode != SNGISDN_OPT_FALSE &&
|
||||
conEvnt->facilityStr.eh.pres) {
|
||||
|
||||
/* Verify whether the Caller Name will come in a subsequent FACILITY message */
|
||||
uint16_t ret_val;
|
||||
char retrieved_str[255];
|
||||
|
|
Loading…
Reference in New Issue