res_pjsip_session: Add configurable behavior for redirects.
authorJoshua Colp <jcolp@digium.com>
Thu, 28 Nov 2013 00:38:36 +0000 (00:38 +0000)
committerJoshua Colp <jcolp@digium.com>
Thu, 28 Nov 2013 00:38:36 +0000 (00:38 +0000)
commita64cd7c6bbd8bc54dd68cb54447dabd37bfe2437
treee9f46c79cf1df3ea63fcbdbb3e036b6b1f19d61a
parent48c2b40ff3bbdd9b00012f6d62775bd104a82604
res_pjsip_session: Add configurable behavior for redirects.

The action taken when a redirect occurs is now configurable on a
per-endpoint basis. The redirect can either be treated as a redirect
to a local extension, to a URI that is dialed through the Asterisk
core, or to a URI that is dialed within PJSIP itself.

(closes issue ASTERISK-21710)
Reported by: Matt Jordan

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

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

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@403208 65c4cc65-6c06-0410-ace0-fbb531ad65f3
include/asterisk/res_pjsip.h
res/res_pjsip.c
res/res_pjsip/pjsip_configuration.c
res/res_pjsip_session.c