mirror of
https://github.com/signalwire/freeswitch.git
synced 2026-10-16 08:14: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);
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user