Hi all, I have a next schema in my project: 1) I create UDP transport with the pjmedia_transport_udp_create2() 2) I create SRTP transport with pjmedia_transport_srtp_create() based on the UDP transport 3) When i got a call from eyebeam i create a local sdp, get the remote sdp and try to encode local sdp for SRTP using with pjmedia_transport_encode_sdp() function. In this place i have a correct (i mean) local sdp, but method return PJMEDIA_SDP_EINPROTO error code, as i saw in transport_udp.c it's because it checks for the RTP/AVP transport type, not RTP/SAVP as it needs for SRTP 4) i attach my callbacks for the RTP/RTCP to the UDP transport created in step 1) with pjmedia_transport_attach() 5) i started SRTP transport with pjmedia_transport_media_start() (params - local_sdp and remote_sdp i got in previous steps) Question is - why callbacks didn't work in this scheme? May be i'm doing something wrong? Very good for this would be if we'll have a sample for SRTP transport using Best regards. -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.pjsip.org/pipermail/pjsip_lists.pjsip.org/attachments/20090422/4d99c494/attachment.html>