From: Michael Jerris Date: Sun, 5 Nov 2006 19:32:32 +0000 (+0000) Subject: add missing Member-ID header to a couple events, merged from knhor's branch. X-Git-Tag: v1.0-beta1~1788 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=e7dae8a9d98b4820730036f713f9bb6bb8a15a91;p=thirdparty%2Ffreeswitch.git add missing Member-ID header to a couple events, merged from knhor's branch. git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3267 d0543943-73ff-0310-b7d9-9358b9ac24b2 --- diff --git a/src/mod/applications/mod_conference/mod_conference.c b/src/mod/applications/mod_conference/mod_conference.c index ef64144681..9b9b14f2ed 100644 --- a/src/mod/applications/mod_conference/mod_conference.c +++ b/src/mod/applications/mod_conference/mod_conference.c @@ -403,6 +403,7 @@ static switch_status_t conference_add_member(conference_obj_t *conference, confe switch_channel_event_set_data(channel, event); switch_event_add_header(event, SWITCH_STACK_BOTTOM, "Conference-Name", conference->name); + switch_event_add_header(event, SWITCH_STACK_BOTTOM, "Member-ID", "%u", member->id); switch_event_add_header(event, SWITCH_STACK_BOTTOM, "Action", "add-member"); switch_event_fire(&event); } @@ -471,6 +472,7 @@ static void conference_del_member(conference_obj_t *conference, conference_membe switch_channel_event_set_data(channel, event); switch_event_add_header(event, SWITCH_STACK_BOTTOM, "Conference-Name", conference->name); + switch_event_add_header(event, SWITCH_STACK_BOTTOM, "Member-ID", "%u", member->id); switch_event_add_header(event, SWITCH_STACK_BOTTOM, "Action", "del-member"); switch_event_fire(&event); }