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

src/mod/endpoints/mod_sofia/mod_sofia.c

index 9cc61b5f10402238792d0e5e796a1b3ce9a18b8b..36f717280cdba7fc651d50d31e19eaa0f92b5598 100644 (file)
@@ -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));