}
if (switch_channel_up(session->channel)) {
-
+ switch_channel_set_variable(session->channel, "rtp_use_timer_name", timer_name);
+
a_engine->rtp_session = switch_rtp_new(a_engine->local_sdp_ip,
a_engine->local_sdp_port,
a_engine->cur_payload_map->remote_sdp_ip,
smh->mparams->remote_sdp_str = switch_core_session_strdup(session, tmp);
}
+ if ((tmp = switch_channel_get_variable(session->channel, "rtp_use_timer_name"))) {
+ smh->mparams->timer_name = switch_core_session_strdup(session, tmp);
+ }
if ((tmp = switch_channel_get_variable(session->channel, "rtp_last_audio_codec_string"))) {
const char *vtmp = switch_channel_get_variable(session->channel, "rtp_last_video_codec_string");