From: Russell Bryant Date: Wed, 21 Mar 2018 19:54:48 +0000 (-0400) Subject: app_originate: Add async option. X-Git-Tag: 16.0.0-rc1~204^2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=75715b95b442d861251e51b2c46cbda0f320617d;p=thirdparty%2Fasterisk.git app_originate: Add async option. Add an option to make app_originate not wait for the created channel to answer. Change-Id: I7fc2facd77079abc6321f44e8bcd4e39298de2ae Requested-by: Frederic Steinfels Signed-off-by: Russell Bryant --- diff --git a/CHANGES b/CHANGES index 09a7659d46..ac50a6dc9f 100644 --- a/CHANGES +++ b/CHANGES @@ -17,6 +17,13 @@ app_fax * The app_fax module is now deprecated, users should migrate to the replacement module res_fax. +app_originate +------------------ + * An 'a' option has been added to the Originate dialplan application which + will execute the originate in an asynchronous fashion. If set then the + application will return immediately without waiting for the originated + channel to answer. + Build System ------------------ * MALLOC_DEBUG no longer has an effect on Asterisk's ABI. Asterisk built diff --git a/apps/app_originate.c b/apps/app_originate.c index 30fa565bea..107be846da 100644 --- a/apps/app_originate.c +++ b/apps/app_originate.c @@ -74,6 +74,10 @@ static const char app_originate[] = "Originate"; +