Revert the pre-dial addition.

The code may be just fine, but it had not received a "ship it!" on
review board yet.



git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@359857 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
Mark Michelson
2012-03-16 15:38:45 +00:00
parent 9ac6938e09
commit 827f2eae92
4 changed files with 19 additions and 328 deletions

View File

@@ -331,8 +331,6 @@ struct ast_pbx_args {
struct {
/*! Do not hangup the channel when the PBX is complete. */
unsigned int no_hangup_chan:1;
/*! Reuse existing pbx on the channel (used for arbitrarily jumping into dialplan) */
unsigned int use_existing_pbx:1;
};
};
};
@@ -1113,23 +1111,6 @@ void pbx_set_overrideswitch(const char *newval);
*/
int ast_goto_if_exists(struct ast_channel *chan, const char *context, const char *exten, int priority);
/*!
* \note This function will check the validity of a goto target, see
* if it's reachable given the current channel state, and save the
* parsed tokens to the given buffers.
*/
int ast_pbx_exten_parse(struct ast_channel *chan, const char *goto_target, struct ast_str *context, struct ast_str *exten, struct ast_str *priority, struct varshead *varshead);
/*!
* \note This function will run dialplan on a channel at context,exten,priority
*/
enum ast_pbx_result ast_pbx_exten_run_parseargs(struct ast_channel *chan, const char *gosub_args, int restore_dialplan_location);
/*!
* \note This function will run dialplan on a channel at context,exten,priority and set also ARG
*/
enum ast_pbx_result ast_pbx_exten_run(struct ast_channel *chan, const char *context, const char *exten, int priority, struct varshead *varshead, int restore_dialplan_location);
/*!
* \note This function will handle locking the channel as needed.
*/