[asterisk-dev] Remove sdp attribute

Joshua C. Colp jcolp at digium.com
Fri May 31 04:37:35 CDT 2019

On Thu, May 30, 2019, at 9:25 PM, Learn&Use wrote:
> 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,

It is done in the SDP code in res_pjsip_sdp_rtp.c. Why do you need it removed in the first place? 

Joshua C. Colp
Digium - A Sangoma Company | Senior Software Developer
445 Jan Davis Drive NW - Huntsville, AL 35806 - US
Check us out at: www.digium.com & www.asterisk.org

More information about the asterisk-dev mailing list