Add distinguishing between BUSY and FAILURE for outgoing spool calls. Always save CDR record (even if the call fails). If the call fails try to see if there is

"failed" extension in the specified context (only if you use context,extension,priority syntax) and execute it.


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@1499 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
Martin Pycko
2003-09-12 16:51:35 +00:00
parent 3672619e13
commit 4828759ab8
6 changed files with 130 additions and 14 deletions

View File

@@ -213,6 +213,9 @@ struct ast_channel {
/* Unique Channel Identifier */
char uniqueid[32];
/* Why is the channel hanged up */
int hangupcause;
/* A linked list for variables */
struct ast_var_t *vars;
AST_LIST_HEAD(varshead,ast_var_t) varshead;