Hi Michael, thanks for the hint. I was able to remove the attribute in res_pjsip_session.c,
Roland > On 31 May 2019, at 14:45, Michael Maier <m1278...@mailbox.org> wrote: > > On 31.05.19 at 02:25 wrote Learn&Use: >> Hi all, >> I would need to remove the sdp attribute a=setup from INVITE’s going out to >> a SIP trunk ISP. I’m using chan_PJSIP with DTLS media encryption and was >> searching through various source files(res_pjsip_sdp_rtp,...) to make a >> change in the code to prevent that this attribute gets send out. I could not >> spot the correct location so far? I found it in chan_SIP but not chan_PJSIP. >> Would appreciate any hints, > > Did you try ast_sip_session_create_invite() in res/res_pjsip_session.c ? This > works for me to add additional headers. > > > Regards > Michael > > -- > _____________________________________________________________________ > -- 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 -- _____________________________________________________________________ -- 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