From edf466012f4369bf910dbb8a85c163a36e9edd84 Mon Sep 17 00:00:00 2001 From: Richard Mudgett Date: Wed, 11 Jan 2012 21:56:12 +0000 Subject: [PATCH] Make FollowMe optionally update connected line information when the accepting endpoint is bridged. Like Dial and Queue, FollowMe needs to deal with AST_CONTROL_CONNECTED_LINE information so when the parties are initially bridged, the connected line information will be correct. * Added the 'I' option just like the app_dial and app_queue 'I' option. * Made 'N' option ignored if the call is already answered. (closes issue ASTERISK-18969) Reported by: rmudgett Tested by: rmudgett Review: https://reviewboard.asterisk.org/r/1656/ ........ Merged revisions 350364 from http://svn.asterisk.org/svn/asterisk/branches/1.8 ........ Merged revisions 350415 from http://svn.asterisk.org/svn/asterisk/branches/10 git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@350416 65c4cc65-6c06-0410-ace0-fbb531ad65f3 --- CHANGES | 8 ++ apps/app_dial.c | 4 +- apps/app_followme.c | 295 +++++++++++++++++++++++++++++++------------- 3 files changed, 220 insertions(+), 87 deletions(-) diff --git a/CHANGES b/CHANGES index b0eb2a5d4f..034320ac9f 100644 --- a/CHANGES +++ b/CHANGES @@ -95,6 +95,14 @@ Dialplan functions The MAILBOX_EXISTS dialplan function has been deprecated in favour of VM_INFO. +Followme changes +------------- + * A new option, 'I' has been added to app_followme. + By setting this option, Asterisk will not update the caller with + connected line changes when they occur. This is similar to app_dial + and app_queue. + * The 'N' option is now ignored if the call is already answered. + ------------------------------------------------------------------------------ --- Functionality changes from Asterisk 1.8 to Asterisk 10 ------------------- ------------------------------------------------------------------------------ diff --git a/apps/app_dial.c b/apps/app_dial.c index 2c7f50a9e5..1e06b28f1f 100644 --- a/apps/app_dial.c +++ b/apps/app_dial.c @@ -203,8 +203,8 @@ ASTERISK_FILE_VERSION(__FILE__, "$Revision$") Asterisk will ignore any forwarding requests it may receive on this dial attempt.