From: Jeff Peeler Date: Thu, 9 Apr 2009 19:10:02 +0000 (+0000) Subject: Add ability for dialplan execution to continue when caller hangs up. X-Git-Tag: 11.0.0-beta1~5083 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=de4af72f9f3bb2a8697c18345239a777bcbc40ca;p=thirdparty%2Fasterisk.git Add ability for dialplan execution to continue when caller hangs up. The F option to app_dial has been modified to accept no parameters and perform the above functionality. I don't see anywhere else that is doing function overloading, but this really is the best place for this operation because: - It makes it close to the 'g' option in the argument list which provides similar functionality. - The existing code to support the current F option provides a very convienient location to add this new feature. (closes issue #12381) Reported by: michael-fig git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@187491 65c4cc65-6c06-0410-ace0-fbb531ad65f3 --- diff --git a/CHANGES b/CHANGES index 9397ae1047..1c7e5c982f 100644 --- a/CHANGES +++ b/CHANGES @@ -24,6 +24,8 @@ Applications * Added progress option to the app_dial D() option. When progress DTMF is present, those values are sent immediatly upon receiving a PROGRESS message regardless if the call has been answered or not. + * Added functionality to the app_dial F() option to continue with execution + at the current location when no parameters are provided. Dialplan Functions ------------------ diff --git a/apps/app_dial.c b/apps/app_dial.c index f2cea75d2e..8a2e152d63 100644 --- a/apps/app_dial.c +++ b/apps/app_dial.c @@ -133,6 +133,10 @@ ASTERISK_FILE_VERSION(__FILE__, "$Revision$") When the caller hangs up, transfer the called party to the specified destination and continue execution at that location. +