mod_sofia: Fix in previous commit incompleted, this one should do it (sofia presence related)

This commit is contained in:
Marc Olivier Chouinard 2010-11-28 17:15:39 -05:00
parent 9a9373c0bb
commit 8825b6eac8
1 changed files with 1 additions and 1 deletions

View File

@ -1927,7 +1927,7 @@ static void sync_sla(sofia_profile_t *profile, const char *to_user, const char *
switch_core_hash_init(&sh->hash, sh->pool);
sql = switch_mprintf("select sip_from_user,sip_from_host,call_info,call_info_state,uuid from sip_dialogs "
"where hostname='%q' and ((sip_from_user='%q' and sip_from_host='%q) or presence_id='%q@%q')",
"where hostname='%q' and ((sip_from_user='%q' and sip_from_host='%q') or presence_id='%q@%q')",
mod_sofia_globals.hostname, to_user, to_host, to_user, to_host);