From 9ef68f1b910c88896d4eef6b7a01ac5752c2bf50 Mon Sep 17 00:00:00 2001 From: Mathieu Rene Date: Wed, 15 Aug 2012 11:30:12 -0400 Subject: [PATCH] return the right status in megaco_activate_termination() --- src/mod/endpoints/mod_media_gateway/media_gateway.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/mod/endpoints/mod_media_gateway/media_gateway.c b/src/mod/endpoints/mod_media_gateway/media_gateway.c index 0eca234419..2d32568f6c 100644 --- a/src/mod/endpoints/mod_media_gateway/media_gateway.c +++ b/src/mod/endpoints/mod_media_gateway/media_gateway.c @@ -203,7 +203,7 @@ done: } switch_event_destroy(&var_event); - return SWITCH_STATUS_SUCCESS; + return status; } switch_status_t megaco_prepare_tdm_termination(mg_termination_t *term)