res_pjsip_sdp_rtp: Add support for optimistic SRTP.
authorJoshua Colp <jcolp@digium.com>
Wed, 19 Nov 2014 12:50:47 +0000 (12:50 +0000)
committerJoshua Colp <jcolp@digium.com>
Wed, 19 Nov 2014 12:50:47 +0000 (12:50 +0000)
commit7f8b7ace724e8c67e161763b721afbb605166f0e
tree337c1eb38fcd2174f08edb73e7efc71fa239b141
parentb2e766a6b7528224798776742cd3c22af224c862
res_pjsip_sdp_rtp: Add support for optimistic SRTP.

Optimistic SRTP is the ability to enable SRTP but not have it be
a fatal requirement. If SRTP can be used it will be, if not it won't be.
This gives you a better chance of using it without having your sessions
fail when it can't be.

Encrypt all the things!

Review: https://reviewboard.asterisk.org/r/3992/
........

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

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@428224 65c4cc65-6c06-0410-ace0-fbb531ad65f3
CHANGES
configs/samples/pjsip.conf.sample
contrib/ast-db-manage/config/versions/945b1098bdd_add_media_encryption_optimistic_to_pjsip.py [new file with mode: 0644]
include/asterisk/res_pjsip.h
include/asterisk/res_pjsip_session.h
res/res_pjsip.c
res/res_pjsip/pjsip_configuration.c
res/res_pjsip_sdp_rtp.c
res/res_pjsip_session.c