code before decl
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@15806 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
parent
d9a8e5d7b2
commit
d6f2852836
|
@ -1523,12 +1523,6 @@ SWITCH_STANDARD_API(pa_cmd)
|
||||||
char *wcmd = NULL, *action = NULL;
|
char *wcmd = NULL, *action = NULL;
|
||||||
char cmd_buf[1024] = "";
|
char cmd_buf[1024] = "";
|
||||||
char *http = NULL;
|
char *http = NULL;
|
||||||
|
|
||||||
if (stream->param_event) {
|
|
||||||
http = switch_event_get_header(stream->param_event, "http-host");
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
const char *usage_string = "USAGE:\n"
|
const char *usage_string = "USAGE:\n"
|
||||||
"--------------------------------------------------------------------------------\n"
|
"--------------------------------------------------------------------------------\n"
|
||||||
"alsa help\n"
|
"alsa help\n"
|
||||||
|
@ -1540,6 +1534,10 @@ SWITCH_STANDARD_API(pa_cmd)
|
||||||
"alsa dtmf <digit string>\n"
|
"alsa dtmf <digit string>\n"
|
||||||
"alsa flags [on|off] [ear] [mouth]\n" "--------------------------------------------------------------------------------\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 (http) {
|
||||||
#if 0
|
#if 0
|
||||||
switch_event_header_t *hp;
|
switch_event_header_t *hp;
|
||||||
|
|
Loading…
Reference in New Issue