aboutsummaryrefslogtreecommitdiffstats
path: root/rtp.c
diff options
context:
space:
mode:
authorkpfleming <kpfleming@f38db490-d61c-443f-a65b-d21fe96a405b>2005-07-14 23:58:36 +0000
committerkpfleming <kpfleming@f38db490-d61c-443f-a65b-d21fe96a405b>2005-07-14 23:58:36 +0000
commit723dd748ca185863ce4b52bc09762f5d8776d00e (patch)
tree78887bad86d6ced5c660d189426f7b5ed276a5e6 /rtp.c
parentaf70c4b702dfa60410c03b00af1d219c13ffcf32 (diff)
ensure we record the last seqno we transmitted (bug #4659)
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@6129 f38db490-d61c-443f-a65b-d21fe96a405b
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;
}