From c762af71b746d50af2ec7b0bb3da746aebe406b3 Mon Sep 17 00:00:00 2001 From: Stefan Knoblich Date: Sat, 19 Jan 2008 01:28:36 +0000 Subject: [PATCH] Ouput a second line with tls_url and (TLS) in sofia status for tls enabled profiles git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@7294 d0543943-73ff-0310-b7d9-9358b9ac24b2 --- src/mod/endpoints/mod_sofia/mod_sofia.c | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/mod/endpoints/mod_sofia/mod_sofia.c b/src/mod/endpoints/mod_sofia/mod_sofia.c index a9e3c3bb63..16be182bb4 100644 --- a/src/mod/endpoints/mod_sofia/mod_sofia.c +++ b/src/mod/endpoints/mod_sofia/mod_sofia.c @@ -1260,6 +1260,12 @@ static switch_status_t cmd_status(char **argv, int argc, switch_stream_handle_t } else { stream->write_function(stream, "%25s\t%s\t %32s\t%s (%u)\n", profile->name, "profile", profile->url, sofia_test_pflag(profile, PFLAG_RUNNING) ? "RUNNING" : "DOWN", profile->inuse); + + if (sofia_test_pflag(profile, PFLAG_TLS)) { + stream->write_function(stream, "%25s\t%s\t %32s\t%s (%u) (TLS)\n", profile->name, "profile", profile->tls_url, + sofia_test_pflag(profile, PFLAG_RUNNING) ? "RUNNING" : "DOWN", profile->inuse); + } + c++; for (gp = profile->gateways; gp; gp = gp->next) {