diff --git a/channels/chan_sip.c b/channels/chan_sip.c index 2bb5a6396c..d9270851b1 100644 --- a/channels/chan_sip.c +++ b/channels/chan_sip.c @@ -12573,8 +12573,8 @@ static void initreqprep(struct sip_request *req, struct sip_pvt *p, int sipmetho } else { /* Even if we are using RPID, we shouldn't leak information in the From if the user wants * their callerid restricted */ - l = CALLERID_UNKNOWN; - n = l; + l = "anonymous"; + n = CALLERID_UNKNOWN; d = FROMDOMAIN_INVALID; } } diff --git a/res/res_rtp_asterisk.c b/res/res_rtp_asterisk.c index 53216a21bb..5bafae292a 100644 --- a/res/res_rtp_asterisk.c +++ b/res/res_rtp_asterisk.c @@ -1589,9 +1589,7 @@ static void process_dtmf_rfc2833(struct ast_rtp_instance *instance, unsigned cha new_duration = (new_duration & ~0xFFFF) | samples; if (event_end & 0x80) { - /* End event. Absorb re-transmits, and account for some endpoints - * that erroneously increment the timestamp during re-transmissions */ - if ((seqno != rtp->last_seqno) && (timestamp > rtp->last_end_timestamp + 320)) { + if ((seqno != rtp->last_seqno) && (timestamp > rtp->last_end_timestamp)) { rtp->last_end_timestamp = timestamp; rtp->dtmf_duration = new_duration; rtp->resp = resp;