From: Michael Jerris Date: Thu, 8 Jun 2006 15:28:42 +0000 (+0000) Subject: add early audio message hook. X-Git-Tag: v1.0-beta1~2604 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7ac4e54ef9e7d3e10c35a6ff6fee155941573647;p=thirdparty%2Ffreeswitch.git add early audio message hook. git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@1572 d0543943-73ff-0310-b7d9-9358b9ac24b2 --- diff --git a/src/mod/endpoints/mod_portaudio/mod_portaudio.c b/src/mod/endpoints/mod_portaudio/mod_portaudio.c index 2545e495db..bbe6b2ff3e 100644 --- a/src/mod/endpoints/mod_portaudio/mod_portaudio.c +++ b/src/mod/endpoints/mod_portaudio/mod_portaudio.c @@ -430,6 +430,7 @@ static switch_status_t channel_receive_message(switch_core_session_t *session, s default: break; } + return SWITCH_STATUS_SUCCESS; } @@ -485,7 +486,8 @@ static const switch_io_routines_t channel_io_routines = { /*.kill_channel */ channel_kill_channel, /*.waitfor_read */ channel_waitfor_read, /*.waitfor_write */ channel_waitfor_write, - /*.send_dtmf */ channel_send_dtmf + /*.send_dtmf */ channel_send_dtmf, + /*.receive_message*/ channel_receive_message }; static const switch_endpoint_interface_t channel_endpoint_interface = {