What do you mean? I already call a transport_create method before i encode sdp, in other case i could not to create sdp based on transport and of course encode it. Or dou mean some thing else? Look, as i previous wrote: status = pjmedia_transport_srtp_create(med_endpt, udp_transport, &srtp_settings, &srtp_transport); and after it i call create_sdp method and after i call status = pjmedia_transport_encode_sdp(srtp_transport, dialog->pool, sdp, NULL, media_index); -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.pjsip.org/pipermail/pjsip_lists.pjsip.org/attachments/20090519/d951bd9f/attachment.html>