]> 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)
committerKevin Harwell <kharwell@digium.com>
Mon, 22 Jun 2020 20:33:04 +0000 (15:33 -0500)
commit8b925fbda3776a9533b4077e059a6fa1565f12ba
tree3e0b9185a3786b9c8d6e8ddc95a74e2390764337
parent0c1c386634530ad6216058627f8ea70ff3e74b3e
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