git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@5051 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
Anthony Minessale committed 2007-05-01 01:26:30 +00:00
1 parent 85daee9324
commit e119e0dad4
3 files changed
+16 -5

No files matched your search

@@ -1722,6 +1722,7 @@ static switch_status_t pa_cmd(char *cmd, switch_core_session_t *isession, switch
int lead = 1, devval = 0;
char *wcmd = NULL, *action = NULL;
char cmd_buf[1024] = "";
char *http = NULL;
const char *usage_string = "USAGE:\n"
"--------------------------------------------------------------------------------\n"
@@ -1739,8 +1740,12 @@ static switch_status_t pa_cmd(char *cmd, switch_core_session_t *isession, switch
"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 (http) {
#if 0
switch_event_header_t *hp;
stream->write_function(stream, "<pre>");
@@ -1872,7 +1877,7 @@ static switch_status_t pa_cmd(char *cmd, switch_core_session_t *isession, switch
done:
if (stream->event) {
if (http) {
stream->write_function(stream,
"<br><br><table align=center><tr><td><center><form method=post>\n"