]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
mod_sofia: display the profile name on sofia xmlstatus gateway xxx
authorMathieu Rene <mrene@avgs.ca>
Sat, 15 Aug 2009 03:32:14 +0000 (03:32 +0000)
committerMathieu Rene <mrene@avgs.ca>
Sat, 15 Aug 2009 03:32:14 +0000 (03:32 +0000)
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@14527 d0543943-73ff-0310-b7d9-9358b9ac24b2

src/mod/endpoints/mod_sofia/mod_sofia.c

index 36f717280cdba7fc651d50d31e19eaa0f92b5598..b4e5078ecb77c3896460314dc9485221abdd992c 100644 (file)
@@ -1885,6 +1885,7 @@ static switch_status_t cmd_xml_status(char **argv, int argc, switch_stream_handl
                                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));