mirror of
https://github.com/signalwire/freeswitch.git
synced 2026-07-24 05:02:10 +00:00
FS-4504 vs2010 only - plus mod_sofia fix - anybody want to help with 2008
This commit is contained in:
@@ -138,6 +138,7 @@
|
||||
</ItemDefinitionGroup>
|
||||
<ItemGroup>
|
||||
<ClCompile Include="mod_sofia.c" />
|
||||
<ClCompile Include="rtp.c" />
|
||||
<ClCompile Include="sip-dig.c" />
|
||||
<ClCompile Include="sofia.c" />
|
||||
<ClCompile Include="sofia_glue.c" />
|
||||
|
||||
@@ -96,17 +96,35 @@ static switch_status_t channel_send_dtmf(switch_core_session_t *session, const s
|
||||
static switch_status_t channel_receive_event(switch_core_session_t *session, switch_event_t *event);
|
||||
|
||||
switch_state_handler_table_t crtp_state_handlers = {
|
||||
.on_init = channel_on_init,
|
||||
.on_destroy = channel_on_destroy
|
||||
/*on_init */channel_on_init,
|
||||
/*on_routing */ NULL,
|
||||
/*on_execute */ NULL,
|
||||
/*on_hangup*/ NULL,
|
||||
/*on_exchange_media*/ NULL,
|
||||
/*on_soft_execute*/ NULL,
|
||||
/*on_consume_media*/ NULL,
|
||||
/*on_hibernate*/ NULL,
|
||||
/*on_reset*/ NULL,
|
||||
/*on_park*/ NULL,
|
||||
/*on_reporting*/ NULL,
|
||||
/*on_destroy*/ channel_on_destroy
|
||||
|
||||
};
|
||||
|
||||
switch_io_routines_t crtp_io_routines = {
|
||||
.outgoing_channel = channel_outgoing_channel,
|
||||
.read_frame = channel_read_frame,
|
||||
.write_frame = channel_write_frame,
|
||||
.receive_message = channel_receive_message,
|
||||
.receive_event = channel_receive_event,
|
||||
.send_dtmf = channel_send_dtmf
|
||||
/*outgoing_channel*/ channel_outgoing_channel,
|
||||
/*read_frame*/ channel_read_frame,
|
||||
/*write_frame*/ channel_write_frame,
|
||||
/*kill_channel*/ NULL,
|
||||
/*send_dtmf*/ channel_send_dtmf,
|
||||
/*receive_message*/ channel_receive_message,
|
||||
/*receive_event*/ channel_receive_event,
|
||||
/*state_change*/ NULL,
|
||||
/*read_video_frame*/ NULL,
|
||||
/*write_video_frame*/ NULL,
|
||||
/*state_run*/ NULL,
|
||||
/* resurrect_session*/ NULL
|
||||
|
||||
};
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user