In the function res_pjsip_sdp_rtp:setup_sdes_srtp(.), an upcoming patch of mine needs to determine whether that code processes an SDP answer or an SDP offer. Is there (somewhere) a flag or condition which I can check?
In chan_sip, I can use AST_LIST_EMPTY(sip_pvt->offered_media). Does a similar trick work with via the struct pjmedia_sdp_media? -- _____________________________________________________________________ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- asterisk-dev mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-dev