summaryrefslogtreecommitdiff
path: root/rtp.c
diff options
context:
space:
mode:
authorKevin P. Fleming <kpfleming@digium.com>2005-07-14 23:58:36 +0000
committerKevin P. Fleming <kpfleming@digium.com>2005-07-14 23:58:36 +0000
commit990bba90a7566ef910e52c8bd23fc2d68c6538db (patch)
tree78887bad86d6ced5c660d189426f7b5ed276a5e6 /rtp.c
parent1d731c6d2ad10cf3e40912c92aa917dd17f3e793 (diff)
ensure we record the last seqno we transmitted (bug #4659)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6129 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'rtp.c')
-rwxr-xr-xrtp.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/rtp.c b/rtp.c
index 37fca3851..2f2cc33a5 100755
--- a/rtp.c
+++ b/rtp.c
@@ -1137,6 +1137,10 @@ int ast_rtp_senddigit(struct ast_rtp *rtp, char digit)
have some 'dead air' in between them
*/
rtp->lastdigitts += 960;
+ /* Increment the sequence number to reflect the last packet
+ that was sent
+ */
+ rtp->seqno++;
return 0;
}