Remove unnecessary generation of informational cause frames
authorKinsey Moore <kmoore@digium.com>
Fri, 6 Jul 2012 22:03:44 +0000 (22:03 +0000)
committerKinsey Moore <kmoore@digium.com>
Fri, 6 Jul 2012 22:03:44 +0000 (22:03 +0000)
commitdb59a3f12399fad704fb8977ab980f372c073068
treed49fc35070b46d5eb377d69bbba7e60a8e1027dd
parent49aa47171b03dd0425d7afa200e12870c1beddae
Remove unnecessary generation of informational cause frames

It is not necessary to generate information cause code frames on every
protocol event that occurs.  This removes all the instances where the
frame was not conveying a cause code and was instead just conveying a
protocol-specific message.  This also corrects the generation of the
message associated with disconnects for MFC/R2 to use the MFC/R2
specific text for the disconnect cause.

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@369765 65c4cc65-6c06-0410-ace0-fbb531ad65f3
channels/chan_dahdi.c
channels/chan_iax2.c
channels/sig_analog.c
channels/sig_pri.c
channels/sig_ss7.c