[asterisk-commits] jbigelow: branch 12 r401578 - /branches/12/main/bridge_channel.c
SVN commits to the Asterisk project
asterisk-commits at lists.digium.com
Wed Oct 23 11:37:37 CDT 2013
Author: jbigelow
Date: Wed Oct 23 11:37:34 2013
New Revision: 401578
URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=401578
Log:
Add a test suite event to indicate when the atxfer 3-way feature is detected
This adds a test suite event that indicates to tests when the attended transfer
three-way call feature is detected.
Review: https://reviewboard.asterisk.org/r/2912/
Modified:
branches/12/main/bridge_channel.c
Modified: branches/12/main/bridge_channel.c
URL: http://svnview.digium.com/svn/asterisk/branches/12/main/bridge_channel.c?view=diff&rev=401578&r1=401577&r2=401578
==============================================================================
--- branches/12/main/bridge_channel.c (original)
+++ branches/12/main/bridge_channel.c Wed Oct 23 11:37:34 2013
@@ -1092,6 +1092,7 @@
#ifdef TEST_FRAMEWORK
char *feature = "unknown";
struct ast_featuremap_config *featuremap = ast_get_chan_featuremap_config(chan);
+ struct ast_features_xfer_config *xfer = ast_get_chan_features_xfer_config(chan);
if (featuremap) {
if (!strcmp(dtmf, featuremap->blindxfer)) {
@@ -1106,6 +1107,8 @@
feature = "automixmon";
} else if (!strcmp(dtmf, featuremap->parkcall)) {
feature = "parkcall";
+ } else if (!strcmp(dtmf, xfer->atxferthreeway)) {
+ feature = "atxferthreeway";
}
}
More information about the asterisk-commits
mailing list