mod_sofia: Fix malformed Presense SQL Query
This commit is contained in:
parent
80174cf39f
commit
9a9373c0bb
|
@ -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);
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue