]> git.ipfire.org Git - thirdparty/asterisk.git/commit
res_pjsip: Ignore empty TLS configuration
authorSean Bright <sean.bright@gmail.com>
Mon, 6 Nov 2017 14:05:56 +0000 (09:05 -0500)
committerSean Bright <sean.bright@gmail.com>
Mon, 6 Nov 2017 14:15:10 +0000 (09:15 -0500)
commit250c173cfb467e751ce545d321b1a6d06df829b2
treeba82864801c44108b799597a3c6c02968d076876
parent6e34cf6af7efd6810c46798a05f52d1e7405e67a
res_pjsip: Ignore empty TLS configuration

When using realtime, fields that are not explicitly set by an
administrator are still presented to sorcery as empty strings. Handle
this case explicitly.

In this particular case, if any of these fields are required for TLS
support, their existence should be validated in the 'apply' handler once
we have a complete transport definition.

ASTERISK-27032 #close
Reported by: seanchann.zhou

Change-Id: Ie3b5fb421977ccdb33e415d4ec52c3fd192601b7
res/res_pjsip/config_transport.c