mirror of
https://github.com/signalwire/freeswitch.git
synced 2026-10-25 04:34:15 +00:00
build tweak
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@9160 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
1 parent
2c2b28694b
commit
53a2d1917c
2 files changed
+5
-5
No files matched your search
@@ -2099,8 +2099,8 @@ static switch_status_t event_chat_send(char *proto, char *from, char *to, char *
|
||||
if (hint) switch_event_add_header(event, SWITCH_STACK_BOTTOM, "Hint", "%s", hint);
|
||||
if (body) switch_event_add_body(event, "%s", body);
|
||||
if (to) {
|
||||
switch_event_add_header(event, SWITCH_STACK_BOTTOM, "To", "%s", to);
|
||||
const char *v;
|
||||
switch_event_add_header(event, SWITCH_STACK_BOTTOM, "To", "%s", to);
|
||||
if ((v = switch_core_get_variable(to))) {
|
||||
switch_event_add_header(event, SWITCH_STACK_BOTTOM, "Command", "%s", v);
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user