Cleanup: consolidate offhook (new call).
authorDamien Wedhorn <voip@facts.com.au>
Wed, 18 Aug 2010 21:34:27 +0000 (21:34 +0000)
committerDamien Wedhorn <voip@facts.com.au>
Wed, 18 Aug 2010 21:34:27 +0000 (21:34 +0000)
commit0e5b6069f44b7120ae41523b862fa0023099714b
treec7e2de3945a49cbab1537b8bf9c04b70ed348822
parent6a8c623ed25730bcb05cc67d9b663a64bdd09a82
Cleanup: consolidate offhook (new call).

Consolidates all offhook (new call with dialtone) to setsubstate_offhook. This should be roughly equivalent to existing code, although a couple of calls now run through the full offhook sequence rather than an abbreviated one.

(closes issue #17812)
Reported by: wedhorn
Patches:
      cleanup.stateoffhook.diff uploaded by wedhorn (license 30)
Tested by: salecha, wedhorn

Review: NA

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