PJSIP ACLs: Fix ACLs not loading on startup and apply/acl issues on contact
authorJonathan Rose <jrose@digium.com>
Thu, 20 Nov 2014 16:25:19 +0000 (16:25 +0000)
committerJonathan Rose <jrose@digium.com>
Thu, 20 Nov 2014 16:25:19 +0000 (16:25 +0000)
commit2f97486d43f1945598e4ca4ac8df693aa1fb648b
treefe3f4a3c2ac5e26418894f1d45216314ffba2185
parenta389f2d7a00c5f73e077a11fe5ee1b5a893ad81c
PJSIP ACLs: Fix ACLs not loading on startup and apply/acl issues on contact

The biggest problem this patch fixes is that ACLs weren't previously being
loaded when the res_pjsip_acl module was loaded. Yikes. In addition, the
ACL options contact_permit and contact_acl were effectively interpreted as
contact_deny and this patch fixes that as well.

AST-1418 #close
Reported by: Thomas Thompson
Review: https://reviewboard.asterisk.org/r/4120/

ASTERISK-24531 #close
Reported by: Matt Jordan
Review: https://reviewboard.asterisk.org/r/4171/
........

Merged revisions 428333 from http://svn.asterisk.org/svn/asterisk/branches/12
........

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

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