[asterisk-dev] [Code Review] IAX2 retransmit with encryption enabled fix

Kevin P. Fleming kpfleming at digium.com
Wed Mar 11 16:23:31 CDT 2009


Tim Panton wrote:

> I realize that _strictly_ the iseq indicates all the packets that we
> have seen to date,
> but since it is only treated as an ack why would it be bad if
> re-transmit just re-sent the
> original packet unaltered (except for the retransmit bit flag - which
> isn't in the encrypted
> part of the packet) ?

Because that would cause the other end to retransmit anything it thought
this end had already received, and because the packets are encrypted,
those retransmits would not acknowledge the retransmitted packet we just
sent them.

-- 
Kevin P. Fleming
Digium, Inc. | Director of Software Technologies
445 Jan Davis Drive NW - Huntsville, AL 35806 - USA
skype: kpfleming | jabber: kpfleming at digium.com
Check us out at www.digium.com & www.asterisk.org



More information about the asterisk-dev mailing list