From 20e8c3b2d9150ed0bba02cfeb2e22e7c43e366c8 Mon Sep 17 00:00:00 2001 From: Daniel Golle Date: Wed, 21 Jul 2021 14:17:09 +0100 Subject: [PATCH] asterisk: update to version 18.5.0 and backport patch Update to upstream version 18.5.0 and backport commit[1] completing the announcements in Dial command to behave like it is stated in the documenation[2]. [1]: https://github.com/asterisk/asterisk/commit/1e5a2cfe3037823b17dd4ac47b071f02d6f9825f [2]: https://wiki.asterisk.org/wiki/display/AST/Asterisk+18+Application_Dial Signed-off-by: Daniel Golle --- net/asterisk/Makefile | 4 +- ...-A-option-to-add-caller-announcement.patch | 147 ++++++++++++++++++ 2 files changed, 149 insertions(+), 2 deletions(-) create mode 100644 net/asterisk/patches/090-app_dial-expanded-A-option-to-add-caller-announcement.patch diff --git a/net/asterisk/Makefile b/net/asterisk/Makefile index 269cd25..9348c8b 100644 --- a/net/asterisk/Makefile +++ b/net/asterisk/Makefile @@ -8,12 +8,12 @@ include $(TOPDIR)/rules.mk PKG_NAME:=asterisk -PKG_VERSION:=18.4.0 +PKG_VERSION:=18.5.0 PKG_RELEASE:=1 PKG_SOURCE:=asterisk-$(PKG_VERSION).tar.gz PKG_SOURCE_URL:=https://downloads.asterisk.org/pub/telephony/asterisk/releases -PKG_HASH:=91c0c35a0c53097647ab3e7b29d34dd0861fed0a8d52e3617408e9eced404db1 +PKG_HASH:=6266a2542ae50225fadf0a3eebb1d11e74b1d1d5cd767cd7b4ff4e65568e8f35 PKG_BUILD_DEPENDS:=libxml2/host diff --git a/net/asterisk/patches/090-app_dial-expanded-A-option-to-add-caller-announcement.patch b/net/asterisk/patches/090-app_dial-expanded-A-option-to-add-caller-announcement.patch new file mode 100644 index 0000000..bd20730 --- /dev/null +++ b/net/asterisk/patches/090-app_dial-expanded-A-option-to-add-caller-announcement.patch @@ -0,0 +1,147 @@ +From 1e5a2cfe3037823b17dd4ac47b071f02d6f9825f Mon Sep 17 00:00:00 2001 +From: Naveen Albert +Date: Fri, 21 May 2021 20:08:58 -0400 +Subject: [PATCH] app_dial: Expanded A option to add caller announcement + +Hitherto, the A option has made it possible to play +audio upon answer to the called party only. This option +is expanded to allow for playback of an audio file to +the caller instead of or in addition to the audio +played to the answerer. + +ASTERISK-29442 + +Change-Id: If6eed3ff5c341dc8c588c8210987f2571e891e5e +--- + apps/app_dial.c | 79 +++++++++++++++---- + doc/CHANGES-staging/app_dial_announcement.txt | 6 ++ + 2 files changed, 68 insertions(+), 17 deletions(-) + create mode 100644 doc/CHANGES-staging/app_dial_announcement.txt + +--- a/apps/app_dial.c ++++ b/apps/app_dial.c +@@ -93,11 +93,17 @@ + + + +-