Allow for redirecting reasons to be set to arbitrary strings.
authorMark Michelson <mmichelson@digium.com>
Tue, 25 Sep 2012 19:29:14 +0000 (19:29 +0000)
committerMark Michelson <mmichelson@digium.com>
Tue, 25 Sep 2012 19:29:14 +0000 (19:29 +0000)
commitfdfb3ae5faac680bf939eea1312919bee14db76f
tree75907425ac9b850412fae5bc7b7e6d89e1aa19e1
parentb7233b18ebd9ce2f8f4bad1309fbe33edaf44e44
Allow for redirecting reasons to be set to arbitrary strings.

This allows for the REDIRECTING dialplan function to be
used to set the reason to any string.

The SIP channel driver has been modified to set the redirecting
reason string to the value received in a Diversion header. In
addition, SIP 480 response reason text will set the redirecting
reason as well.

(closes issue AST-942)
reported by Malcolm Davenport

(closes issue AST-943)
reported by Malcolm Davenport

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

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@373701 65c4cc65-6c06-0410-ace0-fbb531ad65f3
CHANGES
channels/chan_misdn.c
channels/chan_sip.c
channels/sig_pri.c
funcs/func_callerid.c
include/asterisk/callerid.h
include/asterisk/channel.h
main/callerid.c
main/channel.c