diff options
author | Nicolas Thill <nico@openwrt.org> | 2005-05-17 07:07:21 +0000 |
---|---|---|
committer | Nicolas Thill <nico@openwrt.org> | 2005-05-17 07:07:21 +0000 |
commit | 0dd31c505bfbd943f6923e33a77ddadac6ddfeeb (patch) | |
tree | 14e4f7f49b1f38587ed83a5779de914d935d1890 | |
parent | 4c1eb55b24b5bf97dc07a00d3f863f295cf5bc45 (diff) | |
download | mtk-20170518-0dd31c505bfbd943f6923e33a77ddadac6ddfeeb.zip mtk-20170518-0dd31c505bfbd943f6923e33a77ddadac6ddfeeb.tar.gz mtk-20170518-0dd31c505bfbd943f6923e33a77ddadac6ddfeeb.tar.bz2 |
Add a patch from Enzo to fix an incompatibility between Asterisk and Sipura SPA-3000 VoIP adapter (and possibly others)
SVN-Revision: 919
-rw-r--r-- | openwrt/package/asterisk/patches/asterisk-1.0.7-sipura-rtp.patch | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/openwrt/package/asterisk/patches/asterisk-1.0.7-sipura-rtp.patch b/openwrt/package/asterisk/patches/asterisk-1.0.7-sipura-rtp.patch new file mode 100644 index 0000000..58a2e6b --- /dev/null +++ b/openwrt/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++)); + } |