]> git.ipfire.org Git - thirdparty/asterisk.git/commit
res_format_attr_g729: Add annexb=no format parameter to SDPs 74/3574/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:15:04 +0000 (17:15 -0500)
commit43f400ef95e761bc9f58dfc2f44e8b36534e6ae1
tree0b4fea1619542034f112b1b05b051ca548741943
parent455bc789013a5f79ff37d68be4b3847173ecaca7
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]