ARI: Fix a bug where /channels/{channelID}/continue doesn't execute PBX
authorJonathan Rose <jrose@digium.com>
Tue, 19 Aug 2014 16:36:30 +0000 (16:36 +0000)
committerJonathan Rose <jrose@digium.com>
Tue, 19 Aug 2014 16:36:30 +0000 (16:36 +0000)
commit222b5cd0362e5b8388e0a68c70c3ecb7fd970d80
tree2657f9cd2c5d7a6296e61e3d3059ed730b16782c
parent83a9b91da9baff92324aa04c14c54af92f0cde90
ARI: Fix a bug where /channels/{channelID}/continue doesn't execute PBX

If /channels/{channelID}/continue is called on a channel that was originated
without a PBX (such as the ARI command POST channel with a stasis application
argument), the channel will not start dialplan execution. This patch will now
run the PBX out of the stasis execution if the channel doesn't currently have
an active PBX upon continuing.

ASTERISK-24043 #close
Reported by: Krandon Bruse
Review: https://reviewboard.asterisk.org/r/3917/
Patches:
    stasis-continue.diff submitted by Krandon Bruse (license 6631)
........

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

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

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@421424 65c4cc65-6c06-0410-ace0-fbb531ad65f3
res/res_stasis.c