mirror of
https://github.com/signalwire/freeswitch.git
synced 2026-10-23 03:34:15 +00:00
MODENDP-207
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@12792 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
1 parent
d51298bde9
commit
82eb176f6f
2 files changed
+7
-3
No files matched your search
@@ -210,7 +210,8 @@ void sofia_presence_cancel(void)
|
||||
if ((sql = switch_mprintf(
|
||||
"select proto,sip_user,sip_host,sub_to_user,sub_to_host,event,contact,call_id,full_from,"
|
||||
"full_via,expires,user_agent,accept,profile_name"
|
||||
",-1,'unavailable','unavailable' from sip_subscriptions where event='presence'"))) {
|
||||
",-1,'unavailable','unavailable' from sip_subscriptions where event='presence' and hostname='%q'",
|
||||
mod_sofia_globals.hostname))) {
|
||||
switch_mutex_lock(mod_sofia_globals.hash_mutex);
|
||||
for (hi = switch_hash_first(NULL, mod_sofia_globals.profile_hash); hi; hi = switch_hash_next(hi)) {
|
||||
switch_hash_this(hi, NULL, NULL, &val);
|
||||
|
||||
Reference in new issue
Block a user