]> git.ipfire.org Git - thirdparty/asterisk.git/commit
chan_pjsip: don't use PJSIP_SC_NULL as it only exists pjproject 2.8+
authorKevin Harwell <kharwell@digium.com>
Mon, 22 Jun 2020 20:27:32 +0000 (15:27 -0500)
committerGeorge Joseph <gjoseph@digium.com>
Thu, 25 Jun 2020 14:48:33 +0000 (09:48 -0500)
commitd62a5b5be945310f53b225e36c272d1213693e19
tree1b2a525b6935432b01568311216301e0070d696d
parent1dabc61bb57fb43f720a7c0105f1a87466c99e27
chan_pjsip: don't use PJSIP_SC_NULL as it only exists pjproject 2.8+

A patch made a reference to the PJSIP_SC_NULL enumeration value, which
was added to pjproject 2.8 and above thus making it so Asterisk would
fail to compile with prior versions of pjproject.

This patch removes the reference, and instead initializes the value
to '0'.

ASTERISK-28886 #close

Change-Id: I68491c80da1a0154b2286c9458440141c98db9d7
channels/chan_pjsip.c