From da1033cad245fbad3570aab1b49ddba9eb010d6e Mon Sep 17 00:00:00 2001 From: martinp Date: Fri, 12 Sep 2003 16:51:35 +0000 Subject: 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: http://svn.digium.com/svn/asterisk/trunk@1499 f38db490-d61c-443f-a65b-d21fe96a405b --- include/asterisk/channel.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'include/asterisk/channel.h') diff --git a/include/asterisk/channel.h b/include/asterisk/channel.h index 815f882f4..f33bb62d3 100755 --- a/include/asterisk/channel.h +++ b/include/asterisk/channel.h @@ -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; -- cgit v1.2.3