Show TLS urls in sofia status profile output

git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@7293 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
Stefan Knoblich 2008-01-19 01:12:48 +00:00
parent a8db53de3b
commit 5607d762d7
1 changed files with 4 additions and 0 deletions

View 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);