Add setsubstate_onhook.
authorDamien Wedhorn <voip@facts.com.au>
Thu, 12 May 2011 07:25:52 +0000 (07:25 +0000)
committerDamien Wedhorn <voip@facts.com.au>
Thu, 12 May 2011 07:25:52 +0000 (07:25 +0000)
commitbdbb3a506f041789ef40755c1aa82072634cad5d
treefa0332d6d044c2e7cd793f930c0accf6e061f61d
parent475c264bd2d85703fd21b6f5fc05b79107ca8b0b
Add setsubstate_onhook.

Add the setsubstate_onhook to complete the initial substate handling
procedures. Added dumpsub(sub, forcehangup) which is the common way of
calling setsubstate_onhook. Dumpsub attempts to activate another sub
after setting the current one onhook.

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