]> 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)
committerJeremy Lainé <jeremy.laine@m4x.org>
Fri, 21 May 2021 15:36:38 +0000 (10:36 -0500)
commit0f8e2174a7d9a20c081fecd31acbd77168fa5c22
treef038858049619a9c8e865bcc41ea38a82191f1a1
parent655ee680cdef5f7f2d9472f5a608064b3be3523d
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