]> git.ipfire.org Git - thirdparty/asterisk.git/commit
res_rtp_asterisk: make it possible to remove SOFTWARE attribute
authorJeremy Lainé <jeremy.laine@m4x.org>
Wed, 19 May 2021 18:13:36 +0000 (20:13 +0200)
committerFriendly Automation <jenkins2@gerrit.asterisk.org>
Mon, 24 May 2021 13:20:48 +0000 (08:20 -0500)
commit0cd5d5150a996721cca097af8cd6d9b1e2dcb01a
treeb432b2b09617b3982b126ceafc3d0247f7ba13a3
parent7c0b8f070185ec2e91060e32d7211a691dc9fc38
res_rtp_asterisk: make it possible to remove SOFTWARE attribute

By default Asterisk reports the PJSIP version in a SOFTWARE attribute
of every STUN packet it sends. This may not be desired in a production
environment, and RFC5389 recommends making the use of the SOFTWARE
attribute a configurable option:

https://datatracker.ietf.org/doc/html/rfc5389#section-16.1.2

This patch adds a `stun_software_attribute` yes/no option to make it
possible to omit the SOFTWARE attribute from STUN packets.

ASTERISK-29434

Change-Id: Id3f2b1dd9584536ebb3a1d7e8395fd8b3e46860b
configs/samples/rtp.conf.sample
doc/CHANGES-staging/res_rtp_asterisk_stun_software_attribute.txt [new file with mode: 0644]
res/res_rtp_asterisk.c