aboutsummaryrefslogtreecommitdiffstats
path: root/package/asterisk
diff options
context:
space:
mode:
authorNicolas Thill <nico@openwrt.org>2005-05-17 07:07:21 +0000
committerNicolas Thill <nico@openwrt.org>2005-05-17 07:07:21 +0000
commit28266c1a1fce343dd8720823738d358e3e1f3a1d (patch)
treeccc28b1a2b17d76e983742644faa82b82f970f75 /package/asterisk
parentfe43906dd086d0f3e0386b74c034e29f8ce23344 (diff)
downloadupstream-28266c1a1fce343dd8720823738d358e3e1f3a1d.tar.gz
upstream-28266c1a1fce343dd8720823738d358e3e1f3a1d.tar.bz2
upstream-28266c1a1fce343dd8720823738d358e3e1f3a1d.zip
Add a patch from Enzo to fix an incompatibility between Asterisk and Sipura SPA-3000 VoIP adapter (and possibly others)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk/openwrt@919 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package/asterisk')
-rw-r--r--package/asterisk/patches/asterisk-1.0.7-sipura-rtp.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/package/asterisk/patches/asterisk-1.0.7-sipura-rtp.patch b/package/asterisk/patches/asterisk-1.0.7-sipura-rtp.patch
new file mode 100644
index 0000000000..58a2e6b12a
--- /dev/null
+++ b/package/asterisk/patches/asterisk-1.0.7-sipura-rtp.patch
@@ -0,0 +1,11 @@
+diff -ruN asterisk-1.0.7-old/rtp.c asterisk-1.0.7-new/rtp.c
+--- asterisk-1.0.7-old/rtp.c 2005-01-19 03:33:54.000000000 +0100
++++ asterisk-1.0.7-new/rtp.c 2005-05-16 19:40:02.000000000 +0200
+@@ -1048,6 +1048,7 @@
+ rtpheader[3] |= htonl((800));
+ /* Set the End bit for the last 3 */
+ rtpheader[3] |= htonl((1 << 23));
++ rtpheader[1] = htonl(++(rtp->lastts)); /* added for Sipura SPA-3000 compat. */
+ } else if ( x < 5) {
+ rtpheader[0] = htonl((2 << 30) | (payload << 16) | (rtp->seqno++));
+ }