]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
fixing cli issue
authorroot <root@mtt2.netborder.lan>
Tue, 7 Aug 2012 10:02:58 +0000 (06:02 -0400)
committerroot <root@mtt2.netborder.lan>
Tue, 7 Aug 2012 10:02:58 +0000 (06:02 -0400)
src/mod/endpoints/mod_media_gateway/media_gateway_cli.c

index a714c6bd158b204401cf752ccc87aa806ab80db9..4fe1876277e3f4004340c62baff6477056f19f59 100644 (file)
@@ -696,7 +696,7 @@ switch_status_t handle_term_status_cli_cmd(switch_stream_handle_t *stream, megac
 
        stream->write_function(stream, "Associated MG Profile Name [%s] \n",term->profile->name);
        stream->write_function(stream, "MEGACO Termination Name[%s] \n",(NULL != term->name)?term->name:"NULL");
-       stream->write_function(stream, "MEGACO Termination Type[%s] \n",(MG_TERM_RTP != term->type)?"MG_TERM_RTP":"MG_TERM_TDM");
+       stream->write_function(stream, "MEGACO Termination Type[%s] \n",(MG_TERM_RTP == term->type)?"MG_TERM_RTP":"MG_TERM_TDM");
        stream->write_function(stream, "Termination UUID[%s] \n",(NULL != term->uuid)?term->uuid:"Term Not Activated");
        if(term->context){
                stream->write_function(stream, "Associated Context-Id[%d] \n",term->context->context_id);