mirror of
https://github.com/signalwire/freeswitch.git
synced 2026-10-29 22:54:18 +00:00
add some more specific events
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@9789 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
1 parent
f23c88d9fa
commit
003847dd0d
21 files changed
+53
-43
No files matched your search
+2
-2
@@ -1437,7 +1437,7 @@ SWITCH_DECLARE(switch_status_t) switch_xml_locate_domain(const char *domain_name
|
||||
*domain = NULL;
|
||||
|
||||
if (!params) {
|
||||
switch_event_create(&my_params, SWITCH_EVENT_MESSAGE);
|
||||
switch_event_create(&my_params, SWITCH_EVENT_REQUEST_PARAMS);
|
||||
switch_assert(my_params);
|
||||
switch_event_add_header_string(my_params, SWITCH_STACK_BOTTOM, "domain", domain_name);
|
||||
params = my_params;
|
||||
@@ -1467,7 +1467,7 @@ SWITCH_DECLARE(switch_status_t) switch_xml_locate_user(const char *key,
|
||||
*domain = NULL;
|
||||
|
||||
if (!params) {
|
||||
switch_event_create(&my_params, SWITCH_EVENT_MESSAGE);
|
||||
switch_event_create(&my_params, SWITCH_EVENT_REQUEST_PARAMS);
|
||||
switch_assert(my_params);
|
||||
params = my_params;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user