A big oops...
authorOlle Johansson <oej@edvina.net>
Thu, 6 Dec 2007 14:40:44 +0000 (14:40 +0000)
committerOlle Johansson <oej@edvina.net>
Thu, 6 Dec 2007 14:40:44 +0000 (14:40 +0000)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@91388 65c4cc65-6c06-0410-ace0-fbb531ad65f3

apps/app_meetme.c

index f97bbc1..12c392e 100644 (file)
@@ -1891,13 +1891,14 @@ static int conf_run(struct ast_channel *chan, struct ast_conference *conf, int c
                                "Channel: %s\r\n"
                                "Uniqueid: %s\r\n"
                                "Meetme: %s\r\n"
+                               "Usernum: %d\r\n"
                                "CallerIDnum: %s\r\n"
                                "CallerIDname: %s\r\n"
-                               "Duration: %ld\r\n",
                                chan->name, chan->uniqueid, conf->confno, 
-                             user->user_no,
-                             S_OR(user->chan->cid.cid_num, "<unknown>"),
-                             S_OR(user->chan->cid.cid_name, "<unknown>"),
+                               user->user_no,
+                               S_OR(user->chan->cid.cid_num, "<unknown>"),
+                               S_OR(user->chan->cid.cid_name, "<unknown>")
+                               );
                sent_event = 1;
        }
 
@@ -5196,6 +5197,9 @@ static void sla_destroy(void)
                pthread_join(sla.thread, NULL);
        }
 
+       /* Drop any created contexts from the dialplan */
+       ast_context_destroy(NULL, sla_registrar);
+
        ast_mutex_destroy(&sla.lock);
        ast_cond_destroy(&sla.cond);
 }