From: Stefan Knoblich Date: Sat, 19 Jan 2008 01:12:48 +0000 (+0000) Subject: Show TLS urls in sofia status profile output X-Git-Tag: v1.0-rc1~615 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5607d762d7a38b669e97e50c18a5934d58eb7576;p=thirdparty%2Ffreeswitch.git Show TLS urls in sofia status profile output git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@7293 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 5fe46c80fe..a9e3c3bb63 100644 --- a/src/mod/endpoints/mod_sofia/mod_sofia.c +++ b/src/mod/endpoints/mod_sofia/mod_sofia.c @@ -1214,6 +1214,10 @@ static switch_status_t cmd_status(char **argv, int argc, switch_stream_handle_t } stream->write_function(stream, "URL \t%s\n", switch_str_nil(profile->url)); stream->write_function(stream, "BIND-URL \t%s\n", switch_str_nil(profile->bindurl)); + if (sofia_test_pflag(profile, PFLAG_TLS)) { + 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)); + } stream->write_function(stream, "HOLD-MUSIC \t%s\n", switch_str_nil(profile->hold_music)); stream->write_function(stream, "CODECS \t%s\n", switch_str_nil(profile->codec_string)); stream->write_function(stream, "TEL-EVENT \t%d\n", profile->te);