]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
add early audio message hook.
authorMichael Jerris <mike@jerris.com>
Thu, 8 Jun 2006 15:28:42 +0000 (15:28 +0000)
committerMichael Jerris <mike@jerris.com>
Thu, 8 Jun 2006 15:28:42 +0000 (15:28 +0000)
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@1572 d0543943-73ff-0310-b7d9-9358b9ac24b2

src/mod/endpoints/mod_portaudio/mod_portaudio.c

index 2545e495dba4faa6fa5482ddb61055e890d2b425..bbe6b2ff3e62466fd47c63a3babc34676894a6e6 100644 (file)
@@ -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 = {