asterisk/channels
David Vossel 23b6e621d2 chan_sip: RFC compliant retransmission timeout
Retransmission of packets should not be based on how many packets were
sent, but instead on a timeout period.  Depending on whether or not the
packet is for a INVITE or NON-INVITE transaction, the number of packets
sent during the retransmission timeout period will be different, so
timing out based on the number of packets sent is not accurate.

This patch fixes this by removing the retransmit limit and only stopping
retransmission after a timeout period is reached.  By default this
timeout period is 64*(Timer T1) for both INVITE and non-INVITE
transactions.  For more information on sip timer values refer to
RFC3261 Appendix A.

Review: https://reviewboard.asterisk.org/r/749/



git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@276219 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2010-07-13 22:18:38 +00:00
..
h323 Comment out a rule that likes to run implicitly unnecessarily, breaking builds 2010-06-03 14:48:09 +00:00
misdn Enhancements to connected line and redirecting work. 2010-05-17 15:36:31 +00:00
sip chan_sip: RFC compliant retransmission timeout 2010-07-13 22:18:38 +00:00
xpmr AST-2009-005 2009-08-10 19:20:57 +00:00
Makefile Extract sig_ss7 out of chan_dahdi. 2010-06-07 20:04:42 +00:00
chan_agent.c Implement AstData API data providers as part of the GSOC 2010 project, 2010-07-08 14:48:42 +00:00
chan_alsa.c fixes adaptive jitterbuffer configuration 2010-03-02 19:08:38 +00:00
chan_bridge.c Expand codec bitfield from 32 bits to 64 bits. 2009-11-04 14:05:12 +00:00
chan_console.c Fix an off by one error that causes a crash. 2010-05-13 15:36:12 +00:00
chan_dahdi.c Implement AstData API data providers as part of the GSOC 2010 project, 2010-07-08 14:48:42 +00:00
chan_gtalk.c Fix calls of ast_sockaddr_from_sin() from IPv6 integration. 2010-07-08 23:46:20 +00:00
chan_h323.c Fix calls of ast_sockaddr_from_sin() from IPv6 integration. 2010-07-08 23:46:20 +00:00
chan_iax2.c Get more information about the Bamboo test failures 2010-07-09 20:01:01 +00:00
chan_jingle.c Fix calls of ast_sockaddr_from_sin() from IPv6 integration. 2010-07-08 23:46:20 +00:00
chan_local.c Merged revisions 273793 via svnmerge from 2010-07-03 02:36:31 +00:00
chan_mgcp.c Add IPv6 to Asterisk. 2010-07-08 22:08:07 +00:00
chan_misdn.c Fix various typos reported by Lintian 2010-07-02 15:57:02 +00:00
chan_multicast_rtp.c Add IPv6 to Asterisk. 2010-07-08 22:08:07 +00:00
chan_nbs.c Missed these two channel drivers on the codec_bits merge 2009-11-06 19:38:33 +00:00
chan_oss.c Merged revisions 269495 via svnmerge from 2010-06-09 22:19:20 +00:00
chan_phone.c More 32->64 bit codec conversions. 2009-12-01 20:27:37 +00:00
chan_phone.h rename DialTone.h to chan_phone.h because chan_phone.c is the only file using it 2008-05-28 20:00:21 +00:00
chan_sip.c chan_sip: RFC compliant retransmission timeout 2010-07-13 22:18:38 +00:00
chan_skinny.c Add IPv6 to Asterisk. 2010-07-08 22:08:07 +00:00
chan_unistim.c Add support for devices with less than 3 lines on the LCD. 2010-07-10 14:44:18 +00:00
chan_usbradio.c Don't stop Asterisk if chan_usbradio isn't configured. 2010-06-03 17:31:41 +00:00
chan_vpb.cc Formats are inconsistent between even 32-bit and 64-bit Linux. Use casts to ensure both compile. 2010-01-21 15:14:55 +00:00
console_board.c import the recent additions for video console into trunk, 2008-06-29 21:17:14 +00:00
console_gui.c Const-ify the world (or at least a good part of it) 2009-05-21 21:13:09 +00:00
console_video.c (closes issue #13557) 2008-10-09 14:17:33 +00:00
console_video.h implement the 'freeze' function for incoming frames; 2008-06-30 15:45:15 +00:00
iax2-parser.c Informational message, not an error. 2010-01-28 20:00:09 +00:00
iax2-parser.h Expand codec bitfield from 32 bits to 64 bits. 2009-11-04 14:05:12 +00:00
iax2-provision.c AST-2009-005 2009-08-10 19:20:57 +00:00
iax2-provision.h Don't reload a configuration file if nothing has changed. 2007-08-16 21:09:46 +00:00
iax2.h Expand codec bitfield from 32 bits to 64 bits. 2009-11-04 14:05:12 +00:00
misdn_config.c Enhancements to connected line and redirecting work. 2010-05-17 15:36:31 +00:00
sig_analog.c Change expected operation from error to debug message 2010-06-17 15:34:08 +00:00
sig_analog.h The inalarm flag is not passed up from the sig_analog and sig_pri submodules. 2010-05-04 21:10:58 +00:00
sig_pri.c Merged revisions 272446 via svnmerge from 2010-06-24 22:11:26 +00:00
sig_pri.h Add digit manipulation tag support to chan_dahdi/sig_pri like chan_misdn. 2010-06-14 15:55:35 +00:00
sig_ss7.c Extract sig_ss7_init_linkset() to sig_ss7. 2010-06-14 20:51:09 +00:00
sig_ss7.h Extract sig_ss7_init_linkset() to sig_ss7. 2010-06-14 20:51:09 +00:00
vcodecs.c Const-ify the world (or at least a good part of it) 2009-05-21 21:13:09 +00:00
vgrabbers.c free memory used by the x11 grabber when closing it. 2008-07-14 16:50:54 +00:00