missed one
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@6333 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
parent
32b9b45a5d
commit
c6bcb0a186
|
@ -364,7 +364,7 @@ void sofia_presence_event_handler(switch_event_t *event)
|
|||
}
|
||||
|
||||
if (euser && host &&
|
||||
(sql = switch_mprintf("select user,host,status,rpid,'' from sip_registrations where sip_user='%q' and sip_host='%q'",
|
||||
(sql = switch_mprintf("select sip_user,sip_host,status,rpid,'' from sip_registrations where sip_user='%q' and sip_host='%q'",
|
||||
euser, host)) && (profile = sofia_glue_find_profile(host))) {
|
||||
|
||||
sofia_glue_execute_sql_callback(profile,
|
||||
|
|
Loading…
Reference in New Issue