]> git.ipfire.org Git - thirdparty/asterisk.git/commit
res_format_attr_g729: Add annexb=no format parameter to SDPs 76/3576/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:04 +0000 (17:14 -0500)
commit53a2f7dc88037152de88d016051ea1166323ed02
tree1127737638140d0858811e8bfee791bfaf9117c0
parent57f4e4428a830c89436bf5025ca815a4e35776ac
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]