summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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;
}