mirror of
https://github.com/signalwire/freeswitch.git
synced 2026-11-12 04:27:06 +00:00
xmas presence
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3721 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
1 parent
55d0882f90
commit
375f1b38fd
2 files changed
+28
-26
No files matched your search
@@ -306,7 +306,8 @@ static void pres_event_handler(switch_event_t *event)
|
||||
}
|
||||
|
||||
switch(event->event_id) {
|
||||
case SWITCH_EVENT_PRESENCE_PROBE: {
|
||||
case SWITCH_EVENT_PRESENCE_PROBE:
|
||||
if (proto && !strcasecmp(proto, MDL_CHAT_PROTO)) {
|
||||
char *sql;
|
||||
switch_core_db_t *db;
|
||||
char *errmsg;
|
||||
@@ -323,7 +324,7 @@ static void pres_event_handler(switch_event_t *event)
|
||||
switch_core_db_close(db);
|
||||
switch_safe_free(sql);
|
||||
}
|
||||
}
|
||||
}
|
||||
return;
|
||||
case SWITCH_EVENT_PRESENCE_IN:
|
||||
if (!status) {
|
||||
|
||||
Reference in new issue
Block a user