From: Mark Michelson Date: Tue, 5 Jan 2010 18:46:19 +0000 (+0000) Subject: Add a missing part of the connected line work into trunk. X-Git-Tag: 11.0.0-beta1~3663 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=c9d1ffcae83d30ee387f47844930f1616d806485;p=thirdparty%2Fasterisk.git Add a missing part of the connected line work into trunk. Part of the work done for connected line was to add an optional argument to the 'f' option to allow for the connected party information of the outgoing channel to be set to the argument provided. This was overlooked during the merge of the work to trunk and is being added back now. The CHANGES file has also been updated to note this change. git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@237803 65c4cc65-6c06-0410-ace0-fbb531ad65f3 --- diff --git a/CHANGES b/CHANGES index e15f498d7c..cb35fa4cce 100644 --- a/CHANGES +++ b/CHANGES @@ -127,6 +127,10 @@ Applications * Page has a new option 'A(x)' which will playback an announcement simultaneously to all paged phones (and optionally excluding the caller's one using the new option 'n') before the call is bridged. + * The 'f' option to Dial has been augmented to take an optional argument. If no + argument is provided, the 'f' option works as it always has. If an argument is + provided, then the connected party information of all outgoing channels created + during the Dial will be set to the argument passed to the 'f' option. Dialplan Functions ------------------ diff --git a/apps/app_dial.c b/apps/app_dial.c index c24a566472..66e8bb8654 100644 --- a/apps/app_dial.c +++ b/apps/app_dial.c @@ -132,10 +132,13 @@ ASTERISK_FILE_VERSION(__FILE__, "$Revision$") Execute the h extension for peer after the call ends