projects
/
asterisk/asterisk.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
066d22a
)
Increment seqno in RTP in RFC2833 (bug #2902)
author
Mark Spencer
<markster@digium.com>
Fri, 19 Nov 2004 05:24:45 +0000
(
05:24
+0000)
committer
Mark Spencer
<markster@digium.com>
Fri, 19 Nov 2004 05:24:45 +0000
(
05:24
+0000)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@4293
65c4cc65
-6c06-0410-ace0-
fbb531ad65f3
rtp.c
patch
|
blob
|
history
diff --git
a/rtp.c
b/rtp.c
index
b33be20
..
8dc7a2f
100755
(executable)
--- a/
rtp.c
+++ b/
rtp.c
@@
-1073,6
+1073,8
@@
int ast_rtp_senddigit(struct ast_rtp *rtp, char digit)
rtpheader[3] |= htonl((800));
/* Set the End bit for the last 3 */
rtpheader[3] |= htonl((1 << 23));
+ } else if ( x < 3) {
+ rtpheader[0] = htonl((2 << 30) | (payload << 16) | (rtp->seqno++));
}
}
return 0;