diff --git a/src/mod/endpoints/mod_sofia/mod_sofia.c b/src/mod/endpoints/mod_sofia/mod_sofia.c
index ddf23a9d25..3454de053e 100644
--- a/src/mod/endpoints/mod_sofia/mod_sofia.c
+++ b/src/mod/endpoints/mod_sofia/mod_sofia.c
@@ -2492,6 +2492,12 @@ static switch_status_t cmd_status(char **argv, int argc, switch_stream_handle_t
stream->write_function(stream, "TLS-URL \t%s\n", switch_str_nil(profile->tls_url));
stream->write_function(stream, "TLS-BIND-URL \t%s\n", switch_str_nil(profile->tls_bindurl));
}
+ if (profile->ws_bindurl) {
+ stream->write_function(stream, "WS-BIND-URL \t%s\n", switch_str_nil(profile->ws_bindurl));
+ }
+ if (profile->wss_bindurl) {
+ stream->write_function(stream, "WSS-BIND-URL \t%s\n", switch_str_nil(profile->wss_bindurl));
+ }
stream->write_function(stream, "HOLD-MUSIC \t%s\n", zstr(profile->hold_music) ? "N/A" : profile->hold_music);
stream->write_function(stream, "OUTBOUND-PROXY \t%s\n", zstr(profile->outbound_proxy) ? "N/A" : profile->outbound_proxy);
stream->write_function(stream, "CODECS IN \t%s\n", switch_str_nil(profile->inbound_codec_string));
@@ -2776,6 +2782,8 @@ static switch_status_t cmd_xml_status(char **argv, int argc, switch_stream_handl
stream->write_function(stream, " %s\n", switch_str_nil(profile->bindurl));
stream->write_function(stream, " %s\n", switch_str_nil(profile->tls_url));
stream->write_function(stream, " %s\n", switch_str_nil(profile->tls_bindurl));
+ stream->write_function(stream, " %s\n", switch_str_nil(profile->ws_bindurl));
+ stream->write_function(stream, " %s\n", switch_str_nil(profile->wss_bindurl));
stream->write_function(stream, " %s\n", zstr(profile->hold_music) ? "N/A" : profile->hold_music);
stream->write_function(stream, " %s\n",
zstr(profile->outbound_proxy) ? "N/A" : profile->outbound_proxy);
@@ -2902,10 +2910,19 @@ static switch_status_t cmd_xml_status(char **argv, int argc, switch_stream_handl
}
if (sofia_test_pflag(profile, PFLAG_TLS)) {
- stream->write_function(stream,
- "\n%s\n%s\n%s\n%s (%u) (TLS)\n\n",
- profile->name, "profile", profile->tls_url, sofia_test_pflag(profile, PFLAG_RUNNING) ? "RUNNING" : "DOWN",
- profile->inuse);
+ stream->write_function(stream, "\n%s\n%s\n%s\n%s (%u) (TLS)\n\n",
+ profile->name, "profile", profile->tls_url, sofia_test_pflag(profile, PFLAG_RUNNING) ? "RUNNING" : "DOWN",
+ profile->inuse);
+ }
+ if (profile->ws_bindurl){
+ stream->write_function(stream, "\n%s\n%s\n%s\n%s (%u) (WS)\n\n",
+ profile->name, "profile", profile->ws_bindurl, sofia_test_pflag(profile, PFLAG_RUNNING) ? "RUNNING" : "DOWN",
+ profile->inuse);
+ }
+ if (profile->wss_bindurl){
+ stream->write_function(stream, "\n%s\n%s\n%s\n%s (%u) (WSS)\n\n",
+ profile->name, "profile", profile->wss_bindurl, sofia_test_pflag(profile, PFLAG_RUNNING) ? "RUNNING" : "DOWN",
+ profile->inuse);
}
c++;