]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
save the uuid
authorMathieu Rene <mrene@avgs.ca>
Thu, 26 Jul 2012 01:04:15 +0000 (21:04 -0400)
committerMathieu Rene <mrene@avgs.ca>
Thu, 26 Jul 2012 01:04:15 +0000 (21:04 -0400)
src/mod/endpoints/mod_media_gateway/media_gateway.c

index 3ed79ab36ad1d8770423ed402a6ca581fb00f72f..9805548b6f90fd689bcabc1866e764768512c6e4 100644 (file)
@@ -140,6 +140,7 @@ switch_status_t megaco_activate_termination(mg_termination_t *term)
             goto done;
         }
         
+        term->uuid = switch_core_strdup(term->pool, switch_core_session_get_uuid(session));
         switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_INFO, "Termination [%s] successfully instanciated as [%s] [%s]\n", term->name, dialstring, switch_core_session_get_uuid(session));   
     }