]> git.ipfire.org Git - thirdparty/asterisk.git/commit
Issues with ISDN calls changing B channels during call negotiations.
authorRichard Mudgett <rmudgett@digium.com>
Mon, 4 Apr 2011 15:49:30 +0000 (15:49 +0000)
committerRichard Mudgett <rmudgett@digium.com>
Mon, 4 Apr 2011 15:49:30 +0000 (15:49 +0000)
commitcd24c868cbb8cd146f5d6324ea96922a1f0ccd3b
tree2bbd42ad9dc1d5eccbd12ffa1fc921c7c229e20d
parente7597d55df9dfff34decf287a27aab04513263b6
Issues with ISDN calls changing B channels during call negotiations.

The handling of the PROCEEDING message was not using the correct call
structure if the B channel was changed.  (The same for PROGRESS.) The call
was also not hungup if the new B channel is not provisioned or is busy.

* Made all call connection messages (SETUP_ACKNOWLEDGE, PROCEEDING,
PROGRESS, ALERTING, CONNECT, CONNECT_ACKNOWLEDGE) ensure that they are
using the correct structure and B channel.  If there is any problem with
the operations then the call is now hungup with an appropriate cause code.

* Made miscellaneous messages (INFORMATION, FACILITY, NOTIFY) find the
correct structure by looking for the call and not using the channel ID.
NOTIFY is an exception with versions of libpri before v1.4.11 because a
call pointer is not available for Asterisk to use.

* Made all hangup messages (DISCONNECT, RELEASE, RELEASE_COMPLETE) find
the correct structure by looking for the call and not using the channel
ID.

(closes issue #18313)
Reported by: destiny6628
Tested by: rmudgett
JIRA SWP-2620

(closes issue #18231)
Reported by: destiny6628
Tested by: rmudgett
JIRA SWP-2924

(closes issue #18488)
Reported by: jpokorny
JIRA SWP-2929

JIRA AST-437 (The issues fixed here are most likely causing this JIRA issue.)
JIRA DAHDI-406
JIRA LIBPRI-33 (Stuck resetting flag likely fixed)

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@312573 65c4cc65-6c06-0410-ace0-fbb531ad65f3
channels/chan_dahdi.c
configure
configure.ac
include/asterisk/autoconfig.h.in