]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
add header to portaudio
authorAnthony Minessale <anthony.minessale@gmail.com>
Thu, 29 Jun 2006 13:48:52 +0000 (13:48 +0000)
committerAnthony Minessale <anthony.minessale@gmail.com>
Thu, 29 Jun 2006 13:48:52 +0000 (13:48 +0000)
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@1705 d0543943-73ff-0310-b7d9-9358b9ac24b2

src/mod/endpoints/mod_portaudio/mod_portaudio.c

index a2faff18bd238627a12dc27adab96b3c71377851..3d35538e8381bc34a22bb14a664b1aeb34c6d451 100644 (file)
@@ -163,6 +163,7 @@ static switch_status_t channel_on_init(switch_core_session_t *session)
 
                                if (switch_event_create_subclass(&event, SWITCH_EVENT_CUSTOM, MY_EVENT_RINGING) == SWITCH_STATUS_SUCCESS) {
                                        switch_event_add_header(event, SWITCH_STACK_BOTTOM, "event_info", buf);
+                                       switch_event_add_header(event, SWITCH_STACK_BOTTOM, "call_id", tech_pvt->call_id);
                                        switch_channel_event_set_data(channel, event);
                                        switch_event_fire(&event);
                                }