[asterisk-commits] rmudgett: branch group/v14_colp r167529 - in /team/group/v14_colp: funcs/ inc...
SVN commits to the Asterisk project
asterisk-commits at lists.digium.com
Wed Jan 7 13:48:34 CST 2009
Author: rmudgett
Date: Wed Jan 7 13:48:33 2009
New Revision: 167529
URL: http://svn.digium.com/view/asterisk?view=rev&rev=167529
Log:
Merged from:
https://origsvn.digium.com/svn/asterisk/be/branches/C.2...
..........
r167525 | rmudgett | 2009-01-07 13:29:05 -0600 (Wed, 07 Jan 2009) | 6 lines
* Added AST_CONNECTED_LINE_UPDATE_SOURCE_TRANSFER_ALERTING support.
* Added some clarification comments to
enum AST_CONNECTED_LINE_UPDATE_SOURCE values.
* Deprecated AST_CONNECTED_LINE_UPDATE_SOURCE_DIVERSION since that is
the purpose of the REDIRECTING updates.
Modified:
team/group/v14_colp/funcs/func_connectedline.c
team/group/v14_colp/include/asterisk/callerid.h
team/group/v14_colp/main/callerid.c
Modified: team/group/v14_colp/funcs/func_connectedline.c
URL: http://svn.digium.com/view/asterisk/team/group/v14_colp/funcs/func_connectedline.c?view=diff&rev=167529&r1=167528&r2=167529
==============================================================================
--- team/group/v14_colp/funcs/func_connectedline.c (original)
+++ team/group/v14_colp/funcs/func_connectedline.c Wed Jan 7 13:48:33 2009
@@ -196,9 +196,9 @@
"The allowable datatypes are:\n"
"\"all\", \"name\", \"num\", \"ton\", \"pres\", and \"source\"\n"
"The source datatype can be set to the following:\n"
- "answer - Normal Call Answering\n"
- "diversion - Call Diversion\n"
- "transfer - Call Transfer\n",
+ "answer - Normal Call Answering\n"
+ "transfer_alerting - Call Transfer(Alerting)\n"
+ "transfer_active - Call Transfer(Active)\n",
.read = connectedline_read,
.write = connectedline_write,
};
Modified: team/group/v14_colp/include/asterisk/callerid.h
URL: http://svn.digium.com/view/asterisk/team/group/v14_colp/include/asterisk/callerid.h?view=diff&rev=167529&r1=167528&r2=167529
==============================================================================
--- team/group/v14_colp/include/asterisk/callerid.h (original)
+++ team/group/v14_colp/include/asterisk/callerid.h Wed Jan 7 13:48:33 2009
@@ -380,8 +380,9 @@
enum AST_CONNECTED_LINE_UPDATE_SOURCE {
AST_CONNECTED_LINE_UPDATE_SOURCE_UNKNOWN, /* Update for unknown reason (May be interpreted to mean from answer) */
AST_CONNECTED_LINE_UPDATE_SOURCE_ANSWER, /* Update from normal call answering */
- AST_CONNECTED_LINE_UPDATE_SOURCE_DIVERSION, /* Update from call diversion */
- AST_CONNECTED_LINE_UPDATE_SOURCE_TRANSFER /* Update from call transfer */
+ AST_CONNECTED_LINE_UPDATE_SOURCE_DIVERSION, /* Update from call diversion (Deprecated, use REDIRECTING updates instead.) */
+ AST_CONNECTED_LINE_UPDATE_SOURCE_TRANSFER, /* Update from call transfer(active) (Party has already answered) */
+ AST_CONNECTED_LINE_UPDATE_SOURCE_TRANSFER_ALERTING /* Update from call transfer(alerting) (Party has not answered yet) */
};
int ast_connected_line_source_parse(const char *data);
Modified: team/group/v14_colp/main/callerid.c
URL: http://svn.digium.com/view/asterisk/team/group/v14_colp/main/callerid.c?view=diff&rev=167529&r1=167528&r2=167529
==============================================================================
--- team/group/v14_colp/main/callerid.c (original)
+++ team/group/v14_colp/main/callerid.c Wed Jan 7 13:48:33 2009
@@ -1269,10 +1269,12 @@
/*! \brief Translation table for connected line update source settings */
static const struct ast_value_translation connected_line_source_types[] = {
/* *INDENT-OFF* */
- { AST_CONNECTED_LINE_UPDATE_SOURCE_UNKNOWN, "unknown", "Unknown" },
- { AST_CONNECTED_LINE_UPDATE_SOURCE_ANSWER, "answer", "Normal Call Answering" },
- { AST_CONNECTED_LINE_UPDATE_SOURCE_DIVERSION, "diversion", "Call Diversion" },
- { AST_CONNECTED_LINE_UPDATE_SOURCE_TRANSFER, "transfer", "Call Transfer" }
+ { AST_CONNECTED_LINE_UPDATE_SOURCE_UNKNOWN, "unknown", "Unknown" },
+ { AST_CONNECTED_LINE_UPDATE_SOURCE_ANSWER, "answer", "Normal Call Answering" },
+ { AST_CONNECTED_LINE_UPDATE_SOURCE_DIVERSION, "diversion", "Call Diversion (Deprecated, use REDIRECTING)" },
+ { AST_CONNECTED_LINE_UPDATE_SOURCE_TRANSFER, "transfer_active", "Call Transfer(Active)" },
+ { AST_CONNECTED_LINE_UPDATE_SOURCE_TRANSFER, "transfer", "Call Transfer(Active)" },/* Old name must come after new name. */
+ { AST_CONNECTED_LINE_UPDATE_SOURCE_TRANSFER_ALERTING, "transfer_alerting", "Call Transfer(Alerting)" }
/* *INDENT-ON* */
};
More information about the asterisk-commits
mailing list