[asterisk-commits] oej: trunk r91387 - /trunk/apps/app_meetme.c
SVN commits to the Asterisk project
asterisk-commits at lists.digium.com
Thu Dec 6 08:36:54 CST 2007
Author: oej
Date: Thu Dec 6 08:36:54 2007
New Revision: 91387
URL: http://svn.digium.com/view/asterisk?view=rev&rev=91387
Log:
The MeetmeJoin now has caller ID name and Caller ID number fields (like MeetMeLeave)
(Moremanager)
Modified:
trunk/apps/app_meetme.c
Modified: trunk/apps/app_meetme.c
URL: http://svn.digium.com/view/asterisk/trunk/apps/app_meetme.c?view=diff&rev=91387&r1=91386&r2=91387
==============================================================================
--- trunk/apps/app_meetme.c (original)
+++ trunk/apps/app_meetme.c Thu Dec 6 08:36:54 2007
@@ -1888,11 +1888,16 @@
if (!sent_event) {
manager_event(EVENT_FLAG_CALL, "MeetmeJoin",
- "Channel: %s\r\n"
- "Uniqueid: %s\r\n"
- "Meetme: %s\r\n"
- "Usernum: %d\r\n",
- chan->name, chan->uniqueid, conf->confno, user->user_no);
+ "Channel: %s\r\n"
+ "Uniqueid: %s\r\n"
+ "Meetme: %s\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>"),
sent_event = 1;
}
@@ -5191,9 +5196,6 @@
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);
}
More information about the asterisk-commits
mailing list