res_pjsip_pubsub: Check supported headers for eventlist when subscribing to
authorJonathan Rose <jrose@digium.com>
Mon, 8 Sep 2014 15:58:24 +0000 (15:58 +0000)
committerJonathan Rose <jrose@digium.com>
Mon, 8 Sep 2014 15:58:24 +0000 (15:58 +0000)
commitef5f7a0e329176ad27e55da3da848bb50d85094a
treeb9427fae303861e1fb3fea72d820855eda61816f
parent71acca4de27a47bd71f0350562aaa1b7b10a7552
res_pjsip_pubsub: Check supported headers for eventlist when subscribing to
resource list

https://wiki.asterisk.org/wiki/display/AST/Resource+List+Subscription+Test+Plan
According to the off-nominal plan, if evenlist support is not specified in a
SUBSCRIBE's supported header(s), that subscription should be rejected with an
error.

ASTERISK-23871
Reported by: Mark Michelson
Review: https://reviewboard.asterisk.org/r/3960/diff/#index_header
........

Merged revisions 422836 from http://svn.asterisk.org/svn/asterisk/branches/13

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@422837 65c4cc65-6c06-0410-ace0-fbb531ad65f3
res/res_pjsip_pubsub.c