]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
Show TLS urls in sofia status profile output
authorStefan Knoblich <stkn@freeswitch.org>
Sat, 19 Jan 2008 01:12:48 +0000 (01:12 +0000)
committerStefan Knoblich <stkn@freeswitch.org>
Sat, 19 Jan 2008 01:12:48 +0000 (01:12 +0000)
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@7293 d0543943-73ff-0310-b7d9-9358b9ac24b2

src/mod/endpoints/mod_sofia/mod_sofia.c

index 5fe46c80fe02bda099e9300e3a4b6cac8190e937..a9e3c3bb63db09646c7303624b6ccaf3a729e30a 100644 (file)
@@ -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);