]> git.ipfire.org Git - thirdparty/asterisk.git/commit
res_pjsip_exten_state: Check if body generator is available. 32/2732/1
authorRichard Mudgett <rmudgett@digium.com>
Tue, 26 Apr 2016 21:10:26 +0000 (16:10 -0500)
committerRichard Mudgett <rmudgett@digium.com>
Thu, 28 Apr 2016 22:14:44 +0000 (17:14 -0500)
commit0b5292525cce32e9944b02b17748c4c7ec89ede3
tree8023167a88d5b5159ba7c05a497d0c07b20f989c
parent057ed94048b591a74322bbdb152e65f567091518
res_pjsip_exten_state: Check if body generator is available.

When starting the extension state publishers, check if the requested
message body generator is available.  If not available give error message
and skip starting that publisher.

* res_pjsip_pubsub.c: Create new API if type/subtype generator
registered.

* res_pjsip_exten_state.c: Use new body generator API for validation.

ASTERISK-25922

Change-Id: I4ad69200666e3cc909d4619e3c81042d7f9db25c
include/asterisk/res_pjsip_pubsub.h
res/res_pjsip_exten_state.c
res/res_pjsip_pubsub.c