char *wcmd = NULL, *action = NULL;
char cmd_buf[1024] = "";
char *http = NULL;
-
- if (stream->param_event) {
- http = switch_event_get_header(stream->param_event, "http-host");
- }
-
-
const char *usage_string = "USAGE:\n"
"--------------------------------------------------------------------------------\n"
"alsa help\n"
"alsa dtmf <digit string>\n"
"alsa flags [on|off] [ear] [mouth]\n" "--------------------------------------------------------------------------------\n";
+ if (stream->param_event) {
+ http = switch_event_get_header(stream->param_event, "http-host");
+ }
+
if (http) {
#if 0
switch_event_header_t *hp;