[Freeswitch-svn] [commit] r1571 - freeswitch/trunk/src/mod/endpoints/mod_portaudio
anthm at freeswitch.org
anthm at freeswitch.org
Thu Jun 8 11:20:46 EDT 2006
Author: anthm
Date: Thu Jun 8 11:20:46 2006
New Revision: 1571
Modified:
freeswitch/trunk/src/mod/endpoints/mod_portaudio/mod_portaudio.c
Log:
yep
Modified: freeswitch/trunk/src/mod/endpoints/mod_portaudio/mod_portaudio.c
==============================================================================
--- freeswitch/trunk/src/mod/endpoints/mod_portaudio/mod_portaudio.c (original)
+++ freeswitch/trunk/src/mod/endpoints/mod_portaudio/mod_portaudio.c Thu Jun 8 11:20:46 2006
@@ -409,6 +409,29 @@
return SWITCH_STATUS_SUCCESS;
}
+static switch_status_t channel_receive_message(switch_core_session_t *session, switch_core_session_message_t *msg)
+{
+ switch_channel_t *channel;
+ struct private_object *tech_pvt;
+
+ channel = switch_core_session_get_channel(session);
+ assert(channel != NULL);
+
+ tech_pvt = switch_core_session_get_private(session);
+ assert(tech_pvt != NULL);
+
+
+ switch (msg->message_id) {
+ case SWITCH_MESSAGE_INDICATE_PROGRESS:
+ {
+ switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_DEBUG, "Engage Early Media\n");
+ switch_set_flag(tech_pvt, TFLAG_IO);
+ }
+ default:
+ break;
+ }
+}
+
static switch_api_interface_t send_dtmf_interface = {
/*.interface_name */ "padtmf",
More information about the Freeswitch-svn
mailing list