Revision
14527
Author
mrene
Date
2009-08-14 22:32:14 -0500 (Fri, 14 Aug 2009)

Log Message

mod_sofia: display the profile name on sofia xmlstatus gateway xxx

Modified Paths

Diff

Modified: freeswitch/trunk/src/mod/endpoints/mod_sofia/mod_sofia.c (14526 => 14527)


--- freeswitch/trunk/src/mod/endpoints/mod_sofia/mod_sofia.c	2009-08-15 03:18:18 UTC (rev 14526)
+++ freeswitch/trunk/src/mod/endpoints/mod_sofia/mod_sofia.c	2009-08-15 03:32:14 UTC (rev 14527)
@@ -1885,6 +1885,7 @@
 				stream->write_function(stream, "%s\n", header);
 				stream->write_function(stream, "  <gateway>\n");
 				stream->write_function(stream, "    <name>%s</name>\n", switch_str_nil(gp->name));
+				stream->write_function(stream, "    <profile>%s</profile>\n", gp->profile->name);
 				stream->write_function(stream, "    <scheme>%s</scheme>\n", switch_str_nil(gp->register_scheme));
 				stream->write_function(stream, "    <realm>%s</realm>\n", switch_str_nil(gp->register_realm));
 				stream->write_function(stream, "    <username>%s</username>\n", switch_str_nil(gp->register_username));