]> git.ipfire.org Git - thirdparty/asterisk.git/commit
res_format_attr_g729: Add annexb=no format parameter to SDPs 75/3575/3
authorKevin Harwell <kharwell@digium.com>
Tue, 16 Aug 2016 20:57:24 +0000 (15:57 -0500)
committerKevin Harwell <kharwell@digium.com>
Thu, 18 Aug 2016 22:14:45 +0000 (17:14 -0500)
commitd2bee6b535f84557708dbb725173b8d612b6b71e
treecc4719d99a663a666cbb1b5e3acd51abffa234e6
parentba91710bc4685f1458d9dcfd5b1acea691ac09a6
res_format_attr_g729: Add annexb=no format parameter to SDPs

Historically, Asterisk has always specified annexb=no for the g729 format.
However, when using res_pjsip no format attribute was specified. This patch
makes it so the SDP now contains a format attribute line with annexb=no.

Note, that this means only g729a is negotiated. Even for pass through support.
According to rfc7261 the type of annex used (a or b) is dependent upon the
answerer. However, Asterisk being a back to back user agent makes this tricky
to support at this time, thus we only allow annex 'a' for now.

ASTERISK-26228 #close
patches:
  res_format_attr_g729.c submitted by Jason Parker (license 4993)

Change-Id: I76bc20cc0a01af01536e9915afef319c269c22d0
channels/chan_sip.c
res/res_format_attr_g729.c [new file with mode: 0644]