Consolidate setsubstate_* into setsubstate and use a switch.
authorDamien Wedhorn <voip@facts.com.au>
Thu, 12 May 2011 20:44:21 +0000 (20:44 +0000)
committerDamien Wedhorn <voip@facts.com.au>
Thu, 12 May 2011 20:44:21 +0000 (20:44 +0000)
commitc37c017781e794916f657ec20afe887758484a6c
tree7f272267d0dfa1c1c4fb40f2717b21bd9ed36aad
parentbdbb3a506f041789ef40755c1aa82072634cad5d
Consolidate setsubstate_* into setsubstate and use a switch.

Consolidate the functions and add some debugging info. Allows to be
able to set a substate without explicitly knowing what the state is.

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@318635 65c4cc65-6c06-0410-ace0-fbb531ad65f3
channels/chan_skinny.c