Files
asterisk/main
Richard Mudgett ecd1f0eef5 chan_sip.c: Fix channel staging assertion failure.
The failing assertion ensures that the final snapshot gets generated so
CDR records can get finalized.  The only place where a channel staging
snapshot flag could be left set is in chan_sip.c:handle_request_bye().
The function could return before clearing the flag because the channel
could dissappear while the function had to have the channel unlocked.

* Fixed handle_request_bye() channel snapshot staging coverage area to not
have a return in the middle of it and be unable to clear the staging flag.

* Pushed the channel snapshot staging coverage area into
ast_rtp_instance_set_stats_vars() to ensure that the staging is not
interrutped.

* Made callers of ast_rtp_instance_set_stats_vars() not call it with any
channels or channel driver private locks held to eliminate the deadlock
potential.  The callers must hold references to the passed in channel and
rtp objects.

* Eliminated sip_hangup() trying to get the bridge peer.  It is futile at
this point because the channel could never be in a bridge.

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


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/12@412385 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2014-04-15 17:01:33 +00:00
..
2012-06-15 16:20:16 +00:00
2013-08-01 17:07:52 +00:00
2012-09-21 17:14:59 +00:00
2013-08-20 15:36:10 +00:00
2012-06-15 16:20:16 +00:00
2012-06-15 16:20:16 +00:00
2013-07-04 13:06:15 +00:00
2013-06-29 00:18:57 +00:00
2012-10-18 14:17:40 +00:00
2013-09-10 18:03:45 +00:00
2014-01-17 21:32:18 +00:00
2012-06-15 16:20:16 +00:00
2013-08-16 16:26:11 +00:00
2013-09-10 18:03:45 +00:00
2012-12-11 22:25:21 +00:00
2012-06-15 16:20:16 +00:00
2013-08-23 21:49:47 +00:00
2012-04-28 01:33:49 +00:00
2013-08-30 19:20:47 +00:00
2013-10-04 21:40:33 +00:00
2013-10-04 21:40:33 +00:00
2012-06-15 16:20:16 +00:00
2012-06-15 16:20:16 +00:00
2012-06-15 16:20:16 +00:00
2012-09-21 17:14:59 +00:00
2013-12-20 19:06:12 +00:00
2014-02-28 23:29:58 +00:00
2012-12-11 22:25:21 +00:00
2012-06-15 16:20:16 +00:00
2012-09-21 17:14:59 +00:00
2013-02-14 18:47:56 +00:00
2012-12-11 22:25:21 +00:00
2012-06-15 16:20:16 +00:00