mirror of
https://github.com/signalwire/freeswitch.git
synced 2025-06-07 21:44:51 +00:00
last commit part 2
This commit is contained in:
parent
75aab0ee6c
commit
6d02716ac5
@ -1193,7 +1193,7 @@ static char *parse_presence_data_cols(switch_event_t *event)
|
|||||||
for (i = 0; i < col_count; i++) {
|
for (i = 0; i < col_count; i++) {
|
||||||
const char *val = NULL;
|
const char *val = NULL;
|
||||||
|
|
||||||
switch_snprintfv(col_name, sizeof(col_name), "variable_%q", cols[i]);
|
switch_snprintfv(col_name, sizeof(col_name), "PD-%q", cols[i]);
|
||||||
val = switch_event_get_header_nil(event, col_name);
|
val = switch_event_get_header_nil(event, col_name);
|
||||||
if (zstr(val)) {
|
if (zstr(val)) {
|
||||||
stream.write_function(&stream, "%q=NULL,", cols[i]);
|
stream.write_function(&stream, "%q=NULL,", cols[i]);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user