add presence-probe-on-register sofia param to send a probe on register instead of presence to deal with some broken phones and add some general improvements to allow multi homed presence

This commit is contained in:
Anthony Minessale
2010-11-24 21:39:08 -06:00
parent f987903e5e
commit 143949941c
6 changed files with 70 additions and 41 deletions
+2 -1
View File
@@ -3936,7 +3936,7 @@ static switch_call_cause_t sofia_outgoing_channel(switch_core_session_t *session
dest_num = p + 5;
}
}
#endif
if (profile->pres_type) {
char *sql;
@@ -3957,6 +3957,7 @@ static switch_call_cause_t sofia_outgoing_channel(switch_core_session_t *session
sofia_glue_actually_execute_sql(profile, sql, profile->ireg_mutex);
switch_safe_free(sql);
}
#endif
caller_profile = switch_caller_profile_clone(nsession, outbound_profile);