[asterisk-dev] Remove sdp attribute

Michael Maier m1278468 at mailbox.org
Fri May 31 01:45:46 CDT 2019

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.


More information about the asterisk-dev mailing list