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

FreeSWITCH SVN brian at freeswitch.org
Fri Apr 24 15:49:35 PDT 2009


Author: brian
Date: Fri Apr 24 17:49:35 2009
New Revision: 13141

Log:
MODENDP-214 thanks david, hope to see you at cluecon

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

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 Apr 24 17:49:35 2009
@@ -1871,10 +1871,10 @@
 					stream->write_function(stream, "    <stun-enabled>%s</stun-enabled>\n", sofia_test_pflag(profile, PFLAG_STUN_ENABLED) ? "true" : "false");
 					stream->write_function(stream, "    <stun-auto-disable>%s</stun-auto-disable>\n", 
 										   sofia_test_pflag(profile, PFLAG_STUN_AUTO_DISABLE) ? "true" : "false");
-					stream->write_function(stream, "    <calls-in>%s</calls-in>\n", profile->ib_calls);
-					stream->write_function(stream, "    <calls-out>%s</calls-out>\n", profile->ob_calls);
-					stream->write_function(stream, "    <failed-calls-in>%s</failed-calls-in>\n", profile->ib_failed_calls);
-					stream->write_function(stream, "    <failed-calls-out>%s</failed-calls-out>\n", profile->ob_failed_calls);
+					stream->write_function(stream, "    <calls-in>%d</calls-in>\n", profile->ib_calls);
+					stream->write_function(stream, "    <calls-out>%d</calls-out>\n", profile->ob_calls);
+					stream->write_function(stream, "    <failed-calls-in>%d</failed-calls-in>\n", profile->ib_failed_calls);
+					stream->write_function(stream, "    <failed-calls-out>%d</failed-calls-out>\n", profile->ob_failed_calls);
 
 				}
 				stream->write_function(stream, "  </profile-info>\n");



More information about the Freeswitch-svn mailing list