Summary:ASTERISK-17112: [patch] Don't answer the incoming call until ready to bridge
Reporter:ianc (ianc)Labels:
Date Opened:2010-12-15 13:41:08.000-0600Date Closed:2011-01-26 17:41:57.000-0600
Versions:Frequency of
Environment:Attachments:( 0) 181_followme.diff
( 1) trunk_followme.diff
Description:followme() answers the incoming call if it hasn't been answered already and starts MOH. Poorly designed robocalls (ones that don't prompt for a keypress first, I guess) see the answer and start playing their message to the hold music.

This patch adds a 'N' option to followme (no answer), which causes asterisk to indicate ringing and not answer until it's ready to bridge the call. It will cause at least options 's' and 'a' to be ignored.
Comments:By: Tilghman Lesher (tilghman) 2010-12-15 14:00:15.000-0600

As this adds a new feature, it is not eligible for inclusion in the 1.8 branch, but must be made to trunk.  Please ensure that your patch applies cleanly against trunk.

By: ianc (ianc) 2010-12-15 16:53:25.000-0600

Oops, sorry.

New patch is against trunk, adds documentation for the option and fixes a MOH thing I missed with the first patch.

By: Digium Subversion (svnbot) 2011-01-26 17:41:56.000-0600

Repository: asterisk
Revision: 304384

U   trunk/apps/app_followme.c

r304384 | jpeeler | 2011-01-26 17:41:55 -0600 (Wed, 26 Jan 2011) | 13 lines

Add option to followme to delay answer until ready to bridge call.

Followme answers an incoming call if it hasn't already been answered and starts
MOH. Some poorly designed autodialers see the answer and start playing their
message to the hold music. The 'N' option has been added to indicate ringing and
not answer until the call is accepted.

(closes issue ASTERISK-17112)
Reported by: ianc
     trunk_followme.diff uploaded by ianc (license 998)