From: Mathieu Rene Date: Fri, 14 Aug 2009 19:31:00 +0000 (+0000) Subject: mod_sofia: display the profile name on sofia status gateway xxx X-Git-Tag: v1.0.6~2054 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0e67168c45a26999443fc200623dd0745073f9da;p=thirdparty%2Ffreeswitch.git mod_sofia: display the profile name on sofia status gateway xxx git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@14520 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 9cc61b5f10..36f717280c 100644 --- a/src/mod/endpoints/mod_sofia/mod_sofia.c +++ b/src/mod/endpoints/mod_sofia/mod_sofia.c @@ -1688,6 +1688,7 @@ static switch_status_t cmd_status(char **argv, int argc, switch_stream_handle_t stream->write_function(stream, "%s\n", line); stream->write_function(stream, "Name \t%s\n", switch_str_nil(gp->name)); + stream->write_function(stream, "Profile \t%s\n", gp->profile->name); stream->write_function(stream, "Scheme \t%s\n", switch_str_nil(gp->register_scheme)); stream->write_function(stream, "Realm \t%s\n", switch_str_nil(gp->register_realm)); stream->write_function(stream, "Username\t%s\n", switch_str_nil(gp->register_username));