mirror of
git://projects.qi-hardware.com/openwrt-xburst.git
synced 2024-11-24 07:42:48 +02:00
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
This commit is contained in:
parent
76e09b69d8
commit
3704dddc0b
11
package/asterisk/patches/asterisk-1.0.7-sipura-rtp.patch
Normal file
11
package/asterisk/patches/asterisk-1.0.7-sipura-rtp.patch
Normal file
@ -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++));
|
||||
}
|
Loading…
Reference in New Issue
Block a user