Move hold stuff to the setsubstate arrangement.
authorDamien Wedhorn <voip@facts.com.au>
Thu, 5 May 2011 20:46:49 +0000 (20:46 +0000)
committerDamien Wedhorn <voip@facts.com.au>
Thu, 5 May 2011 20:46:49 +0000 (20:46 +0000)
commite98ac1f0f42e5efdec23426c9a2f0d3c48563d62
tree7e9d96b074236dc8761c9b1c0998d415e547a05f
parent41bfc0c9e0af70552af1221158414086cd39acfb
Move hold stuff to the setsubstate arrangement.

skinny_hold moved to setsubstate_hold and skinny_unhold integrated into
setsubstate_connected. Removed sub->onhold and replaced with
SUBSTATE_HOLD.

Also fixed inbound call answering by queueing an AST_CONTROL_ANSWER on
answering a SUBSTATE_RINGIN sub (was a typo).

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