Fix AMI Redirect ExtraChannel not redirecting to the same exten and context.
authorRichard Mudgett <rmudgett@digium.com>
Fri, 10 Feb 2012 18:08:19 +0000 (18:08 +0000)
committerRichard Mudgett <rmudgett@digium.com>
Fri, 10 Feb 2012 18:08:19 +0000 (18:08 +0000)
commit8af49f158a03de3fd54be592677cce31a9749232
tree9241b6431c81cd95475c9f6c4b96869f803828b2
parenta8cf4dc2b59386d52cbd0a6b51ecb27843b9d982
Fix AMI Redirect ExtraChannel not redirecting to the same exten and context.

The astman_get_header() never returns NULL so the check by the code for
NULL would never fail.

(closes issue ASTERISK-16974)
Reported by: Nuno Borges
Patches:
      0018325.patch (license #6116) patch uploaded by Nuno Borges (modified)
........

Merged revisions 354835 from http://svn.asterisk.org/svn/asterisk/branches/1.8
........

Merged revisions 354836 from http://svn.asterisk.org/svn/asterisk/branches/10

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@354837 65c4cc65-6c06-0410-ace0-fbb531ad65f3
main/manager.c