diff options
author | markster <markster@f38db490-d61c-443f-a65b-d21fe96a405b> | 2005-06-18 17:13:01 +0000 |
---|---|---|
committer | markster <markster@f38db490-d61c-443f-a65b-d21fe96a405b> | 2005-06-18 17:13:01 +0000 |
commit | 0ca4f19509911881f89197fbbe39c721d4338341 (patch) | |
tree | 0a9c5802b82325c83a9378fc8ef141a7475986a8 /rtp.c | |
parent | 271908cfc802b5f1525c19f6d5e9e97fb5b869a2 (diff) |
Revert silly "sipura fix" which breaks RFC compatibility (bug #4549)
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@5935 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'rtp.c')
-rwxr-xr-x | rtp.c | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -1096,7 +1096,11 @@ int ast_rtp_senddigit(struct ast_rtp *rtp, char digit) rtpheader[0] = htonl((2 << 30) | (payload << 16) | (rtp->seqno++)); /* For the last three packets, set the duration and the end bit */ if (x == 2) { +#if 0 + /* No, this is wrong... Do not increment lastdigitts, that's not according + to the RFC, as best we can determine */ rtp->lastdigitts++; /* or else the SPA3000 will click instead of beeping... */ +#endif rtpheader[1] = htonl(rtp->lastdigitts); /* Make duration 800 (100ms) */ rtpheader[3] |= htonl((800)); |