[asterisk-dev] [Code Review] 3960: res_pjsip_pubsub: Check supported headers for eventlist before allowing subscribe to resource list

Jonathan Rose reviewboard at asterisk.org
Thu Aug 28 16:59:59 CDT 2014

This is an automatically generated e-mail. To reply, visit:

Review request for Asterisk Developers and Mark Michelson.

Bugs: ASTERISK-23871

Repository: Asterisk



According to the off-nominal plan, if eventlist support is indicated in a subscribe's Supported header(s), subscriptions to a resource list should fail with a 421 extension not supported. This wasn't currently happening since the Supported header isn't actually checked by anything in the res_pjsip_pubsub code, so this patch adds a check for it.


  /branches/13/res/res_pjsip_pubsub.c 422272 

Diff: https://reviewboard.asterisk.org/r/3960/diff/


Ran nominal RLS tests, ran in development off-nominal RLS tests, and ran Presence and MWI PJSIP subscription tests to confirm that they didn't break.


Jonathan Rose

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-dev/attachments/20140828/6bbbc472/attachment.html>

More information about the asterisk-dev mailing list