mirror of
https://github.com/signalwire/freeswitch.git
synced 2026-11-12 20:47:06 +00:00
name change
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@8579 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
1 parent
4062b636e2
commit
307e9ef7d6
12 files changed
+73
-73
No files matched your search
@@ -1542,15 +1542,15 @@ SWITCH_STANDARD_API(pa_cmd)
|
||||
"pa outdev #<num>|<partial name>\n"
|
||||
"pa ringdev #<num>|<partial name>\n" "--------------------------------------------------------------------------------\n";
|
||||
|
||||
if (stream->event) {
|
||||
http = switch_event_get_header(stream->event, "http-host");
|
||||
if (stream->param_event) {
|
||||
http = switch_event_get_header(stream->param_event, "http-host");
|
||||
}
|
||||
|
||||
if (http) {
|
||||
stream->write_function(stream, "Content-type: text/html\n\n");
|
||||
|
||||
wcmd = switch_str_nil(switch_event_get_header(stream->event, "wcmd"));
|
||||
action = switch_event_get_header(stream->event, "action");
|
||||
wcmd = switch_str_nil(switch_event_get_header(stream->param_event, "wcmd"));
|
||||
action = switch_event_get_header(stream->param_event, "action");
|
||||
|
||||
if (action) {
|
||||
if (strlen(action) == 1) {
|
||||
|
||||
Reference in new issue
Block a user