Remove the need for AST_PBX_KEEPALIVE with the GoSub option from Dial.
authorRussell Bryant <russell@russellbryant.com>
Thu, 18 Dec 2008 19:33:42 +0000 (19:33 +0000)
committerRussell Bryant <russell@russellbryant.com>
Thu, 18 Dec 2008 19:33:42 +0000 (19:33 +0000)
commit50a25ac8474d7900ba59a68ed4fd942074082435
tree8df8a6f08733bc20953ce3dbc4125ecb520e35b3
parent8cc50d467719c2031df5ed52f33798f9ce5487be
Remove the need for AST_PBX_KEEPALIVE with the GoSub option from Dial.

This is part of an effort to completely remove AST_PBX_KEEPALIVE and other
similar return codes from the source.  While this usage was perfectly safe,
there are others that are problematic.  Since we know ahead of time that
we do not want to PBX to destroy the channel, the PBX API has been changed
so that information can be provided as an argument, instead, thus removing
the need for the KEEPALIVE return value.

Further changes to get rid of KEEPALIVE and related code is being done by
murf.  There is a patch up for that on review 29.

Review: http://reviewboard.digium.com/r/98/

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@165723 65c4cc65-6c06-0410-ace0-fbb531ad65f3
apps/app_dial.c
include/asterisk/pbx.h
main/pbx.c