asterisk-11.x-chan-dongle: support E1752 and refresh patches
authorDaniel Golle <daniel@makrotopia.org>
Wed, 24 Jun 2015 19:08:16 +0000 (21:08 +0200)
committerDaniel Golle <daniel@makrotopia.org>
Thu, 8 Oct 2015 13:18:32 +0000 (15:18 +0200)
Signed-off-by: Daniel Golle <daniel@makrotopia.org>
net/asterisk-11.x-chan-dongle/Makefile
net/asterisk-11.x-chan-dongle/patches/001-add-send-ussd.patch
net/asterisk-11.x-chan-dongle/patches/050-add-E1752-to-seven_bit_modems.patch [new file with mode: 0644]
net/asterisk-11.x-chan-dongle/patches/051-bump-package-revision.patch [new file with mode: 0644]
net/asterisk-11.x-chan-dongle/patches/100-fix-audio-on-big-endian-systems.patch

index c00711e5009fcbdb2559823010e6280d00dee1f8..9fb409d899a8643f64363197a8dc9bfe0a04eb79 100644 (file)
@@ -10,7 +10,7 @@ include $(TOPDIR)/rules.mk
 PKG_NAME:=asterisk11-chan-dongle
 PKG_VERSION:=1.1r35
 PKG_REV:=28a46567a88cebdc365db6f294e682246fd2dd7b
-PKG_RELEASE:=5
+PKG_RELEASE:=6
 
 PKG_SOURCE_SUBDIR:=asterisk11-chan-dongle-$(PKG_VERSION)
 PKG_SOURCE:=$(PKG_SOURCE_SUBDIR).tar.gz
index 4ea41b15fccba0e223566343b15c1a20b737ebd7..bc59bf927c15676983b77393091d36afaf7c4892 100644 (file)
@@ -1,6 +1,6 @@
 --- a/app.c
 +++ b/app.c
-@@ -114,7 +114,44 @@
+@@ -114,7 +114,44 @@ static int app_send_sms_exec (attribute_
        return !status;
  }
  
@@ -45,7 +45,7 @@
  
  static const struct dongle_application
  {
-@@ -144,7 +181,15 @@
+@@ -144,7 +181,15 @@ static const struct dongle_application
                "  Message  - text of the message\n"
                "  Validity - Validity period in minutes\n"
                "  Report   - Boolean flag for report request\n"
diff --git a/net/asterisk-11.x-chan-dongle/patches/050-add-E1752-to-seven_bit_modems.patch b/net/asterisk-11.x-chan-dongle/patches/050-add-E1752-to-seven_bit_modems.patch
new file mode 100644 (file)
index 0000000..a2c490c
--- /dev/null
@@ -0,0 +1,19 @@
+From da5cd41e8554eaf1133f85282c253da2c74ff7eb Mon Sep 17 00:00:00 2001
+From: "bg_one@mail.ru" <bg111@users.noreply.github.com>
+Date: Fri, 6 Sep 2013 19:37:05 +0000
+Subject: [PATCH] added E1752 to seven_bit_modems
+
+---
+ at_response.c | 1 +
+ 1 files changed, 1 insertions(+), 0 deletion(-)
+
+--- a/at_response.c
++++ b/at_response.c
+@@ -1590,6 +1590,7 @@ static int at_response_cgmm (struct pvt*
+               "E171",
+               "E153",
+               "E156B",
++              "E1752",
+       };
+       ast_copy_string (pvt->model, str, sizeof (pvt->model));
diff --git a/net/asterisk-11.x-chan-dongle/patches/051-bump-package-revision.patch b/net/asterisk-11.x-chan-dongle/patches/051-bump-package-revision.patch
new file mode 100644 (file)
index 0000000..3d85dd6
--- /dev/null
@@ -0,0 +1,20 @@
+From da5cd41e8554eaf1133f85282c253da2c74ff7eb Mon Sep 17 00:00:00 2001
+From: "bg_one@mail.ru" <bg111@users.noreply.github.com>
+Date: Fri, 6 Sep 2013 19:37:05 +0000
+Subject: [PATCH] added E1752 to seven_bit_modems
+
+---
+ configure.in  | 2 +-
+ 1 files changed, 1 insertions(+), 1 deletion(-)
+
+--- a/configure.in
++++ b/configure.in
+@@ -2,7 +2,7 @@ dnl init
+ dnl AC_REVISION($Revision: 1.30 $)
+ AC_PREREQ([2.60])
+ AC_INIT([chan_dongle],[1.1],[http://code.google.com/p/asterisk-chan-dongle/issues/list],[chan_dongle],[http://code.google.com/p/asterisk-chan-dongle])
+-PACKAGE_REVISION="34"
++PACKAGE_REVISION="35"
+ AC_CANONICAL_TARGET
+ AM_INIT_AUTOMAKE
+ AC_CONFIG_HEADERS([config.h])
index 3fc546d3f02922116ce5f69519d7b625af830657..a6b1c07961ce61e357d20f52a02ede3bc950001b 100644 (file)
@@ -1,7 +1,5 @@
-Index: asterisk11-chan-dongle-1.1r35/channel.c
-===================================================================
---- asterisk11-chan-dongle-1.1r35.orig/channel.c
-+++ asterisk11-chan-dongle-1.1r35/channel.c
+--- a/channel.c
++++ b/channel.c
 @@ -495,6 +495,19 @@ again:
        }
  }