search for: ast_variables_destroy

Displaying 1 result from an estimated 1 matches for "ast_variables_destroy".

2014 Dec 16
1
Realtime not storing voicemail password changes
...red in the db when it is changed. A little hair pulling and playing around and I think the problem is in the function ast_update2_realtime in main/config.c. Issued source is ==> int ast_update2_realtime(const char *family, ...) { RAII_VAR(struct ast_variable *, lookup_fields, NULL, ast_variables_destroy); RAII_VAR(struct ast_variable *, update_fields, NULL, ast_variables_destroy); va_list ap; va_start(ap, family); /* XXX: If we wanted to pass no lookup fields (select all), we'd be * out of luck. realtime_arguments_to_fields expects at least one key...