提交 deec244b authored 作者: Anthony Minessale's avatar Anthony Minessale

FS-3098 You are probably right about the sql statement, we must have missed that…

FS-3098 You are probably right about the sql statement, we must have missed that when the contributor gave us the patch. Be aware this code is depricated in favor of the broadsoft SCA shared appeareances and will probably be removed eventually
上级 155aafd3
......@@ -653,7 +653,7 @@ void sofia_reg_check_expire(sofia_profile_t *profile, time_t now, int reboot)
"and profile_name='%s' and expires <= %ld", mod_sofia_globals.hostname, profile->name, (long) now);
sofia_glue_execute_sql_callback(profile, NULL, sql, sofia_sla_dialog_del_callback, profile);
switch_snprintf(sql, sizeof(sql), "delete from sip_registrations where expires > 0 and hostname='%s' and expires <= %ld",
switch_snprintf(sql, sizeof(sql), "delete from sip_shared_appearance_dialogs where expires > 0 and hostname='%s' and expires <= %ld",
mod_sofia_globals.hostname, (long) now);
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论