manager: Originate doesn't abort on failed format_cap allocation
authorKevin Harwell <kharwell@digium.com>
Thu, 16 Jan 2014 19:54:04 +0000 (19:54 +0000)
committerKevin Harwell <kharwell@digium.com>
Thu, 16 Jan 2014 19:54:04 +0000 (19:54 +0000)
commit7054e12ef2666a22752758cbc73f21f877f66ab0
tree996cccf40bfa2f25eab6fc17aada285145d3b1f9
parentfc241d6f52f82f65a9ba99c1fae00be89834fa02
manager: Originate doesn't abort on failed format_cap allocation

action_originate responds to the remote system with an error when cap==NULL,
but doesn't return (abort the originate).  Patched to return.

(closes issue ASTERISK-23034)
Reported by: Corey Farrell
Patches:
     ASTERISK-23034.patch uploaded by coreyfarrell (license 5909)
........

Merged revisions 405745 from http://svn.asterisk.org/svn/asterisk/branches/11
........

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

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