compiles and runs and probably chok full o bugs

This commit is contained in:
Anthony Minessale 2012-12-22 22:22:55 -06:00
parent 078d963222
commit e4aead198e
2 changed files with 1 additions and 2 deletions

View File

@ -1086,7 +1086,6 @@ switch_status_t sofia_init(void);
void sofia_glue_fire_events(sofia_profile_t *profile);
void sofia_event_fire(sofia_profile_t *profile, switch_event_t **event);
void sofia_queue_message(sofia_dispatch_event_t *de);
void sofia_media_set_sdp_codec_string(switch_core_session_t *session, const char *r_sdp);
int sofia_glue_check_nat(sofia_profile_t *profile, const char *network_ip);
switch_status_t sofia_glue_ext_address_lookup(sofia_profile_t *profile, char **ip, switch_port_t *port,

View File

@ -5594,7 +5594,7 @@ static void sofia_handle_sip_i_state(switch_core_session_t *session, int status,
switch_channel_set_variable(channel, SWITCH_R_SDP_VARIABLE, r_sdp);
if ((sofia_test_flag(tech_pvt, TFLAG_LATE_NEGOTIATION) || switch_channel_direction(channel) == SWITCH_CALL_DIRECTION_OUTBOUND)) {
sofia_media_set_sdp_codec_string(session, r_sdp);
switch_core_media_set_sdp_codec_string(session, r_sdp);
}
sofia_glue_pass_sdp(tech_pvt, (char *) r_sdp);