Hi all. I wrote aboute this issue some time ago, but as i see in 1.2 version it is the same. So, problem is: when i want to create a SDP for the SRTP session i call transport_encode_sdp() method of the SRTP transport (transport_srtp.c), this method at the end returns a result of the transport_encode_sdp() of the UDP transport (transport_udp.c), but there we see next: [i] if (pj_stricmp(&m_loc->desc.transport, &ID_RTP_AVP) || (m_rem && pj_stricmp(&m_rem->desc.transport, &ID_RTP_AVP))) { pjmedia_sdp_media_deactivate(pool, m_loc); return PJMEDIA_SDP_EINPROTO; } [/i] In this moment we RTP/SAVP transport, not RTP/AVP and, of course, we'll got a wrong deactivated SDP. I resolve it for me by adding check also for the RTP/SAVP - but may be i'm wrong? Best regards and thanks for the great library:) -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.pjsip.org/pipermail/pjsip_lists.pjsip.org/attachments/20090515/9e622156/attachment.html>