From 2e750db1206215b8effcd5c2f43839c10ae621ae Mon Sep 17 00:00:00 2001 From: Mark Michelson Date: Mon, 17 Nov 2014 16:58:52 +0000 Subject: Allow for transferer to retry when dialing an invalid extension. This allows for a configurable number of attempts for a transferer to dial an extension to transfer the call to. For Asterisk 13, the default values are such that upgrading between versions will not cause a behaivour change. For trunk, though, the defaults will be changed to be more user-friendly. Review: https://reviewboard.asterisk.org/r/4167 ........ Merged revisions 428145 from http://svn.asterisk.org/svn/asterisk/branches/13 git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@428146 65c4cc65-6c06-0410-ace0-fbb531ad65f3 --- include/asterisk/features_config.h | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'include/asterisk/features_config.h') diff --git a/include/asterisk/features_config.h b/include/asterisk/features_config.h index 4476328cb..b15759ba6 100644 --- a/include/asterisk/features_config.h +++ b/include/asterisk/features_config.h @@ -68,6 +68,10 @@ struct ast_features_xfer_config { AST_STRING_FIELD(atxferthreeway); /*! DTMF sequence used to swap which party the transferer is talking to */ AST_STRING_FIELD(atxferswap); + /*! Sound played when an invalid extension is dialed, and the transferer should retry. */ + AST_STRING_FIELD(transferretrysound); + /*! Sound played when an invalid extension is dialed, and the transferer is being returned to the call. */ + AST_STRING_FIELD(transferinvalidsound); ); /*! Seconds allowed between digit presses when dialing transfer destination */ unsigned int transferdigittimeout; @@ -79,6 +83,8 @@ struct ast_features_xfer_config { unsigned int atxfercallbackretries; /*! Determines if the call is dropped on attended transfer failure */ unsigned int atxferdropcall; + /*! Number of dial attempts allowed for blind/attended transfers */ + unsigned int transferdialattempts; }; /*! -- cgit v1.2.3