From: Stefan Knoblich Date: Sat, 19 Jan 2008 01:28:36 +0000 (+0000) Subject: Ouput a second line with tls_url and (TLS) in sofia status for tls enabled profiles X-Git-Tag: v1.0-rc1~614 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c762af71b746d50af2ec7b0bb3da746aebe406b3;p=thirdparty%2Ffreeswitch.git 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 --- 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) {