only list real profiles not aliases in presence code

This commit is contained in:
Anthony Minessale committed 2011-07-14 16:01:44 -05:00
1 parent 6925af68e0
commit f9969f3856
4 files changed
+19 -7

No files matched your search

+1 -1
View File
@@ -5541,7 +5541,7 @@ int sofia_glue_recover(switch_bool_t flush)
switch_console_callback_match_t *matches;
if (list_profiles(NULL, NULL, &matches) == SWITCH_STATUS_SUCCESS) {
if (list_profiles_full(NULL, NULL, &matches, SWITCH_FALSE) == SWITCH_STATUS_SUCCESS) {
switch_console_callback_match_node_t *m;
for (m = matches->head; m; m = m->next) {
if ((profile = sofia_glue_find_profile(m->val))) {