Bug 982371 - Signaling - Filter remotepartyname in the calllogger. r=jesup

This commit is contained in:
Ethan Hugg 2014-03-12 12:04:18 -07:00
Родитель bc8bfd9b07
Коммит 5a12dc1afa
1 изменённых файлов: 2 добавлений и 1 удалений

Просмотреть файл

@ -188,9 +188,10 @@ void handlePlacedCall (session_data_t *data)
(data->cld_number[0] != 0 && strncmp(data->call_log.remotePartyNumber[0],
data->cld_number, strlen(data->cld_number)) == 0 )) {
if ( partyInfoPassedTheNameFilter(data->cld_name) &&
partyInfoPassedTheNumberFilter(data->cld_number) )
partyInfoPassedTheNumberFilter(data->cld_number) ) {
data->call_log.remotePartyNumber[0] = strlib_update(data->call_log.remotePartyNumber[0], data->cld_number);
data->call_log.remotePartyName[0] = strlib_update(data->call_log.remotePartyName[0], data->cld_name);
}
}
// Start the duration count once the call reaches connected state.