pjsip: Add rtp_timeout and rtp_timeout_hold endpoint options.
[asterisk/asterisk.git] / res / res_pjsip_session.c
index eff8bbb..4544671 100644 (file)
@@ -1221,6 +1221,7 @@ static int add_session_media(void *obj, void *arg, int flags)
        }
        session_media->encryption = session->endpoint->media.rtp.encryption;
        session_media->keepalive_sched_id = -1;
+       session_media->timeout_sched_id = -1;
        /* Safe use of strcpy */
        strcpy(session_media->stream_type, handler_list->stream_type);
        ao2_link(session->media, session_media);