From a0d6ebd80dd8b3d574e7b51ea01c3c972a01d436 Mon Sep 17 00:00:00 2001 From: Anthony Minessale Date: Thu, 13 Feb 2014 20:45:57 +0500 Subject: [PATCH] FS-6222 --resolve --- src/mod/endpoints/mod_sofia/sofia.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/mod/endpoints/mod_sofia/sofia.c b/src/mod/endpoints/mod_sofia/sofia.c index f10d4ea9db..7cb025c829 100644 --- a/src/mod/endpoints/mod_sofia/sofia.c +++ b/src/mod/endpoints/mod_sofia/sofia.c @@ -6092,7 +6092,10 @@ static void sofia_handle_sip_i_state(switch_core_session_t *session, int status, if (sofia_media_activate_rtp(tech_pvt) != SWITCH_STATUS_SUCCESS) { nua_respond(nh, SIP_488_NOT_ACCEPTABLE, TAG_END()); switch_channel_hangup(channel, SWITCH_CAUSE_INCOMPATIBLE_DESTINATION); + } else{ + switch_channel_mark_pre_answered(channel); } + } else { if (sofia_media_tech_media(tech_pvt, (char *) r_sdp) != SWITCH_STATUS_SUCCESS) { switch_channel_set_variable(channel, SWITCH_ENDPOINT_DISPOSITION_VARIABLE, "CODEC NEGOTIATION ERROR");