dect
/
asterisk
Archived
13
0
Fork 0
This repository has been archived on 2022-02-17. You can view files and clone it, but cannot push or open issues or pull requests.
asterisk/channels
mmichelson 76c8925c8f Merged revisions 194484 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
  r194484 | mmichelson | 2009-05-14 17:17:55 -0500 (Thu, 14 May 2009) | 24 lines
  
  Fix a race condition where a reinvite could trigger a 482 response.
  
  The loop detection/spiral detection code in chan_sip used the owner
  channel's state as a criterion for determining if the incoming INVITE
  is a looped request. The problem with this is that the INVITE-handling
  code happens in a different thread than the thread that marks the owner
  channel as being up. As a result, if a reinvite were to come in very quickly,
  say from another Asterisk on the same LAN, it was possible for the reinvite
  to arrive before the owner channel had been set to the up state.
  
  This patch corrects the problem by using the invitestate of the sip_pvt
  instead, since that can be guaranteed to be set correctly by the time
  the reinvite arrives. Since there is a switch statement further in the
  INVITE-handling code, the AST_STATE_RINGING state also checks the invitestate
  of the sip_pvt in case we should actually be treating the channel as if it were
  up already.
  
  (closes issue #12215)
  Reported by: jpyle
  Patches:
        12215_confirmed.patch uploaded by mmichelson (license 60)
  Tested by: lmadsen
........


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@194496 f38db490-d61c-443f-a65b-d21fe96a405b
2009-05-14 22:20:51 +00:00
..
h323 Make H.323 compile with FDLEAK detection code enabled 2009-04-29 23:06:56 +00:00
misdn Add outgoing_colp misdn.conf port parameter. 2009-05-14 22:03:49 +00:00
xpmr Merged revisions 159025 via svnmerge from 2008-11-25 05:02:11 +00:00
Makefile Fix module embedding for chan_h323. 2009-04-10 20:26:46 +00:00
chan_agent.c Convert the ast_channel data structure over to the astobj2 framework. 2009-04-24 14:04:26 +00:00
chan_alsa.c Merged revisions 182810 via svnmerge from 2009-03-18 02:28:55 +00:00
chan_bridge.c Convert the ast_channel data structure over to the astobj2 framework. 2009-04-24 14:04:26 +00:00
chan_console.c This is basically a complete rollback of r155401, as it was determined that 2008-11-25 01:01:49 +00:00
chan_dahdi.c add 'const' qualifiers in various places where they should have been 2009-05-12 13:59:35 +00:00
chan_gtalk.c Convert the ast_channel data structure over to the astobj2 framework. 2009-04-24 14:04:26 +00:00
chan_h323.c Make H.323 compile with FDLEAK detection code enabled 2009-04-29 23:06:56 +00:00
chan_iax2.c Fix a bug where a timer would be created but not acknowledged. 2009-05-06 17:38:51 +00:00
chan_jingle.c Fix some uninitialized memory notices that appeared under valgrind. 2009-04-10 18:02:44 +00:00
chan_local.c Convert the ast_channel data structure over to the astobj2 framework. 2009-04-24 14:04:26 +00:00
chan_mgcp.c Convert the ast_channel data structure over to the astobj2 framework. 2009-04-24 14:04:26 +00:00
chan_misdn.c Add outgoing_colp misdn.conf port parameter. 2009-05-14 22:03:49 +00:00
chan_nbs.c one more place I forgot 2008-05-22 17:50:40 +00:00
chan_oss.c Merged revisions 171187 via svnmerge from 2009-01-25 23:58:00 +00:00
chan_phone.c This commit introduces COLP/CONP and Redirecting party information into Asterisk. 2009-04-03 22:41:46 +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 Merged revisions 194484 via svnmerge from 2009-05-14 22:20:51 +00:00
chan_skinny.c Fix some uninitialized memory notices that appeared under valgrind. 2009-04-10 18:02:44 +00:00
chan_unistim.c Send DTMF frame before playing back audio. 2009-05-07 17:13:36 +00:00
chan_usbradio.c Janitor, use ARRAY_LEN() when possible. 2008-12-05 10:31:25 +00:00
chan_vpb.cc incorporates r159808 from branches/1.4: 2008-11-29 17:57:39 +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 add 'const' qualifiers in various places where they should have been 2009-05-12 13:59:35 +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 Merge ast_str_opaque branch (discontinue usage of ast_str internals) 2008-12-13 08:36:35 +00:00
iax2-parser.h Merged revisions 181340 via svnmerge from 2009-03-11 17:34:57 +00:00
iax2-provision.c - iax2-provision was not freeing iax_templates structure when unloading the chan_iax2.so module. 2008-12-03 19:25:30 +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 Fixed iax2 key rotation backwards compatibility 2009-02-13 20:11:55 +00:00
misdn_config.c Add outgoing_colp misdn.conf port parameter. 2009-05-14 22:03:49 +00:00
vcodecs.c (closes issue #13557) 2008-10-09 14:17:33 +00:00
vgrabbers.c free memory used by the x11 grabber when closing it. 2008-07-14 16:50:54 +00:00