From: Mathieu Rene Date: Sat, 15 Aug 2009 03:32:14 +0000 (+0000) Subject: mod_sofia: display the profile name on sofia xmlstatus gateway xxx X-Git-Tag: v1.0.6~2052 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ae0bf2cd23b276919b726aba95f81ea57f8bfea3;p=thirdparty%2Ffreeswitch.git mod_sofia: display the profile name on sofia xmlstatus gateway xxx git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@14527 d0543943-73ff-0310-b7d9-9358b9ac24b2 --- diff --git a/src/mod/endpoints/mod_sofia/mod_sofia.c b/src/mod/endpoints/mod_sofia/mod_sofia.c index 36f717280c..b4e5078ecb 100644 --- a/src/mod/endpoints/mod_sofia/mod_sofia.c +++ b/src/mod/endpoints/mod_sofia/mod_sofia.c @@ -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, " \n"); stream->write_function(stream, " %s\n", switch_str_nil(gp->name)); + stream->write_function(stream, " %s\n", gp->profile->name); stream->write_function(stream, " %s\n", switch_str_nil(gp->register_scheme)); stream->write_function(stream, " %s\n", switch_str_nil(gp->register_realm)); stream->write_function(stream, " %s\n", switch_str_nil(gp->register_username));