[Freeswitch-svn] [commit] r7293 - freeswitch/trunk/src/mod/endpoints/mod_sofia

Freeswitch SVN stkn at freeswitch.org
Fri Jan 18 20:12:48 EST 2008


Author: stkn
Date: Fri Jan 18 20:12:48 2008
New Revision: 7293

Modified:
   freeswitch/trunk/src/mod/endpoints/mod_sofia/mod_sofia.c

Log:
Show TLS urls in sofia status profile output

Modified: freeswitch/trunk/src/mod/endpoints/mod_sofia/mod_sofia.c
==============================================================================
--- freeswitch/trunk/src/mod/endpoints/mod_sofia/mod_sofia.c	(original)
+++ freeswitch/trunk/src/mod/endpoints/mod_sofia/mod_sofia.c	Fri Jan 18 20:12:48 2008
@@ -1214,6 +1214,10 @@
 				}
 				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);



More information about the Freeswitch-svn mailing list