mirror of
https://github.com/signalwire/freeswitch.git
synced 2026-10-13 23:04:13 +00:00
fix var events to not have stamp info
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@12765 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
1 parent
c1cf70139a
commit
dd19c3c2ec
7 files changed
+21
-14
No files matched your search
@@ -1147,14 +1147,14 @@ static void parse_gateways(sofia_profile_t *profile, switch_xml_t gateways_tag)
|
||||
|
||||
if (in) {
|
||||
if (!gateway->ib_vars) {
|
||||
switch_event_create(&gateway->ib_vars, SWITCH_EVENT_GENERAL);
|
||||
switch_event_create_plain(&gateway->ib_vars, SWITCH_EVENT_GENERAL);
|
||||
}
|
||||
switch_event_add_header_string(gateway->ib_vars, SWITCH_STACK_BOTTOM, var, val);
|
||||
}
|
||||
|
||||
if (out) {
|
||||
if (!gateway->ob_vars) {
|
||||
switch_event_create(&gateway->ob_vars, SWITCH_EVENT_GENERAL);
|
||||
switch_event_create_plain(&gateway->ob_vars, SWITCH_EVENT_GENERAL);
|
||||
}
|
||||
switch_event_add_header_string(gateway->ob_vars, SWITCH_STACK_BOTTOM, var, val);
|
||||
}
|
||||
|
||||
@@ -1780,8 +1780,10 @@ auth_res_t sofia_reg_parse_auth(sofia_profile_t *profile, sip_authorization_t co
|
||||
|
||||
if (first && ret == AUTH_OK) {
|
||||
if (v_event) {
|
||||
switch_event_create(v_event, SWITCH_EVENT_REQUEST_PARAMS);
|
||||
switch_event_create_plain(v_event, SWITCH_EVENT_REQUEST_PARAMS);
|
||||
}
|
||||
|
||||
|
||||
if (v_event && *v_event) {
|
||||
switch_xml_t xparams[3];
|
||||
int i = 0;
|
||||
|
||||
Reference in new issue
Block a user