mirror of
https://github.com/signalwire/freeswitch.git
synced 2026-11-13 21:17:06 +00:00
tweak ping behaviour
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@8881 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
1 parent
43b712b7b1
commit
eec83be1c9
5 files changed
+46
-10
No files matched your search
@@ -541,15 +541,7 @@ SWITCH_DECLARE(switch_status_t) switch_event_create_subclass(switch_event_t **ev
|
||||
(*event)->event_id = event_id;
|
||||
|
||||
if (subclass_name) {
|
||||
switch_event_subclass_t *subclass;
|
||||
|
||||
if (!(subclass = switch_core_hash_find(CUSTOM_HASH, subclass_name))) {
|
||||
switch_event_reserve_subclass((char *) subclass_name);
|
||||
subclass = switch_core_hash_find(CUSTOM_HASH, subclass_name);
|
||||
}
|
||||
|
||||
(*event)->subclass_name = DUP(subclass_name);
|
||||
|
||||
switch_event_add_header_string(*event, SWITCH_STACK_BOTTOM, "Event-Subclass", subclass_name);
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user